Suspend process pattern
The following pattern table explains the features of the suspend process pattern:
Signature |
Suspend Process Pattern |
Classification |
Correlation Pattern |
Intent |
To suspend an already executing process instance. |
Motivation |
Based on the process status or business logic, there are requirements to suspend an already running process instance and then to resume it from the point it was suspended or maybe to start from the next activity from the point it was suspended. |
Applicability |
When a suspend process occurs, the regular flow of the process will be suspended and the BPM engine will run the process flow in the event subprocess. |
Implementation |
We can use the event subprocess to suspend an existing process. We can resume the process flow by assigning Resume to a predefined variable, Action. Resume will resume the suspended process flow. However, if we want to advance the process flow to the next activity in the process flow that caught the suspension... |