Conductor Script Commands
298 iPlanet Integration Server Process System Guide August 200 1
RollbackActivity
The RollbackActivity command changes the state of the specified activity from
ACTIVE to READY.
RollbackActivity process_id activity_name
The RollbackActivity command is available only when an engine is current, so
you must first use the FindEngine Script command to set the current engine.
The RollbackActivity command does not apply to activities that do not pass
through READY state, such as SubProcess, First, and Last activities.
When you issue the RollbackActivity command, the engine performs the
following actions:
Discards pending process attribute updatesrolls back changes that were
made in performing the activity and frees locks on process attributes
Changes the activity state from ACTIVE to READY
Posts an ActivityListUpdate event to all sessions associated with the activity
If the activity is an offered activity, the engine reassigns it to sessions based on
the activitys assignment rules
If the activity is a queued activity, the engine places it back on the queue to
which it was assigned
If the activity is an automatic activity, the engine automatically places it in
ACTIVE state, and re-evaluates the AutoAction expression for the activity.
RollbackTransaction
The RollbackTransaction command rolls back (undoes) an in-progress iIS engine
transaction (that is, one in a PREPARE phase). For details on two-phase commit
operations, see Monitoring and Managing Two-Phase Commit on page199.
Argument Description
process_id The process instance in which the activity was created.
activity_name The name of the activity.