Process Instances
- A BPEL4WS workflow is like a class.
- An instance is created when an activity (receive)
occurs which has
createInstance="yes"
.
- Every workflow must have at least one such start
activity.
- If more than one, they must be correlated using a
correlationset
.
- The instance dies when either
- It reaches the end of the workflow.
- It raises a fault.
- It is terminated by
<terminate>
- A compensationHandler is called.
José M. Vidal
.
21 of 28