Workflow Continues after Lifecycle is Cancelled
I have been trying numerous things to get my workflow to cancel with the Lifecycle. However, I seem to get the same result. Lifecycle is cancelled but the users can still vote on the workflow.
I have tried going into the specific workflow process instance that is generated from the "workflow map" view within the project. That pops up the warning message that "once cancelled it cannot be undone". However once again i return to the project just to see the vote active and the workflow continues.
How do i get the two to synchronize. I have read through three different configuration class manuals and still haven't found the answer.
NOTE: Just to be fully transparent my C# skills are minimal to null. (i can read and understand but cannot write them). So any help would be greatly appreciated.
Thank you in advance
Jennifer
Instead of deleting the active workflow, it would be safer for the process owner to use the Cancel Workflow button on the workflow process you want to end.
The Cancel Workflow action:
- Changes the Workflow Process state to Cancelled.
- Stops workflow progression and prevents additional workflow activities from being activated.
- Removes active assignments from users' in-baskets.
You can confirm that the cancellation succeeded by checking the signoffs from the workflow process or the work item. All tasks should show a state of "Closed" or "Cancelled".
Note that cancelling the workflow does not change the lifecycle state of the work item, so you will still need to manually promote it to a cancelled state if you haven't already.
If this is not a one-off situation and you may cancel workflows as part of your business processes, I'd recommend adding a Cancel activity to your workflow map so an assigned user/identity could vote to cancel the workflow from any appropriate stage of the process. This would make it easier to trace the history of the workflow, and you could configure a promotion on the Cancel activity to automatically sync the lifecycle state.
The screenshot below shows how this works on the OOTB Express ECO workflow map.