Chapter 2 Process Instances Netscape Application Server: Process Automation Edition (PAE) provides several forms for managing process instance and work item data. You can get a listing of all that match a set of criteria, you can administer a specific process instance or work item, and you can get statistics on both process instances and work items. This chapter describes these topics:
Netscape Application Server: Process Automation Edition (PAE) provides several forms for managing process instance and work item data. You can get a listing of all that match a set of criteria, you can administer a specific process instance or work item, and you can get statistics on both process instances and work items.
About Process Instances and Work Items
Managing Process Instances
Managing Work Items
This section includes these topics:
Finding Process Instances
The Process Instances List
Administering a Process Instance
Viewing Details and History
Go to Process Business Manager at http://yourServer/Business.apm.
Click the Process Instances tab. The Find Process Instances page is displayed.
You can enter search criteria for process instances (for details, see the next section, Finding Process Instances):
by application
by user
by initiation and modification date
by state
Click Find when you have entered your criteria to display a list showing all matching process instances.
Figure 2.1    The Find Process Instances page
From application. Select "Any Application" or a specific application from the drop-down list.
Initiated by user. Enter the user ID of a Process Express end user.
Initiated between. Enter a from and to range of dates formatted as mm/dd/yyyy [hh:mi:ss]. Note that this field uses a 24-hour clock.
Last modified between. Enter a from and to range of dates formatted as mm/dd/yyyy [hh:mi:ss]. Note that this field uses a 24-hour clock.
With the state. Select "Open State" or a specific state from the drop-down list.
Figure 2.2    The Process Instances List
(State Icon): An icon indicating whether the process instance is currently running (normal orange activity icon), suspended (dimmed out), completed (green), or terminated (X).
Process Instance: The name of the process instance, such as Joe's Timeoff Request. This name is a link to the Display Process Instance page for that process instance. (For details, see the next section, Administering a Process Instance.)
Note: If the application is in the Testing stage, all process instances are renamed to the user ID of their initiator.
ID: The process instance ID number. With parallel processing applications, there may be multiple work items for a single process instance ID.
Application: The application that the process instance belongs to.
Priority: The priority level for the current activity. The default value is 3.
Current Work Items: The work items that are currently active. There may be several for a parallel processing application. If the item is an exception handler or a subprocess, a specific icon is displayed. For example, the last work item in Figure 2.2 is a subprocess. The work item is a link to the Display Work Item page.
Work Item Due Date: The date when the current activity is due to expire. Items that have already expired or that are about to expire show warning icons next to them. An alert triangle warns of an imminent expiration. A flag indicates a process instance with an already expired activity.
Click the link for a specific process instance in the Process Instances List page. The Display Process Instance page is displayed.
Choose one or more actions for that process instance.
Click Perform Actions when you are done. Figure 2.3    The Display Process Instance page
Figure 2.3    The Display Process Instance page
Click the radio button that reflects your choice:
Do not change
Suspend (suspend the process instance and all of its constituent work items)
Resume (resume a suspended process instance and any of its work items that are suspended to their previous state)
Terminate (abnormally terminate the process instance) If you choose this option, you must select the exit point you want to use as the designated termination activity. This automatically terminates its constituent work items. You can select any exit point in the process map to terminate a process instance.
Click Perform Actions to change the state.
Click the Process Instances tab.
Enter search criteria and click Submit.
Click a process instance link on the Process Instances List. This displays the Display Process Instance page.
Click the View Details & History link in the heading at the top of the page. This displays the details and history for that process instance.
Close the window when you are done. Figure 2.4    The Details and History page
Figure 2.4    The Details and History page
Finding Work Items
The Work Item List
Administering a Work Item
Click the Search on Work Items link. The Find Work Items page is displayed.
You can enter search criteria for work items (for details, see the next section, Finding Work Items):
by expiration date
Click Find when you have entered your criteria to display a list showing all matching work items.
Figure 2.5    The Find Work Items page
Assigned to user. Enter the user ID of a Process Express end user.
Expired between. Enter a from and to range of dates formatted as mm/dd/yyyy [hh:mi:ss]. Note that this field uses a 24-hour clock. This applies only to the work items of open process instances.
Show only work items that have expired. This checkbox allows you to limit the listing to only those work items that have expired. This applies only to the work items of open process instances.
With the state. Select "Any State" or a specific state from the drop-down list.
Figure 2.6    The Work Items List page
(State Icon): An icon indicating whether the work item is currently available (orange activity icon) or suspended (dimmed out).
Work Item: The name of the work item. This name is a link to the Display a Work Item page for that work item. (For details, see the next section, Administering a Work Item.)
ID: The ID number for the process instance that this work item belongs to.
Application: The display name of the application for which this work item was created.
Activity Name: The name of the activity that the work item performs, as defined in Process Builder.
Due Date: The date when the current work item is due to expire. Items that have already expired or that are about to expire show warning icons next to them. An alert triangle warns of an imminent expiration. A flag indicates a work item with an already expired activity.
Click the link for a specific work item in the Work Item List page. This displays the Display a Work Item page for that work item.
Choose one or more actions for that work item.
Click Perform Actions when you are done. Figure 2.7    The Display and Administer a Work Item page
Figure 2.7    The Display and Administer a Work Item page
change the work item's state
extend the current activity's expiration date (only displayed when the activity has already been flagged as expired)
move the current activity to a different activity
delegate the current activity to another user
Suspend (suspend the work item)
Resume (resume a suspended work item to its previous state)
Enter the new expiration date in the format MM/DD/YY [hh:mm:ss]. The date or time must be in the future.
Click Perform Actions to extend the work item's due date.
Choose an activity from the drop-down list. Process Business Manager only displays the activities that are defined for this process instance.
Click Perform Actions to change the activity.
If you know the user ID for the person or group to whom you want to reassign the work item, enter it here.
If you do not know the user ID or group ID, click on the Find User icon. This displays the Find User page. Figure 2.8    The Find User page
Figure 2.8    The Find User page
Enter a partial name and click Search. This displays a second Find User page that lists all matching user IDs.
Select a user from the displayed list and click Select. This returns you to the Display and Administer a Work Item page.
Click Perform Actions to delegate the activity.