Monitoring and Managing Process Execution

from ACTIVE to READY

You might do this because the person working on an activity cannot complete it and you want it to be reoffered to other users. All process attributes are unlocked and rolled back to the values they had when the activity was first offered.

from PENDING or READY to ABORTED

You might do this because some condition has arisen that precludes the completion of the activity and you want the OnAbort routing, if any, to take place. If there are no OnAbort routers or if all OnAbort routers return FALSE, the activity is simply aborted and any locked process attributes are unlocked.

from ACTIVE to ABORTED

You might do this because some condition has arisen that precludes the completion of the activity and you want the OnAbort routing, if any, to take place. If there are no OnAbort routers or if all OnAbort routers return FALSE, not only is the activity itself aborted, but the whole process instance is aborted.

You cannot abort an ACTIVE synchronous subprocess activity—the activity is waiting for a subprocess to either complete or abort.

CAUTION Use caution when aborting an ACTIVE activity.

To change the state of an activity

1.Open the property inspector for the activity whose state you want to change. See Step 1 and Step 2 under “Checking the Status of an Activity” on page 185.

2.Click the Set State button.

The Set Activity State window displays, with the current state filled in.

Chapter 6 Managing Process Execution 187

Page 187
Image 187
Sun Microsystems 3 manual To change the state of an activity