Suspend
This is a Process Developer extension activity. When you save the process, a message appears informing you that the process contains an activity that is not in the BPEL specification.
The suspend activity suspends a running process. This activity is useful for catching unexpected faults to allow manual intervention for viewing and correcting errors. The optional variable attribute can be used to attach data to an alert which both automatic and programmatic suspends can trigger.
You can perform process exception management on a suspended process. Using the Process Console, you can conveniently view the location of a faulting activity.
To build a suspend activity:
- 1. Drag a Suspend task to the Process Editor canvas.
You can add a background color to the suspend task.
- 2. Add the activity to an appropriate container, such as a fault handler's catch or catchAll activity, or link another activity to it.
The following illustration shows an example of using the suspend activity.
XML Syntax
<suspend variable="NCName"? standard-attributes>
standard-elements
</suspend>
Example
<catchAll>
<extensionActivity>
<ext:suspend/>
</extensionActivity>
</catchAll>