Tablet Accessory User Manual

Conductor Script Commands
282 iPlanet Integration Server Process System Guide August 2001
The DelegateActivity command is only available when an engine is current. Use
the
FindEngine Script command to set the current engine.
The DelegateActivity command is used to hand off the work associated with an
offered activity to someone else: one or more delegated users. The delegated
activity must be in READY or ACTIVE state before the
DelegateActivity
command is used. If the activity is in ACTIVE state, any open attributes are
updated as necessary, the accessor is closed, and the activitys state is changed to
READY. The activity is then offered to sessions as permitted by the delegation
assignment rule.
The user_name and other_info arguments must be supplied if required by the
delegation assignment rule. For example, if a delegation rule named ManagerOf
looks for the manager of the delegator, then the delegators user name and other
info (in this case the managers name) would be passed to the ManagerOf
assignment rule. This behavior is similar in functionality to the linked activity
mechanism described in the iIS Process Development Guide.
Once the delegated user has completed (or aborted) the activity, process execution
continues as specified in the process definition.
state The state of the activity instance to be delegated (READY or
ACTIVE).
delegation_rule The assignment rule used to assign the activity to sessions, that is,
to delegated users.
user_name The user name, if any, required by the delegation_rule. If this
argument is not required, place a null argument in quotation
marks (““).
other_info Otherinfo string of the user name passed to the delegation_rule, if
any.
NOTE The state parameter is used to confirm that the current state of the
activity is what you expect when you issue the
DelegateActivity
command. If the state has changed, the engine does not execute the
command.
Argument Description