
Introduction
Figure 6-1 Activity State Transitions—from Creation to Termination
Activity State
PENDING
READY
ACTIVE
COMPLETED
ABORTED
Process Execution Step
Activity referenced by router of another activity
Engine activates timer controls, if any.
Engine executes Trigger method.
If Trigger method returns TRUE, Engine executes Ready method, if any.
Ready method finishes
Engine activates timer controls, if any.
Engine offers activity to sessions/queues (offered or queued activity).
Client accepts activity
Engine activates timer controls, if any. Engine executes OnActive* method, if any. Client (or engine) performs activity.
Client completes or aborts activity
Engine activates timer controls, if any. Engine executes OnComplete method, if any. Engine executes OnComplete router methods.
Engine executes OnAbort method, if any. Engine executes OnAbort router methods.
*If an OnActive method returns TRUE, execution contines normally. If an OnActive method returns FALSE, then the activity is aborted.