Introduction

Figure 6-1Activity 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.

164 iPlanet Integration Server • Process System Guide • August 2001

Page 164
Image 164
Sun Microsystems 3 manual Activity State