Now I got 1 PR stucked with "Cancelled" status.
Normally, after Workflow batch run, the status change to draft and then we can submit the workflow.
However, for this particular workflow, it stuck with "Cancelled" status.
*This post is locked for comments
i have some problem like you dsin, how step bye step to fix this problem? help me please.
Dear Jonathan,
Thank you very much :-)
Hi. There is no code in the batch job itself, but in the event handlers for the workflow type you are using. For Purchase Requisitions you need to look at: PurchReqWFTypeEventHandler in the canceled method.
I suspect in your case though that somebody has actually cancelled an approved requisition due to them no longer requiring it. This is not part of workflow and you should be able to reset this to draft.
I hope this helps
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,232 Super User 2024 Season 2
Martin Dráb 230,064 Most Valuable Professional
nmaenpaa 101,156