Process Manager User's Guide

CHAPTER 7

Runtime Administration of Processes

This chapter discusses the use of the Process Server Console to manage deployed processes.

 
Top of page

Server Console Usage

From the Composer Enterprise Server main console page (shown below), click the "Process Console" icon in the top row of buttons:

7MainConsole

NOTE:   Composer Enterprise Server and the Process Server should be installed and running on your application server prior to attempting to access these consoles.

After clicking the Process Console button, a new screen should appear in a new browser window, as shown in the section below. Notice the presence of four tabs (Main, Statistics, Status, and Log). These tabs are discussed in the sections to follow.

 
Top of section

Process Manager Console: Main Tab

The console's Main tab reveals a screen comprised of the following sections:

Each of these sections is described below:

6Console1

Process Statistics Summary

The Process Statistics Summary section displays the count of Active, Cached, and Completed processes. The latter refers to the number of process instances that have run since the Process Server was started (i.e., the Start date given in the next section), whether they ended in success or a fault of some kind.

Process Engine Info

The Process Engine Info section shows whether the process engine is running and, if it is running, the date and time at which it was started. If the process engine is running, the Process Engine Status is "Running" and the button below is labeled "Stop Engine." If the process engine is not running, the Process Engine Status is "Suspended" and the button below is labeled "Start Engine."

Process Database Info

The Process Database Info section displays general information regarding the process database. (See the first few pages of this guide, as well as the product Release Notes, for information on setting up this database.) This is the database Process Manager uses to persist "state data" for long-running processes.

Jump to Process

The Jump to Process section of the main console enables you to display the status of a specific process by entering the ID of the process and pressing the Go button.

Delete Process Info

Process records can be completely deleted via the Delete Process Info section. You may delete all information for process instances that were terminated (e.g. completed or otherwise terminated) by a specified date. To do this, enter the "Terminated By" date and press the Delete button. For example, if you enter 2002-02-01 and press the Delete button, all records for process instances completed or otherwise terminated on or February 1, 2002 will be permanently deleted.

NOTE:   When a process finishes running or is manually terminated, only the process instance's input documents and output documents will be maintained. Any interim documents created by the process instance will be purged, automatically, upon termination of the process instance.

Manage Activity Queues

You may administer activity queues by pressing Manage Activity Queues button on the Main tab. Doing so will display a page with two tabs that provide queue statistics and queue status.

Queue Statistics

The Queue Statistics tab displays a table that contains a sorted list of addresses in the activity queue and a count of the work items assigned to that addressee. These statistics are automatically refreshed every 60 seconds.

6ProcessActivityQueueStatistics

Queue Status

The Queue Status tab (see illustration below) displays a table with the following columns:

6ProcessActivityQueueStatus

The PID column contains hot links to the Process Detail info for the process instances. (This will open in a new browser window.) The Process Detail windows are discussed in a later section.

If the activity does not have a timeout, the Expires column is blank.

If the Activity has been locked via the Lock Waiting Activity Action, the Owner column displays the name of the Owner of the Locked Activity and the Lock Until column displays the date to which the activity has been locked. If the Activity does not have a Lock, the Owner and Lock Until fields are blank.

Optionally, you may filter Queue Status by Addressee by entering an Addressee name. You may also choose to display only those activities that were queued within a specific range of dates by entering the range of dates in the From and To fields.

Navigation

The Queue Status tab, like other Composer Process Manager Console pages, displays up to twenty (20) records per page. If there are more than 20 records, a controls at the bottom the page allow you to move to the first page, the previous page, the next page, or the last page.

Process Manager Console: Statistics Tab

The Process Manger Console's Statistics tab provides a list of all processes and a count of Running and Completed process instances for each process. (See below.) On the Totals line at the bottom, you will see (from left to right) the total number of Processes (not process instances, but different process models), Running process instances, and Completed process instances. The processes are listed alphabetically by name on the left. Each name is a hot link that will take you to a Status page listing a status table filtered by the process name.

6console2

 
Top of section

Process Manager Console: Status Tab

The Process Manager Console's Status tab gives you a view of the overall execution status of all processes, filterable by process name and date range, with control over which field to sort by. The filter controls are at the bottom of the page.

