Hello!
I created a WokrflowType that automatically created two menu actions : submit & cancel. It Also created three classes: SubmitManager, EventHandler and document.
then i created WorkflowApproval that automatically creates 5 menu actions: approve,delegate,reject,request change & resubmit. It also created two classes: ResubmitActionManager & ApprovalEventHandler.
Now when i submit the workflow, i'll get 5 options which are approve,reject,request change,delegate & cancel.
Every button works except the cancel one. i get this error
"Could not find workflow work item action for the selected menu item"
how can i solve this? i want when i click it, the workflow status changes to cancel.