Define a Condition for Process Termination
In the Conditions tab, you can specify a condition to terminate the process without its execution being complete.
You can use events on any stage or activity within the process as a part of your condition. For detailed steps to create a condition, see Define Conditions for a Stage.
When a process is terminated, all Active stages and activities within the process are also terminated.