As always, 20 result lines are displayed at a time. To page through the available results, click the First, Prev, Next, or Last links at the lower right corner of the page.

This view is not updated in real time. Therefore, a Refresh button is provided near the bottom right corner.

6ProcessStatusConsole

Process ID and Parent ID numbers are clickable links. You can "drill down" on a specific process instance by clicking the appropriate Process ID link. Clicking a link will open a new browser window in which the Process Detail page, described later, is presented.

Status Filter

The Status Filter control group (bottom of page) allows you to control how processes are displayed in the Status tab view. You can choose, for example, to display process instances for a specific named process using the Process drop-down control.

Using the Sort By control, you can sort the list of displayed processes by Process Name, Process ID, the Create Date/Time, the Modify Date/Time or the Status.

By entering dates in the From and To fields, you can display processes that were started and, optionally, completed within a specified range of dates. Check the Include Completed check box if you want to display records of finished processes.

After selecting your filter options, press the Refresh button to display a new list of processes based on your current Filter and Sort settings.

 
Top of section

Process Manager Console: Log Tab

The Process Manager Console's Log tab displays log messages in the following format, sorted by Date and Time:

6LogTab

You may filter the view of the log by clicking on the checkboxes at the bottom of the page:

7LogCheckboxes

After making your desired choices, press the Refresh button.

 
Top of section

Detail View for a Process Instance

When you click a link for a process instance (such as any of the links in the ID column of the Status Tab in the main process console), you will see an Activity Detail view for that process instance pop open in a new browser window. (Using multiple browser windows, you can monitor multiple process instances simultaneously.)

The detail viewfor a process instance has three tabs: Activities Detail, Messages and Log.

6ProcessActivityDetailConsole

Process Detail: Activities Detail Tab

Activities Detail is the first tab on the detail page and is the default view when the window first opens.

In this tab, you'll see the Name, ID, Start Date/Time, Completed Date/Time, and Status of the individual activities that comprise the process instance. The process instance will be listed as either Running or Complete. If the process is running, buttons will be present enabling you to Suspend or Terminate the running process instance.

The columns in the Activities Detail tab view have the following meanings.:

Activity

This is the name of the Activity. The Activity names are hyperlinked to the Activity Data Monitor. The Activity Data Monitor displays Input and Output documents and their data values.

Activity Type

This is the type of activity – Web Service, Subprocess, Composer Component or End Point.

Started

This is the date and time when the activity started.

Completed

This is the date and time when the activity was completed.

Status

This column displays the Status of the activity.


Completed

After the associated operation has completed, continuation of the activity depends on its exit condition. If this evaluates to false, the activity is iterated, by either continuing with `enabled' or `running' depending on the associated operation. If the exit conditions evaluates to true, the activity reaches the `Completed' state.


Running

The Activity's state once it is started.


Terminated

The Acvity's status when the process completes before the Activity.


Enabled

The flow engine decides that this activity instance could now possibly be executed and puts it into the `Enabled' state. Depending on the nature of the activity and its associated operation, it might remain in that state until it is started through an explicit requests (e.g. for in or in-out operations), or the flow engine will start it right away (e.g. for out or out-in requests).

Process Detail: Messages

The Messages tab gives you a view of the process instance's messages (i.e., input and output documents). The messages are sorted by name.

7MessagesTab

The Messages tab displays the following information:

Message Name

The name of the message.

Message Type

The message type may be either Input or Output

Creation Time

The time the message was created.

View Text

The View Text link displays the message in a new browser window, as shown below.

6ProcessDetailMsgViewText

Process Detail: Log

The Log tab summarizes logged events of various types. See below.

7ProcessInstanceLogTab

At the bottom of the window (scroll down as necessary), you'll find checkboxes that you can use to control the types of events summarized in the table.

7LogFilterBoxes

Select the checkboxes of interest, then click the Refresh button to bring up a listing of logged events (appropriately filtered).




Copyright © 2004 Novell, Inc. All rights reserved. Copyright © 1997, 1998, 1999, 2000, 2001, 2002, 2003 SilverStream Software, LLC. All rights reserved.  more ...