Tablet Accessory User Manual

Conductor Script Commands
276 iPlanet Integration Server Process System Guide August 2001
CompleteActivity
The CompleteActivity command completes the specified activity, putting it in
COMPLETED state.
CompleteActivity process_id activity_name
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 updatessaves changes that were made in
performing the activity and frees locks on process attributes associated with
the activity
evaluates the activitys OnComplete method, if one is specified
evaluates the activitys OnComplete router methods
checks for a process stall conditionwhen all other activity instances are either
COMPLETED or PENDING (no activities are in ACTIVE or READY state) and
no timers are activeand 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.
Argument Description
process_id The process instance in which the activity was created.
activity_name The name of the activity.