Managing Process Execution with Conductor Script

Monitoring and Managing Process Execution

There are a number of situations where you are likely to want to monitor or intervene in process execution to resolve problems. Depending on the situation, you might wish to take some of the actions described in the following paragraphs.

Managing Process Instances

To check the status of a process instance

1.Use the FindEngine command to make a particular engine current

2.Use the ListProcesses command to display a list of process instances in the current engine.

3.Use the CreateFilter command to filter the list of process instances, if desired.

4.Use the ListProcesses command to display a list of filtered process instances.

5.Use the ShowProcess command to display information about a particular process instance.

The output shows information about the activities, timers, and process attributes of the process instance (see Figure 6-2 on page 180). You can get further information about these objects using their corresponding Show command.

To abort a process instance

1.Display a list of process instances as described in Step 1 through Step 4 above.

2.Use the AbortProcess or AbortAllProcesses command, depending on whether you wish to abort a specific process instance or all process instances.

Managing Activity Instances

To check the status of an activity instance

1.Use the FindEngine command to make a particular engine current

2.Use the ListActivities command to display a list of process instances in the current engine.

3.Use the CreateFilter command to filter the list of activities, if desired.

4.Use the ListActivities command to display a list of filtered activities.

252 iPlanet Integration Server • Process System Guide • August 2001

Page 252
Image 252
Sun Microsystems 3 Monitoring and Managing Process Execution, Managing Process Instances, Managing Activity Instances