I have this workflow:
It's a simply workflow with three approver, I want that when third approve reject workflows and other approver resumit this flow it start again with approve one.
At this moments if approver 3 reject workflow it send to second approve and when second resumit, it sended to third but I want if somebody resubmit the workflow starts again.
Now I cancel workflow and start again but It create a new workflow and I want to continue with the same.
WorkflowCancelManager::cancelWorkflows(WorkflowCancelManager::getWorkflowsToCancel(_args.caller()), initialNote);
workflowCorrelationId = Workflow::activateFromWorkflowType(workflowTypeName, recId, initialNote, NoYes::No);
is there any way for when a resubmit the workflow start with the same flow?
Thanks
*This post is locked for comments
Sorry I cant find any condition based on the approval result. Could someone post the exact condition name?
I have the same problem. When the third or second line Manager decline, the worker has to resubmit it and the wf should start from new and go to the first line manager and not to the one which decline.
You don't Need Code. If you add a conditional block (condition based on the approval's result) you can draw links to different steps. technet.microsoft.com/.../jj618308.aspx
Hi Kris,
Can you provide the exact place to write code to go back to the 1st approval after rejection?
You can set conditions inside the approval element of the workflow, also, you can add a conditional element where you can set what the workflow will take as the next step when a condition is met or not. For example, if rejected, it will go back to approver one.
I suggest using the condition element.
Hi Javier have you tried setting up steps in the approval node? Rather than having 3 individual nodes if you level down you should be able to add a new step by dragging in 'new step'Doing it this way will allow a rejected cost to go back to the start of the approval process.
.
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,188 Super User 2024 Season 2
Martin Dráb 230,030 Most Valuable Professional
nmaenpaa 101,156