Forum Discussion

Jlosawyer66's avatar
Jlosawyer66
Ideator I
10 months ago
Solved

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 ha...
  • eli_donahue's avatar
    21 days ago

    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.