Conductor Script Commands

ConsultActivity process_id activity_id state consultation_rule return_rule [user_name1 [other_info1] [user_name2 [other_info2]]]

Argument

Description

 

 

process_id

The process instance in which the activity was created.

activity_id

The activity instance to be delegated.

state

The state of the activity instance to be delegated (READY or

 

ACTIVE).

consultation_rule The assignment rule used to hand off the activity to consulted

 

sessions.

return_rule

The assignment rule used to return the activity to delegating

 

users.

user_name1

The user name, if any, required by the consultation_rule. If this

 

argument is not required, put a null argument enclosed in

 

double quotes (““).

other_info1

Otherinfo string of the user name passed to the

 

consultation_rule, if any. If this argument is not required, put a

 

null argument enclosed in double quotes (““).

user_name2

The user name if any, required by the return_rule.

other_info2

Otherinfo string of the user name passed to the return_rule, if

 

any.

 

 

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

The ConsultActivity command is used to hand off the work associated with an offered activity to someone else, one or more consulted users, who then return it to one or more originating users. The activity must be in READY or ACTIVE state before the ConsultActivity command is used. If the activity is in an ACTIVE state, any open attributes are updated as necessary, the accessor is closed, and the activity’s state is changed to READY. The activity is offered to sessions as permitted by the consultation assignment rule.

NOTE The state parameter is used to confirm that the current state of the activity is what you expect when you issue the ConsultActivity command. If the state has changed, the engine does not execute the command.

Appendix A Conductor Script Commands 277

Page 277
Image 277
Sun Microsystems 3 manual Activity instance to be delegated