Cancelling a Process

Lean how to cancel a process in this topic.

You can allow your users to cancel a process at any step of the process. The system is returned to the state it was in before the process is called. To do this you need to bind the command cancelProcess to the Process action template of a menu or button. Then call the dispatch condition $.getCommand('command')='CancelProcess' on a process step to allow the user to cancel the process.

The following screenshot shows the configuration of a button to cancel a process.

Binding the CancelProcess command to a Process action template of the button.

The following screenshot shows the configuration of the dispatch rule on a process step to cancel the process.

For information on assigning an action to the Process action template, see Process. For more information on dispatching, see Dispatching.