Conductor Script Commands

CompleteActivity

The CompleteActivity command completes the specified activity, putting it in COMPLETED state.

CompleteActivity process_id activity_name

ArgumentDescription

process_id

The process instance in which the activity was created.

activity_name The name of the activity.

The CompleteActivity command is only available when an engine is current. Use the FindEngine Script command to set the current engine.

When you issue the CompleteActivity command, the engine performs the following actions:

commits pending process attribute updates—saves changes that were made in performing the activity and frees locks on process attributes associated with the activity

evaluates the activity’s OnComplete method, if one is specified

evaluates the activity’s OnComplete router methods

checks for a process stall condition—when all other activity instances are either COMPLETED or PENDING (no activities are in ACTIVE or READY state) and no timers are active—and aborts the process if a stall condition is detected

deletes the COMPLETED activity

ConsultActivity

The ConsultActivity command hands off the specified offered activity to other users using the specified consultation assignment rule. A consulted session returns the activity using an assignment rule specified by the return_rule.

276 iPlanet Integration Server • Process System Guide • August 2001

Page 276
Image 276
Sun Microsystems 3 manual CompleteActivity, ConsultActivity