Conductor Script Commands

Conductor Script Commands

The following is a listing of all Conductor Script commands.

AbortActivity

The AbortActivity command aborts the specified activity, placing it in the ABORTED state.

AbortActivity process_id activity_name

ArgumentDescription

process_id The process instance in which the activity was created.

activity_name The name of the activity.

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

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

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

evaluates the activity’s OnAbort method, if one is specified in the process definition

evaluates the activity’s OnAbort routing methods—if none are specified, the engine by default aborts the process

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 ABORTED activity

Appendix A Conductor Script Commands 273

Page 273
Image 273
Sun Microsystems 3 manual Conductor Script Commands, AbortActivity