Understanding BPEL Process Life Cycle
A BPEL process instance has a beginning, middle, and end, which are all defined by activities. The process must begin with one of the following:
- •Receive activity
- •Pick activity (with an onMessage event)
- •Flow or Sequence activity containing one or more Receive or Pick activities
In a Receive or Pick, the Create Instance property must be set to Yes. The middle of the process consists of activities, running in sequence or concurrently.
The process instance ends in one of the following ways:
- •An activity defines that the process is complete
- •A fault reaches a process scope, and the process exits