Suspend activity pattern
The following pattern table explains the features of the suspend activity pattern:
Signature |
Suspend Activity Pattern |
Classification |
Correlation Pattern |
Intent |
To suspend an already executing process activity or subprocess. |
Motivation |
Based on the process status or business logic, there are requirements to suspend an already running process activity or subprocess, 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 suspended process happens, the regular flow of the process will be suspended and the BPM engine will run the alternative sequence flow. After running a task in an alternative sequence flow, the BPM runtime checks the value of the predefined variable action. If the value of the predefined variable action is Resume or Send, it resumes the main process flow and cancels the event handler sequence flow. |
Implementation |
To suspend an activity... |