
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
•evaluates the activity’s OnComplete method, if one is specified
•evaluates the activity’s OnComplete router methods
•checks for a process stall
•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.