9-12 Monitor Users Guide
9-12 Monitor Users Guide
Version 9.12
October 2016
This document applies to webMethods Monitor Version 9.12 and to all subsequent releases.
Specifications contained herein are subject to change and these changes will be reported in subsequent release notes or new editions.
Copyright © 2007-2016 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or
its affiliates and/or their licensors.
The name Software AG and all Software AG product names are either trademarks or registered trademarks of Software AG and/or
Software AG USA Inc. and/or its subsidiaries and/or its affiliates and/or their licensors. Other company and product names mentioned
herein may be trademarks of their respective owners.
Detailed information on trademarks and patents owned by Software AG and/or its subsidiaries is located at
h p://softwareag.com/licenses.
Use of this software is subject to adherence to Software AG's licensing conditions and terms. These terms are part of the product
documentation, located at h p://softwareag.com/licenses and/or in the root installation directory of the licensed product(s).
This software may include portions of third-party products. For third-party copyright notices, license terms, additional rights or
restrictions, please refer to "License Texts, Copyright Notices and Disclaimers of Third Party Products". For certain specific third-party
license restrictions, please refer to section E of the Legal Notices available under "License Terms and Conditions for Use of Software AG
Products / Copyright and Trademark Notices of Software AG Products". These documents are part of the product documentation, located
at h p://softwareag.com/licenses and/or in the root installation directory of the licensed product(s).
Table of Contents
Concepts........................................................................................................................................... 9
About webMethods Monitor......................................................................................................10
Architecture and Workflow........................................................................................................10
Data You Can Monitor..............................................................................................................11
Monitoring Flow and Coded Services............................................................................... 12
Monitoring Documents.......................................................................................................12
Monitoring webMethods-Executed Process Instances......................................................12
Monitoring Externally Executed Processes....................................................................... 13
Monitoring Integration Processes......................................................................................13
Monitoring Dynamically-Invoked Processes......................................................................13
About the Monitor User Interface............................................................................................. 13
Monitor Administration Tasks............................................................................................ 14
Monitoring Tasks................................................................................................................14
Archiving Data.......................................................................................................................... 15
Configuring Monitor.......................................................................................................................17
Overview................................................................................................................................... 18
Identifying the Integration Servers to Be Monitored.................................................................19
Identifying the My webMethods Server that Hosts the Monitor User Interface.........................20
Configuring Database Connection Retries............................................................................... 20
Configuring Central User Management....................................................................................20
Verifying the Configuration of Central User Management in Integration Server................ 21
Adding My webMethods Users to the Monitor ACLs........................................................ 22
Customizing How Monitor Sets Up ACLs When Using Central User Management...........22
Granting Users Access to Monitor........................................................................................... 23
Configuring Access to Monitor Pages, Actions, and Data................................................ 23
Granting Users Access to Monitor Pages.........................................................................23
Granting Users the Ability to Perform Monitor Actions..................................................... 24
Identifying the Audit Data on Which Users Can Perform Actions..................................... 25
How Data-Level Security Works with Functional Privileges.......................................25
Enabling Data-Level Security.....................................................................................26
Identifying Processes, Services, and/or Documents on Which a Role Can Act......... 26
Audit Data Archiving and Deletion in Monitor.......................................................................... 27
Preliminary Requirements................................................................................................. 28
Configuring Archive Settings.................................................................................................... 28
Configuring the Archive Database.................................................................................... 28
Service Monitoring.........................................................................................................................33
Document Monitoring....................................................................................................................41
About the Documents Search Page.........................................................................................42
Finding Logged Documents Using Keywords.......................................................................... 42
Finding Logged Documents Using an Advanced Search.........................................................43
Viewing Detailed Information for a Document..........................................................................46
Resubmitting a Document........................................................................................................ 46
Process Monitoring....................................................................................................................... 49
Working with the Process Instances Page...............................................................................50
Finding Process Instances Using Keywords..................................................................... 50
Finding Process Instances Using an Advanced Search................................................... 51
Customizing the Process Instance Search Options..........................................................52
Viewing Detailed Information for a Process Instance...............................................................53
About Process Instance Statuses..................................................................................... 53
Process Instance Detailed Information............................................................................. 55
Setting the Priority for User Tasks in a Process Instance........................................................64
Path Forecasting for a Process Instance................................................................................. 65
About Path Forecasting.....................................................................................................65
Configuring Your System to Path Forecasting for a Process Instance..............................66
Viewing Estimated Data for a Forecast Path.................................................................... 66
Viewing Detailed Information for a Process Step.....................................................................67
About Process Instance Step Statuses.............................................................................67
Viewing Steps Within a Subprocess................................................................................. 69
Viewing a Call Activity Step.............................................................................................. 70
Process Step Detailed Information....................................................................................70
About Subprocess Detailed Information.....................................................................73
About Subprocess and Call Activity Duration Time................................................... 74
Viewing KPI Data for Process Instances................................................................................. 74
Viewing KPI Data Associated with a Process Step................................................................. 75
Stopping, Suspending, or Resuming a Process Instance........................................................ 75
Updating a Process Instance to a New Model Version............................................................76
About Resubmitting Process Instances and Process Steps.................................................... 76
Enabling Your System to Resubmit Processes.................................................................77
Requirements for Submitting Process Instances.............................................................. 77
Resubmittal Behavior in the Run Time............................................................................. 78
Resubmitting Processes from a Step and Optionally Editing Pipeline Information............78
Example Resubmittal Use Cases......................................................................................79
Unhandled Exception................................................................................................. 80
Handled Exceptions....................................................................................................80
Archive Tables..............................................................................................................................135
Overview................................................................................................................................. 136
Process Archive Tables.......................................................................................................... 136
Server Archive Tables.............................................................................................................138
Service Archive Tables........................................................................................................... 139
Document Archive Tables.......................................................................................................139
This guide includes information about how to setup and use webMethods Monitor to
monitor business processes, services, and documents; how to work with process models
that are in your production environment; and how to archive audit data from the IS
Core Audit Log and Process Audit Log database components. Access the webMethods
Monitor functions described in this guide using the My webMethods user interface.
Document Conventions
Convention Description
Italic Identifies variables for which you must supply values specific to
your own situation or environment. Identifies new terms the first
time they occur in the text.
{} Indicates a set of choices from which you must choose one. Type
only the information inside the curly braces. Do not type the { }
symbols.
... Indicates that you can type multiple options of the same type.
Type only the information. Do not type the ellipsis (...).
Online Information
Software AG Documentation Website
You can find documentation on the Software AG Documentation website at h p://
documentation.softwareag.com. The site requires Empower credentials. If you do not
have Empower credentials, you must use the TECHcommunity website.
Software AG TECHcommunity
You can find documentation and other technical information on the Software AG
TECHcommunity website at h p://techcommunity.softwareag.com. You can:
Access product documentation, if you have TECHcommunity credentials. If you do
not, you will need to register and specify "Documentation" as an area of interest.
Access articles, code samples, demos, and tutorials.
Use the online discussion forums, moderated by Software AG professionals, to
ask questions, discuss best practices, and learn how other customers are using
Software AG technology.
Link to external websites that discuss open standards and web technology.
1 Concepts
■ About webMethods Monitor ......................................................................................................... 10
■ Architecture and Workflow ........................................................................................................... 10
■ Data You Can Monitor ................................................................................................................. 11
■ About the Monitor User Interface ................................................................................................. 13
■ Archiving Data .............................................................................................................................. 15
Process Engines log data for webMethods-executed processes to the Process Audit
Log database.
Optimize Analytic Engines log data for externally executed processes to the Process
Tracker database.
Monitor retrieves the logged data and documents from all three databases.
Monitoring Documents
In Monitor, you can view data logged by Integration Server for these types of
documents:
Integration Server documents that are in doubt, that have failed, or that have
exhausted trigger retries (see the Publish-Subscribe Developer’s Guide).
Documents that webMethods Broker clients publish or subscribe to (see
Administering webMethods Broker).
Monitoring Tasks
In My webMethods, browse to Navigate > Applications > Monitoring to access the monitoring
tasks.
Archiving Data
To keep logging at peak performance, Software AG recommends that you remove data
from the IS Core Audit Log and the Process Audit Log databases on a regular basis.
Monitor enables you to:
Delete data directly from the databases without archiving it.
Archive the data from the database to a separate archive database. You can then
delete data from the archive database as needed.
Before you can archive data, you must configure the archiving procedure. For more
information, see "Configuring Archive Se ings" on page 28.
2 Configuring Monitor
■ Overview ....................................................................................................................................... 18
■ Identifying the Integration Servers to Be Monitored .................................................................... 19
■ Identifying the My webMethods Server that Hosts the Monitor User Interface ............................ 20
■ Configuring Database Connection Retries ................................................................................... 20
■ Configuring Central User Management ....................................................................................... 20
■ Granting Users Access to Monitor ............................................................................................... 23
■ Audit Data Archiving and Deletion in Monitor .............................................................................. 27
■ Configuring Archive Settings ........................................................................................................ 28
Overview
This chapter covers mandatory configuration tasks for Monitor. Most configuration tasks
are described in this chapter. Additional configuration tasks, as listed in the following
table, are described in other chapters and other guides.
Task See...
Create the databases that store the data to be Installing Software AG Products
monitored.
If you log process transitions so you can see Working with My webMethods
the path the process took at runtime, set the
model image format.
4. Click Save.
5. Repeat the steps above to identify all Integration Servers to be monitored.
6. The default server or server pair appears in the Default column. To choose a new
default, select the new default server and click Save.
The selected server is the default for any new My webMethods user. After a user
selects a server or server pair on a Monitor page, that server or server pair becomes
the user's default.
Important: Monitor uses the default Integration Server remote server alias “local” to
resubmit a process instance or service when the node on which they were
initially submi ed is down. The default Integration Server remote server
alias is required and must not be altered.
Tip: Click Check Server Status to verify that a specified Integration Server or
Analytic Engine is accessible.
To identify the My webMethods Server that hosts the Monitor user interface
1. In Integration Server Administrator for the host Integration Server: Packages >
Management.
2. In the WmMonitor row, click the Home icon.
3. Complete the first five fields in the Configuration Settings.
Note: If you do not use central user management, you must ensure that each
Monitor user defined in My webMethods has a corresponding user account
defined in Integration Server.
If the se ing is not defined, ask the administrator for that Integration Server to
configure the se ing.
To customize how Monitor sets up ACLs when using central user management
1. In the Integration Server Administrator for the Integration Server that hosts the
WmMonitor package: Packages > Management.
2. Click the Home icon for the WmMonitor package.
3. To enable Monitor to automatically set the ACLs based on My webMethods
functional privileges, select the Add ‘My webMethods Users’ role to ‘MonitorUsers’ ACL
check box. To prevent Monitor from doing so, clear the check box.
Modify the pipeline for a process Business Monitoring > Modify and Resubmit
instance and resubmit the process
instance.
Modify the pipeline for a service and Integration Monitoring > Services > Modify and
resubmit that service. Resubmit
account joeHR and assign the user account joeHR to the HR role, and then set up user
account joeIntern and assign the user account joeIntern to the Interns role. When
logged in as joeHR, the user can view, start, and stop newHire process instances. When
logged in as joeIntern, the user can only view ProblemReporting instances.
When you enable data-level security, by default, roles are blocked from accessing
information about any processes, services, or documents. After you enable data-
level security, you must configure data-level security for specific roles to identify the
processes, services, and/or documents that each role can view and act on. After you have
configured data-level security for roles, if a user belongs to multiple roles, that user will
be able to work with all of the processes, services, and documents identified in all the
roles to which the user belongs.
Preliminary Requirements
Prior to archiving or deleting data, ensure that the following requirements are met:
You have created an Archive database. For instructions, see "Configuring the Archive
Database" on page 28.
Identify the users who will archive or delete data and assign them the appropriate
data management permissions in My webMethods Server. For more information, see
"Granting Users Access to Monitor " on page 23.
Field Properties
Version Latest
Field Properties
Password Password
c. In the Create Database and Database User fields, define the database Administrator.
Field Properties
d. Click Execute.
For detailed instructions on creating the Archive database, see the chapter, “Creating
and Dropping Database Components” in Installing Software AG Products.
2. In the Database Administration console, assign the user the appropriate permissions
for the tables in the Archive and Process Audit database.
3. Connect the Archive database to an Integration Server. For complete instructions
on connecting to a database, see the section on configuring databases in webMethods
Integration Server Administrator’s Guide.
4. Define a new JDBC connection pool alias se ings.
a. In Integration Server Administrator, click Settings > JDBC Pools.
b. In Pool Alias Definitions, click Edit.
c. Add the URL, user ID and password to match the Connection se ings defined
with the Database Component Configurator and click Save Settings.
5. Define the JDBC pools for the Archive database.
a. In Integration Server Administrator, click Settings > JDBC Pools.
b. In Functional Alias Definitions, click Edit for Archiving.
c. In Associated Pool Alias, select the alias and click Save Settings.
d. Click Restart.
6. Configure the default archiving parameter in the OPERATION_PARAMETER table.
a. In Designer, run the pub.monitor.archive:setOperationParameters service.
b. Specify the input parameters listed in the following table.
pub.monitor.archive:setOperationParameters sets the values you specify in the
OPERATION_PARAMETER table of the Archive database.
Note: You can set additional parameters not listed in the table below. For
example, you can specify how many days of audit information to keep
in the IS Core Audit Log and Process Audit Log schemas. For more
information, see the setOperationParameters service in webMethods Monitor
Built-In Services Reference.
Parameter Entry
PROCESS_SCHEMA To archive data from the Process Audit Log tables, specify
the following information for your database provider:
Oracle: Process Audit Log database user
SQL Server: Process Audit Log database name
DB2: Process Audit Log schema name
Parameter Entry
Oracle: IS Core Audit Log database user
SQL Server: IS Core Audit Log database name
DB2: IS Core Audit Log schema name
7. Set database permissions to allow the Archive database user permission to select and
delete data from the IS Core Audit Log tables, the Process Audit Log tables, or both,
depending on the data you want to archive. To do so, execute the following SQL:
GRANT SELECT ANY TABLE, UPDATE ANY TABLE, DELETE ANY TABLE, INSERT
ANY TABLE
Verify that you set permission for the Archive tables listed in "Archive Tables" on
page 135.
3 Service Monitoring
■ About the Services Search Page ................................................................................................. 34
■ Finding Logged Service Data Using Keywords ........................................................................... 34
■ Finding Logged Service Data Using an Advanced Search .......................................................... 35
■ Viewing Detailed Information for a Service .................................................................................. 37
■ Service Statuses .......................................................................................................................... 39
■ Resubmitting a Service ................................................................................................................ 39
For more information about how to specify keywords, see Working with My
webMethods.
To view data for all logged services for which you are authorized (up to the
maximum rows se ing), leave the text box blank.
5. Click Search.
Note: You can find context IDs for services by viewing the Service Detail page
(see "Service Statuses" on page 39).
Field Description
Note: The top, unlabeled text box on the Advanced search tab and
the Service Name field are both for specifying the full or
partial name of the services to find. Use only one of these
two fields.
Server ID Integration Server on which the services to find ran or are running.
Type the Integration Server's DNS name and port (such as
Field Description
integration.east.rubicon.com:5555) or partial DNS name or
port (such as rubicon).
Root Full root context ID, to find all services that were invoked one after
Context ID another starting with the specified root service.
Parent Full parent service context ID, to find all services invoked by the
Context ID specified parent service.
User Full or partial user name of the client that invoked services to find.
Activity Full or partial message entered in the Full Message field in the
Message Activity Messages panel on the Service Detail page. The Full Message
field is populated if a service logs user-defined messages by
calling the pub.prt.log:logActivityMessages service.
Range area Search for services based on the most recent date and time data
was logged for the services. You can choose a predefined time
period in the Range list, or you can use the calendar pickers to
specify a Start Date and End Date and then select the numbers for
the hours and minutes from the lists.
5. If you want to search for services based on custom logged fields, use the Filter section
of the page.
Field Description
Log Field Full name of a custom logged field to use for the search. The field
Name name is case-insensitive. Wildcard characters are not supported.
Operator Select the operator to use: Equal, Contain, or NotContain, != , < , >,
<= , >=
Value Specify the value to use for comparison. Click Add Row to specify
additional fields.
6. In the Search Condition list, select AND to find services that match all search criteria.
Select OR to find services that match any search criteria.
7. Click Search.
Field Description
Parent Context ID of the service that invoked the service, which is referred
Context ID to as the parent service. The parent context ID can be the same as the
root context ID.
Custom Custom value set for the context ID of the service using the
Context ID pub.flow:setCustomContextID service.
Field Description
Server ID DNS name and port number of the Integration Server on which the
service ran or is running.
Timestamp Date and time on which the activity indicated by Current Status (for
example, Failed) was logged.
Current Current status of the service. For more information, see "Service
Status Statuses" on page 39.
Error Most recent error message associated with the service. Monitor
Message displays the Error Message field only if the Current Status is Failed.
Root Fully qualified name of the root service of the service whose details
Service Monitor is displaying.
Parent Fully qualified name of all the service that directly invoked the
Services service whose details Monitor is displaying.
The History panel shows the statuses the service has gone through and the date and
time each status occurred. For a list of statuses, see "Service Statuses" on page 39.
If a service logged user-defined messages by calling the pub.prt.log:logActivityMessages
service, the Activity Messages panel shows the date and time a message was logged, the
type of the message (that is error, warning, or message), and a brief and long version of
the text of the message.
If a service has been resubmi ed, the Control Actions panel shows information about
the resubmission. The panel shows the date and time the service was resubmi ed, the
action taken, the user name of the user who resubmi ed the service, and the Integration
Server on which the service was resubmi ed.
Note: Each time a service is resubmi ed, the Integration Server assigns that service a
new context ID.
If the service logged run-time values for custom fields, the Logged Fields panel shows
the date and time the custom field was logged, the input or output parameter of the
service for which run-time values were logged, and the name and value of the custom
logged field.
If errors occurred while a service was running, the Service Errors panel shows the date
and time each error was logged and a description of the error.
Service Statuses
Monitor displays statuses for services on the Services page and the Service Details page
using a status keyword (for example, Completed or Started) and a status icon.
The following table lists the possible service status icons along with their meanings.
Icon Meaning
The following table lists the possible service statuses along with their meanings.
Status Meaning
Resubmitting a Service
You can resubmit a root-level service whose input pipeline was logged. The service can
have any status.
To resubmit a service, an Integration Server remote server alias is required and the
default Integration Server alias must exist and be unaltered. The default alias is used to
resubmit a service when the original node on which the service was submi ed is down.
When you resubmit a service, Monitor changes the status of the service to Resubmitted.
Monitor then starts a new instance of the service and sets its status to Started. Monitor
uses the context ID of the original service as the parent context ID for the new instance of
the service. All data about the resubmission is logged for the new instance of the service.
To resubmit a service without first editing the input pipeline, search for the service,
select the check box next to the service in the search results, and then click Resubmit.
To edit the input pipeline and then resubmit the service, search for the service, click
View Detail for the service in the search results, and then click Edit Pipeline. On the Edit
Pipeline page, update the fields, click OK, and then click Resubmit.
Important: When you leave the Service Detail page, your changes are lost, so you must
resubmit from this page.
4 Document Monitoring
■ About the Documents Search Page ............................................................................................ 42
■ Finding Logged Documents Using Keywords .............................................................................. 42
■ Finding Logged Documents Using an Advanced Search ............................................................ 43
■ Viewing Detailed Information for a Document ............................................................................. 46
■ Resubmitting a Document ............................................................................................................ 46
Note: If a document was routed through Universal Messaging, search for the
fully qualified name of the publishable document type as it exists on
Integration Server. You cannot search for the Universal Messaging channel
name associated with a publishable document type.
For more information about how to specify keywords, see Working with My
webMethods.
To view all the logged documents you are authorized to view (up to the maximum
rows se ing), leave the text box blank.
5. Click Search.
Field Description
Note: The top, unlabeled text box on the Advanced search tab and
the Document Name field are both for specifying the full or
partial name of the documents you want to find. Use only
one of these two fields.
Field Description
Field Description
processed the documents
originally.
Note:
A document routed through
Universal Messaging does
not have a client ID.
Range Search for documents based on the most recent date and time
data was logged for the documents. You can choose a predefined
time period from the Range list, or you can use the calendar
picker to specify a Start Date and End Date and then select the
numbers for the hours and minutes from the lists.
5. In the Search Condition list, select AND to find documents that match all search criteria.
Select OR to find documents that match any search criteria.
6. Click Search.
Note: An In Doubt document received from Universal Messaging does not have
a client ID. In the search results, the Document Details page displays “NA”
for the client ID.
If the document was logged by webMethods Broker, date and time the webMethods
Broker first enqueued the document (that is, added it to the first subscriber's queue).
The Control Actions panel displays information relating to document resubmission, as
follows:
User name of the user that resubmi ed the document and date and time the
document was resubmi ed.
For webMethods Broker documents, the webMethods Broker to which the document
was delivered (always the webMethods Broker to which the Monitor-equipped
Integration Server is connected).
Resubmitting a Document
When you resubmit a document, Monitor logs a new instance of the document and all
data about the resubmission is logged for the new instance.
To resubmit a document without first editing the fields, search for the document, select
the check box next to the documents in the search results, and then click Resubmit.
To edit the fields of a document and then resubmit, search for the document, click
View Detail for the document in the search results, and then click Edit Document. On the
Document Detail page, update the fields, click Save, and then click Resubmit.
Important: When you leave the Document Detail page, your changes are lost, so you
must resubmit from this page.
Document Monitor...
In Doubt Delivers the documents to the triggers that originally processed the
documents.
5 Process Monitoring
■ Working with the Process Instances Page .................................................................................. 50
■ Viewing Detailed Information for a Process Instance .................................................................. 53
■ Setting the Priority for User Tasks in a Process Instance ........................................................... 64
■ Path Forecasting for a Process Instance .................................................................................... 65
■ Viewing Detailed Information for a Process Step ........................................................................ 67
■ Viewing KPI Data for Process Instances ..................................................................................... 74
■ Viewing KPI Data Associated with a Process Step ..................................................................... 75
■ Stopping, Suspending, or Resuming a Process Instance ........................................................... 75
■ Updating a Process Instance to a New Model Version ............................................................... 76
■ About Resubmitting Process Instances and Process Steps ........................................................ 76
Note: The Server selection box defaults to the last server specified by the current
user. If the current user has never selected a server, the default server set
by the My webMethods Server administrator on the System Se ings page
is used.
4. Type a keyword search term in the Keywords field. The keyword search compares
the specified search term with the Process Name and Process Instance ID fields for
the available process instances and returns all matching process instances you are
authorized to view (up to the maximum rows se ing).
If you want to return all process instances your are authorized to view, leave the
Keywords field empty.
Use * as a wildcard character
Use " " for an exact phrase
Outside of an exact phrase, a space character is treated as a logical AND.
5. Click Search. Optional: Click Save to retain the search criteria on the Saved tab.
Note: The Server selection box defaults to the last server that was specified by
the current user. If the current user has never selected a server, the default
server set by the My webMethods Server administrator on the System
Se ings page is used.
4. The Advanced tab provides a Keywords field. For information on its operation, see
"Finding Process Instances Using Keywords" on page 50.
5. Specify additional search criteria using the fields below.
Field Selection...
Process Select All (the default), or select one or more models from a
scrollable list of all available process models. To select multiple
entries, hold down the CTRL key while you select each name.
For webMethods-executed process models, the entries in
the Process list identify the model version in addition to the
process model name using the format process_model_name -
process_model_version .
Field Selection...
Status Select All (the default), or select one or more status values. To
search for multiple statuses, hold down the CTRL key while you
select each status.
Date Range Specify a date range for your search with either of the following
options:
In the Date Range list, select All (the default), or select one of the
predefined date ranges from the drop-down list.
Use the calendar pickers to specify custom date range in the
Start Date and End Date fields, and then specify start and end time
values in the Time fields.
Note: If you save the search to the Saved tab, be aware that if you specify exact
start and end dates, the search results will always contains data for the specific
dates you use, regardless of the current date. To avoid this, create your saved
searches with one of the predefined relative date ranges available in the
Date Range list (for example, Previous Day or Previous Week).
Statistically The process instance has been suspended, has been stopped,
abnormal or is running but one or more steps might be executing with
errors.
Failed The parent process takes control of the failed process instance.
(Escalated) The parent process receives notification of the failed process
instance and continues executing. You cannot resubmit a
process instance with this status because the parent process is
no longer waiting for a response.
Resumed Execution of the process instance was suspended, but has now
been resumed.
Started The process has started, but not all steps have completed.
A status icon of indicates that one or more steps may be
executing with errors.
Resumed The process was suspended and has been resumed. This status
is not applicable to external (BAM-only) processes.
Field Description
Process Name of the process model associated with the process instance.
Model Name of the model version used for the process instance. This field is
Version only applicable for webMethods-executed processes.
Last Date and time of the last change in process instance status.
Updated
Field Description
Instance Number of times the process instance has been submi ed.
Iteration
Status Status of the process instance. For more information, see "About
Process Instance Statuses" on page 53.
Note: For steps that execute in parallel, Duration does not include
the overlapping execution time.
Bu ons: These bu ons are available only when a process instance is running
(that is, does not have a status of Completed).
Update. Available when a process instance is running and a new
version of the source process model has been enabled. This updates
the running instance so that it uses the newly enabled model
version for the rest of the process. For more information, see
"Updating a Process Instance to a New Model Version" on page
76.
Suspend/Resume. Click to suspend or resume a process instance.
Stop. Click to stop the process instance.
Note: Process stage logging does not occur instantaneously. This can result in a
delay of up to five minutes between stage instance changes and the stage
status displayed in the Stage Timeline window. For example, when viewing
a recently executed process instance, stages may initially appear as not
yet started. Click the Refresh bu on on the Process Instance Detail page to
update the Stage Timeline window. For more information, see “About Process
Generation and Stage Status Display” in the Building and Uploading chapter
of webMethods BPM Process Development Help.
By default, stages of all statuses are displayed, as indicated by the stage status display
check boxes:
You can filter the list of displayed stages by clearing a stage status check box, which
removes stages of that status from the display. Select a check box to display stages of
that status. The stage list provides the following information:
Note: Click on a column name to activate the sort controls for that column.
Column Description
Column Description
Note: If you have selected the Stop Tracking On Breach option for a stage and
that stage experiences a breach, all stage tracking ceases and any
remaining stages in the process are marked as Incomplete. In this case,
it is possible for the steps within the stage to be shown as Complete in
the process diagram, while the stage that contains them is shown as
Incomplete. This is expected behavior.
Filters the Step Summary list to display only those steps that executed within the
stage's cycle time. Steps that are in a different path from the stage's start and end
milestone steps will also be included if the step’s execution time falls within the
stage cycle time.
Filters the Logged Fields list to display only those logged fields that belong to a
step in the filtered Step Summary list.
Click Clear Selection in the Process Stage Timeline window to remove the
milestone icons and display all process steps in the Step Summary window and
all logged fields in the Logged Fields window.
To set the time resolution for the chart, select from Year, Month, Week, Day, Hour, or
Minute in the Time Unit list.
Process Diagram
The Process Diagram window displays an image of the process model as it was designed
in Designer, if an image is available for a webMethods-executed or externally executed
process model. Because no model exists for an integration process, Monitor cannot
display a process diagram for integration processes.
Note: If you are using Internet Explorer to view process models rendered with
Google Web Toolkit (GWT), you must configure the compatibility se ings
in My webMethods Server for your version of the browser. For more
information about this, and about process model rendering in general, see
"About Process Model Rendering" on page 107.
The image contains status icons next to steps that have executed or are currently
executing. For more information, see "About Process Instance Step Statuses" on page
67. In addition, you can display milestones for an individual stage by selecting
the stage in the list portion of the Process Stage Timeline window. See Process Stage
Timeline, above, for more information.
You can right-click the diagram and use the following menu commands to resize the
diagram and change the label display.
Fit to screen. Fits the entire process model diagram on the screen. Click Restore to
restore the diagram size to 100%. You can also use the slider on the left side of the
screen to adjust the zoom level.
Hide transition labels or Show transition labels. This menu command toggles to either
hide or show labels on the transition lines between events or steps in the process.
Show transition descriptions or Hide transition descriptions. This menu command toggles
to hide or show transition descriptions. If no description is defined, the transition
expression label appears when Show transition descriptions is selected. This option is
mutually exclusive with Show/Hide transition expressions.
Show transition expressions or Hide transition expressions. This menu command toggles
to show or hide transition expressions. This option is mutually exclusive with Show/
Hide transition descriptions.
Truncate transition expressions/descriptions or Expand transition expression/descriptions.
This menu comment toggles to display full or shortened label descriptions.
Step Summary
The Step Summary window displays information about the execution of the steps within
the process instance.
Note: The list of steps can be filtered by stage by selecting the stage in the list
portion of the Process Stage Timeline window. See Process Stage Timeline,
above, for more information. Click Clear Selection in the Process Stage Timeline
window to display all process steps in the Step Summary window.
Field Description
Loop Applies only to steps that can be configured for standard looping,
Iteration such as a subprocess step or a call activity step. A step executes a
loop iteration only when a loop condition is configured for the step
and that condition has been met.
Note: A step can loop two or more times until the loop condition is
no longer met. A separate row exists for each loop iteration.
Any time the step iteration increments, the loop iteration count
is reset and begins again with 1.
Status Status of the step. For more information, see "About Process Instance
Step Statuses" on page 67.
Field Description
Detail Click the Step Detail icon in the Detail column to view step details,
and for processes that are being analyzed, you can also click the KPI
Summary icon to view KPI information.
Control Actions
The Control Actions window contains information only when a control action (that is,
suspend, resume, resubmit, or stop) has been performed on a webMethods-executed
process instance, as follows:
Field Description
Activity Messages
The Activity Messages window contains information only when the process instance ran
a service that logged user-defined messages.
Field Description
Step Name Name of the step that logged the activity message.
Logged Fields
The Logged Fields window contains information only when the process instance logged
run-time values for custom fields. Custom logged fields are specified when the process is
created in Designer.
Note: The list of logged fields can be filtered by stage by selecting the stage in the
list portion of the Process Stage Timeline window. See Process Stage Timeline,
above, for more information. Click Clear Selection in the Process Stage Timeline
window to display all logged fields in the Logged Fields window.
Field Description
Step Name Name of the step that logged the custom field.
Field Description
Loop Applies only to steps that can be configured for standard looping,
Iteration such as a subprocess step or a call activity step. A step executes a
loop iteration only when a loop condition is configured for the step
and that condition has been met.
Note: A step can loop two or more times until the loop condition is
no longer met. A separate row exists for each loop iteration.
Any time the step iteration increments, the loop iteration count
is reset and begins again with 1.
Input/ Input indicates that any values passed as input to the step are logged.
Output Output indicates that output pipeline values for the step were logged.
Process Errors
The Process Errors window displays error information for the process instance. Only
errors for the entire process instance are shown here; step errors are shown in the
Process Step Detail page. For more information, see "Viewing Detailed Information for a
Process Step" on page 67.
Field Description
Error Type of error that occurred. The following are some typical errors:
Process Timeout. The process timed out before it could be completed.
Step Timeout.A step timed out before it could be completed.
Retries Exceeded. A step was executed more than the defined
maximum number of times.
Out of Sequence. A step tried to execute out of sequence.
Field Description
Error Text of the error message. If the error is a run-time error (for
Message example, if at run time an account was rejected), this column also
displays the run-time error code.
Critical
High
Medium
Low
None
5. Click Apply.
A tooltip is displayed providing the IDs of the user tasks with updated priorities.
Work days and weekend days -weekdays contribute to one average, while weekend
days contribute to a separate average.
All days are different - each day of the week has its own average.
For more information on specifying statistical intervals, see Administering webMethods
Optimize.
You should take into account the Optimize statistical mode of operation when checking
estimated data for a forecast path. For example, if today is Tuesday and the Optimize
statistical mode is “all days are different”, the estimation is based on past process
instances completed on a Tuesday.
Note: The Optimize Analytic Engine only calculates the process and step metric
after the end of the day and averages do not include process instances for the
current day.
The different forecast paths are sorted from most common to least common by
default. You can change the type of sorting from the drop-down list.
5. On the Path Information pop-up window, click Show Stats to view the estimated data
for the forecast path.
When you select a forecast path, for which to view the estimated data, the path is
highlighted. This shows whether the different parts of the path are completed (blue
highlight) or not completed (black highlight). Forecast paths are always sequential and
parallel paths are not taken into account.
Note: The icon is not available for rows representing a subprocess or call
activity loop iteration, as there is no additional information available.
If the status of the process instance is Resubmi ed or Suspended and the input pipeline
for the step you are viewing has been logged, you can view the pipeline by clicking View
Pipeline.
Icon Meaning
Step is running.
Icon Meaning
Step failed.
The Step Summary area displays a general status icon and a text status for each process
step.
General status icons are as follows:
Status Meaning
Expired The time specified for the step in the process model for an event
to occur expired before the event was satisfied. For example, the
time set for a join condition expired before a document required
by the join condition arrived.
Failed Step stopped because one or more errors occurred, or the step is
no longer being tracked and is missing information.
Retries An a empt was made to execute the step more times than is
Exceeded specified.
Unsatisfied A join definition for the step has not been satisfied. That is, some
Join incoming transitions have not arrived.
Status Meaning
Waiting Step is waiting for an event to occur (for example, the step might
be waiting for a document to arrive).
Note: Any time the parent subprocess step iteration increments, the loop
iteration count is reset and begins again with 1.
4. Subprocess that contain any child subprocesses also display an expansion icon.
Continue expanding the subprocesses until you locate the step you want to view.
Tip: To expand and contract all subprocess instances in the table, click the
expansion icon next to the Step Name column title.
Note: Any time the call activity step iteration increments, the loop iteration
count is reset and begins again with 1.
4. You can view the details of the referenced process (and from there, the summary
information for the steps within it) in either of two ways:
In the Step Summary window, click the link in the Referenced Subprocess column.
In the Process Diagram window, click the + icon located within the referenced
process step.
Click the Close bu on in the Process Details page for the referenced process to return
to the parent process.
The Process Step Detail page provides the following information and controls:
Step Information
The Step Information window displays information about the selected step. The data
displayed here is mostly the same as the information displayed in the Step Summary
window. For more information, see "Step Summary" on page 60.
In addition, the following information is provided:
Column Description
Server Type Identifies the type of server where the step was executed. For
webMethods-executed processes, this value is Process Engine.
Server ID Displays the host name and port number of the executing server.
For example, my.integration.server:5555.
If the step is enabled for resubmission, the following bu ons are available in the Step
Information window:
Save Pipeline to File. If the pipeline was logged, this bu on enables you to view the
pipeline data or save it to a file.
Edit Pipeline. Enables you to modify the pipeline date prior to resubmission.
Resubmit. Resubmits the process instance to begin executing with this step.
For more information about working with these bu ons, and about resubmission in
general, see "About Resubmi ing Process Instances and Process Steps" on page 76.
Step History
The Step History window provides a list of step status transitions that occurred as the
step executed, enabling you to trace the step activity.
Field Description
Date/Time Displays the date and time recorded for the particular status.
Control Actions
The Control Actions window contains information only when a control action has been
performed on a webMethods-executed process step, as follows:
Field Description
User User associated with the process step action (if applied by a user).
Activity Messages
The Activity Messages window contains information only when the process instance ran
a service that logged user-defined messages.
Field Description
Field Description
Logged Fields
The Logged Fields window contains information only when the process instance logged
run-time values for custom fields. Custom logged fields are specified when the process is
created in Designer.
Field Description
Step Errors
The Step Errors window displays error information that occurred as the step was
executing.
Field Description
Error Type Type of error that occurred. For example, PRT.STEP.FAILED. Some
errors may not contain an Error Type.
can add a subprocess to a subprocess, nesting as many levels as you need. You can
view detailed information for subprocess steps in the Step Summary area, just like any
other step. Each subprocess typically contains one or more steps. When a subprocess is
configured for standard looping, looping information is also available.
To view the steps within a subprocess, see "Viewing Steps Within a Subprocess" on page
69.
Optimize for Process creates and stores data for each KPI. You can view the KPI values
to see how they have varied over time. For more information about KPIs, see webMethods
Optimize User’s Guide.
To view KPI data that is associated with a step within a process instance
1. In My webMethods: Navigate > Applications > Monitoring > Business > Process Instances
.
2. Display detailed information for the process instance that you want to work with, as
described in "Viewing Detailed Information for a Process Instance" on page 53.
3. In the Step Summary area of the Process Instance Detail page, locate the step you
want to view and click KPI Summary.
Important: If the new version is incompatible with the one the instance was originally
using, the process instance will fail. For example, the instance might fail if
the new instance no longer contains the next step that the instance was to
execute.
For more information about creating a new process model version, see the topic
“Working with Process Versions” in the webMethods BPM Process Development Help.
A key component of the resubmit feature is the ability to edit the pipeline associated
with a step within the process instance prior to the resubmit operation. This is useful for
modifying pipeline data that could be causing the failure.
You resubmit a process instance by resubmi ing a step within that process instance. The
resubmi al procedure varies depending on the status of the steps within the process:
A process instance with a “Completed” status may be resubmi ed from any step in
the instance, provided you have first enabled the step for resubmission before the
process instance began executing.
A process instance with a “Failed” status may be resubmi ed from any process
instance step that has failed. A failed step is automatically enabled for resubmission,
and the pipeline at the point of failure is automatically logged by the Process
Engine and made available to Monitor. No manual configuration is needed. Process
instances with Failed (Escalated) status cannot be resubmi ed as the parent process
is no longer waiting for a response.
An Integration Server must be available. The resubmit bu ons and their associated
table check boxes are displayed only when this is the case.
You have appropriate Integration Server ACL se ings to resubmit the process
instances to a remote Integration Server in a non-clustered environment. If not:
1. Create an ACL using Integration Server Administrator. Go to the Security >
Access Control Lists page and create a new ACL to specify which user groups can
access the remote server.
2. Go to the Settings > Remote Servers > Create Aliaspage, select the ACL created in
the previous step from the Execute ACL list, and create a remote server alias.
When the Integration Servers are clustered, Monitor resubmits the process instances
to its host Integration Server.
3. In the search results, locate the process instance that you want to resubmit and click
Detail.
Note: If your process instance has failed in multiple places, it may be necessary
to resubmit multiple steps to get the instance running correctly. If this
is the case, repeat the resubmit procedures for each step that requires
resubmission.
4. On the Step Summary window of the Process Instance Detail page, locate the step
that you want to resubmit and click Detail.
Note: At this point, you can view or save the step pipeline data in XML format
for additional analysis. Click Save Pipeline To File, and then click Open to
view the file or click Save to save the file, then click OK.
5. To edit the input pipeline for a step on the Process Step Detail page:
a. In the Step Information window, click Edit Pipeline.
Important: After you update the pipeline, the changes you make are available
only while you are still on the Process Step Detail page. If you leave
this page, the changes you make are not saved. If you want to edit
the pipeline before resubmi ing, you must make your edits and then
immediately resubmit the process step.
Note: The pipeline for the original iteration of the step is left unchanged.
Monitor logs the updated pipeline with the new iteration of the step.
b. On the Edit Step page, for each field value you want to change:
a. Click the hyperlinked field value that you want to change. If the value of a
field is not displayed with an active hyperlink, you cannot change that field
value.
b. Specify a new value for the field.
c. Click OK.
d. After you modify all the fields you want to change, click Save. Monitor
returns to the Process Step Detail page.
6. Click Resubmit.
Unhandled Exception
One of the most common use cases for resubmission is when a step in a process fails and
there is no exception handler for that step, referred to as an unhandled exception. If an
unhandled exception occurs, both the step and process instance are marked as "Failed"
in Monitor and the pipeline for the failed step is saved at the point of failure.
The process instance continues to execute if there other tracks in the process that were
executing prior to the failure, until the instance reaches a logical stopping point.
You can then locate the failed instance and step, edit the pipeline, and resubmit the
failed step. The process instance will then continue executing from the point of the
unhandled exception to its logical conclusion using the modified pipeline values.
Handled Exceptions
In this case, the process model implementation includes an exception handler. For
example, you can model a boundary error event that transitions to an error handler
sequence flow in the event of step failure at run-time. This is considered a handled
exception.
The resubmit feature can still be used to resubmit failed steps in this case. However, this
is not a common pa ern, as the purpose of the exception handler is to execute whatever
logical behavior is needed to prevent the failure of the process instance in the event of a
step failure.
In other words, if your exception handler is designed properly and working as expected,
you would not normally need to resubmit the process instance. If you have to resubmit
failed steps in process instances with an exception handler, you are advised to modify
your exception handling logic to correctly process the source of the failure.
any other step that is enabled for resubmission. A totally new instance of the process is
started and execution begins from the point of resubmission. Depending on the process
model, it may be necessary to resubmit multiple steps to complete the process.
Specify the search tab to display when initially opening the page.
Specify the search to execute, if any, when initially opening the page.
Define the search results display. You can sort the results, define the maximum
number of rows to display, and define the columns to display.
View a process model diagram.
View information about running, failed, and other instances by hovering the cursor
over the number of instances in those columns.
Set thresholds for the archiving policy based on the number of process instances or
data in the database.
Enable or disable a process model for execution or analysis.
View detailed information about each process model and modify some a ributes
of the process model, including logging level and whether process steps can be
resubmi ed, as described in "Viewing and Modifying Process Model Information"
on page 89.
You can save the search criteria for any search you create, so you can re-execute those
saved searches without having to reconstruct them. You can also add any search results
to a workspace in My webMethods.
For instructions for all these tasks, see the PDF publication Working with My webMethods.
The Business Processes page displays the following information about available process
models:
Column Description
Model Version Click the expansion icon next to the process name to view
versions of the process model, if available. Model versions
are applicable only for webMethods-executed process
models. Click the link to view detailed information about
each version as described in "Viewing and Modifying Process
Model Information" on page 89.
Column Description
Used Indicates whether the process model version has been used
for at least one process instance.
Yes. The process model version has been used at least once.
No. The process model version has never been used; that is,
there have never been any instances of this model version.
When a version of a model has never been used, you can
delete the model version.
Unavailable. Monitor is currently not able to provide use
information because the server used to log instances of the
model version is not available.
Total Instances Displays the total number of instances of the process model.
Hover your mouse over the total number of instances to see
statistics about the number of Running, Completed, Failed
and Other instances.
The color of the indicator is different based on the threshold
number:
Green - when the number of instances run is less than 1/4 of
the threshold.
Yellow - when the number of instances run is between 1/4
and 3/4 of the threshold.
Red - when the number of instances run is more than 3/4 of
the threshold.
The indicator shows you when to archive the instances based
on the threshold set for that process.
Date Deployed Date and time the process model was last updated in the
Process Audit Log database component.
Note: The Server selection box defaults to the last server specified by the current
user. If the current user has never selected a server, the default server set
by the My webMethods Server administrator on the System Se ings page
is used.
4. Type a keyword in the Keywords field. The keyword search compares the specified
search term with the fields described above (depending on the process type) and
returns all matching process models you are authorized to view (up to the maximum
rows se ing).
If you want to return all process models your are authorized to view, leave the
Keywords field empty.
Use * as a wildcard character
Use " " for an exact phrase
Outside of an exact phrase, a space character is treated as a logical AND.
5. Click Search. Optional: Click Save to retain the search criteria on the Saved tab.
Note: The Server selection box defaults to the last server specified by the current
user. If the current user has never selected a server, the default server set
by the My webMethods Server administrator on the System Se ings page
is used.
5. Click Save.
To view detailed information for a process model and modify run-time settings
1. In My webMethods: Navigate > Applications > Administration > Business > Business
Processes.
2. Search for the process model you want to view. For instructions, see "Finding
Process Models Using Keywords" on page 86 and "Finding Process Models
Using an Advanced Search" on page 87.
Do any of the following:
To view the process model detailed information, click the process model name or
click Edit to open the Edit Process page.
To sort the table by the contents of a column, click on a column name to activate
the sort controls for that column.
Field Description
Process Name assigned to the process model in the tool where the model was
Name created.
Model Version of the process model, as set in Designer. The model version
Version is applicable only for webMethods-executed process models.
You can only have a single version of externally executed and
integration processes, and the model version for these types of
processes is always set to 1.
Description Description of the process model defined in the tool in which the
model was created.
Created User name of the user who created the process model.
By
Note: For integration processes, this is the user that invoked the
pub.monitor.integrationProcessLogging:createProcessMetadata service.
Date Date and time the process model was last updated in the Process
Deployed Audit Log database component:
For a webMethods-executed process model version, the last time
the version was built and uploaded for execution from Designer.
For an externally executed process model, the last time the process
model was uploaded for analysis from Designer.
For an integration process, when the service,
pub.monitor.integrationProcessLogging:createProcessMetadata, logged
information about the process.
Field Description
Used Indicates whether the process model version has been used for at
least one process instance.
Yes. The process model version has been used at least once.
No. The process model version has never been used; that is, there
have never been any instances of this model version. When a
version of a model has never been used, you can delete the model
version.
Unavailable.Monitor is currently not able to provide use information
because the server used to log instances of the model version is not
available.
Field Description
Instances The number of process instances that can run for this process
Threshold model before you need to archive. The indicator for each
Field Description
process model on the Business Processes page is based on this
number.
Stages Tab
Although process stages are typically defined at design time in Designer, you can
modify and delete those stages, or create new stages in the process model. After you
save your changes in Monitor, you can synchronize these changes to your process model
in Designer, as described in "Working with the Edit Process Page" on page 89.
To sort the stages table by the contents of a column, click on a column name to activate
the sort controls for that column.
For information about working with stages and milestones in Monitor, see "Working
with Stages and Milestones" on page 102. For detailed information about stages and
milestones, see the webMethods BPM Process Development Help.
Events Tab
The Events tab enables you to enable or disable event emission for predefined EDA
events from Process Engine. For more information, see "Enabling and Disabling EDA
Event Emission" on page 100.
Note: Because integration processes are not modeled, Monitor cannot display a
model image for an integration process.
Tip: You can right-click the diagram and use the following menu commands to
resize the diagram and change the label display.
Fit to screen. Fits the entire process model diagram on the screen. Click
Restore to restore the diagram size to 100%. You can also use the slider on
the left side of the screen to adjust the zoom level.
Hide transition labels or Show transition labels. This menu command toggles
to either hide or show labels on the transition lines between events or
steps in the process.
Show transition descriptions or Hide transition descriptions. This menu
command toggles to hide or show transition descriptions. If no description
is defined, the transition expression label appears when Show transition
descriptions is selected. This option is mutually exclusive with Show/Hide
transition expressions.
Show transition expressions or Hide transition expressions. This menu
command toggles to show or hide transition expressions. This option is
mutually exclusive with Show/Hide transition descriptions.
Truncate transition expressions/descriptions or Expand transition expression/
descriptions. This menu command toggles to display full or shortened label
descriptions.
When Monitor renders a process diagram, it shows all the possible paths that can be
taken within a process instances. If you want to see the path the process instances
actually took at run time, use the Log Transitions se ing to enable process transition
logging for the process model version. The lines for the path that was actually
executed are displayed as heavier lines.
You can select the Diagnostic Logging option to specify that log messages from
instances started from a process model are logged to a separate file for diagnostic
purposes. For more information, see "Enabling and Disabling Process Instance
Diagnostic Logging" on page 96.
Important: When you regenerate a process model version, the logging se ings return to
the default values, and you must reset them if you want different se ings.
You want to log... If in Monitor, you want to be able to... Set to...
You want to log... If in Monitor, you want to be able to... Set to...
For instructions on se ing up service logging, and for complete information on logging
in general, see webMethods Audit Logging Guide.
Select the Log Transitions check box if you want to log process transitions for
display in the process diagram. This requires a logging level that enables you to
log transitions
Select the Diagnostic Logging check box if you want to log messages from a process
instance to a separate log file for diagnostic purposes. For more information, see
Enabling and Disabling Process Instance Diagnostic Logging, below.
4. Click Save.
2. Search for the process model you want to enable or disable. For instructions, see
"Finding Process Models Using Keywords" on page 86 and "Finding Process
Models Using an Advanced Search" on page 87.
3. In the search results, click Edit for the webMethods-executed model version or
externally executed process model that you want to enable for analysis.
Note: Enabling this option increases the processing overhead for all instances
of this process model, which may have an impact on performance. You
are advised to disable this option as soon as you have completed your
diagnostic activities.
Important: If all versions of a model that is called by another process are disabled, the
parent process will fail at the step that calls the disabled process model.
When you enable a model version, if another version was previously enabled, Monitor
disables it, and Process Engine uses the newly enabled version when starting new
process instances. When you enable a new version of a process model, you can
optionally upgrade all running process instances that use the model, so that they
immediately start using the newer version with the next step to be executed. For
additional information, see "Updating a Process Instance to a New Model Version" on
page 76.
If a process model is enabled for analysis, when a running process instance of the model
version is executing, Optimize for Process collects metrics about the running process
instance, such as how long it took the process instance to run, how long it took each step
in the process to run, the number of errors that occurred. You can then view the collected
metrics on the Navigate > Applications > Monitoring > Business > Process Overview
page. For
more information, see the PDF publication webMethods Optimize User’s Guide.
Clear the Analysis Enabled check box to disable a process model version for
analysis.
5. Click Save.
Note: Disabling Process Engine EDA events has no effect on custom event types
applied to the process model or steps within it.
In addition to enabling EDA event emission in Monitor as described below, you can
also enable events in Software AG Designer. For more information about enabling
and disabling EDA event emission in Designer, and about EDA events in general, see
webMethods BPM Process Development Help.
Note: Before you modify process model EDA event se ings, be aware of the
interaction of these se ings between Designer and the Edit Process page.
For more information, see "About Synchronizing Stages and Events with
Software AG Designer " on page 106.
Process Instance Log Custom ID controls whether to emit an event when the service
pub.prt.log:logCustomId is invoked in a process model step to associate a custom
ID with the process model instance.
Step Instance controls whether to emit an event when the status of a step changes,
for example, from started to waiting.
Step Loop Instance controls whether to emit an event when a step loop starts or
completes.
Step Instance Transition controls whether to emit an event when one step
transitions to another step.
Step Instance Error controls whether to emit an event when an error occurs during
a process step.
Note: For detailed information about each of these EDA event types, see the
chapter “EDA Event Types” in webMethods BPM Process Development Help.
3. Select the EDA event you want to enable or disable for emission.
4. Use the available bu ons to move EDA events between the Available EDA Events list
and the Selected EDA Events list:
Click or to move a single event selection or a multiple, non-contiguous
selection made by selecting events with the CTRL key pressed.
Click or to move all EDA events in a list to the other list.
5. Click Save.
Note: If you want to be able to resubmit process instances from Monitor at certain
steps, you must set the process model logging level to a level that will log
the input pipelines for those steps. For more information, see "About Process
Model Logging Levels" on page 94.
Note: When a step is enabled for resubmission, the pipeline data for that step is
saved. Extensive use of resubmi al enablement (for example, enabling all
steps for all process models for resubmi al) may result in a reduction in
performance.
4. Click Save.
Note: You must have a BPM or a BPM and BAM server environment selected in the
Server list at the top of the Process Instances page before you can add stages
in Monitor.
Adding a Stage
Note: If you leave the Stages tab while adding a stage and before you have clicked
Save, your changes will be discarded.
Note: Before you make modifications to process model stage se ings, be aware of
the interaction of these se ings between Designer and webMethods Monitor.
For more information, see "About Synchronizing Stages and Events with
Software AG Designer " on page 106.
To add a stage
1. On the Business Processes page, locate the process model that you want to work
with and click Edit.
2. In the Process Stages and EDA Events window, click the Stages tab.
3. Click Add Stage. A new row appears in the stage list, populated with default
information.
4. Configure the following fields to define the stage:
Note: Any data entry validation errors are displayed within the stage row.
Column Description
Note: The Name is not editable after you click Save. If you
want to rename a stage, you must delete it and then
recreate it with the new name.
Start Milestone Click the list and select a milestone. Optionally, you can type
characters in the text box to filter the list. The Start Milestone
and End Milestone selections must be different.
Click the list to the right of the milestone selection, and click
Start or Complete to specify the start or the completion of the
selected milestone.
End Milestone Click the list and select a milestone. Optionally, you can type
characters in the text box to filter the list. The Start Milestone
and End Milestone selections must be different.
Click the list to the right of the milestone selection, and click
Start or Complete to specify the start or the completion of the
selected milestone.
Condition Select < (less than) or > (greater than). Default is <.
Enter a positive whole number. The maximum supported
values are as follows:
2,777,777 hours
166,666,666 minutes
9,999,999,999 seconds
Column Description
9,999,999,999,999 milliseconds
Default is 1.
Select hours, minutes, seconds, or milliseconds. Default is
hours.
The result is a condition. If the condition specifies <, then the
stage is breached when the cycle time exceeds the specified
time period. If the condition specifies >, then the stage is
breached when the cycle time is less than the specified time
period. For example:
< 1 hours means that the stage must complete in less than 1
hour or a ProcessStageBreached event will be emi ed.
Stop Tracking Stops stage processing for all remaining stages in the process
On Breach instance when a stage breach occurs in this stage, and only
one stage breached EDA event is emi ed. Remaining stages
are not tracked and will be shown as Incomplete in Monitor.
The check box is cleared by default.
5. Click Save.
For information about synchronizing the new stage with the process model in Designer,
see "About Synchronizing Stages and Events with Software AG Designer " on page
106.
Modifying a Stage
Note: If you leave the Stages tab while modifying a stage and before you have
clicked Save, your changes will be discarded.
Note: Before you make modifications to process model stage se ings, be aware of
the interaction of these se ings between Designer and webMethods Monitor.
For more information, see "About Synchronizing Stages and Events with
Software AG Designer " on page 106.
You cannot modify a stage name. If you want to rename a stage, you must delete it and
then recreate it with the new name.
Otherwise, all other stage and milestone information can be modified as described in
"Adding a Stage" on page 102.
Deleting a Stage
Note: If you leave the Stages tab after deleting a stage and before you have clicked
Save, the deletion will be discarded.
Note: Before you make modifications to process model stage se ings, be aware of
the interaction of these se ings between Designer and webMethods Monitor.
For more information, see "About Synchronizing Stages and Events with
Software AG Designer " on page 106.
To delete a stage
1. On the Business Processes page, locate the process model that you want to work
with and click Edit.
2. In the Process Stages and EDA Events window, click the Stages tab.
3. Click the option bu on next to stage name for the stage you want to delete. To
clear your selection, click the option bu on again
4. Click Delete.
5. Click Save.
Flow Description
3. After you add a step definition, you can add definitions for
one or more logged fields that are associated with the step.
To add a logged field and associate it with a step, invoke the
pub.monitor.integrationProcessLogging:createLoggedFieldMetadata service. Logged
field definitions are comparable to custom data in a process model that was
created with Designer.
Flow Description
In the example above, two logged fields are defined for and associated with
the first step of the integration process.
4. Continue adding steps and logged fields for the steps. In the example above,
a second and third step are added. One logged field is defined for and
associated with the third step.
Note: Although you can view information about integration processes using
Monitor, integration processes are not eligible to be stopped, suspended,
resumed, or resubmi ed.
Flow Description
1. Each process requires a unique process instance ID. You can create one on
your own or use the pub.monitor.integrationProcessLogging:generateProcessInstanceID
service to generate a unique process instance ID.
Note: This service does not add data to the Process Audit Log database.
That is, it does not start a new instance of the integration process.
3. To start logging information about the first step in the integration process,
create an instance of the first step. To create a step instance, invoke the
pub.monitor.integrationProcessLogging:createStepInstance service. As input to this
service, you identify:
The process instance in which the step is running. Specify the
same process instance ID that you specified as input to the
pub.monitor.integrationProcessLogging:createProcessInstance service in the previous
INVOKE flow operation.
The step definition for which you are creating the instance. The step
definition must already exist in the Process Audit Log database, which you
add using the pub.monitor.integrationProcessLogging:createStepMetadata service.
After you create the step instance, the step status is Started. Use the
pub.monitor.integrationProcessLogging:updateStepInstanceStatus service if you want to
change the step status.
4. After the step instance is logged, execute the service(s) for the first step of
the integration process. The next flow operations are based on the outcome
of this step.
5. This series of flow operations shows the logic you might perform when a
step fails:
Flow Description
6. This series of flow operations shows the logic you might perform when a
step is successful:
Values are set for logged fields that are associated with the step using the
pub.monitor.integrationProcessLogging:createLoggedFieldInstance service.
The step status is set to Completed using the
pub.monitor.integrationProcessLogging:updateStepInstanceStatus service.
7. This series of flow operations handles the second step in the integration
process. The flow operations are similar to those described above in steps 4,
5, and 6.
8. This series of flow operations handles the third step in the integration
process. The flow operations are similar to those described above in steps 4,
5, and 6.
Overview
Before you can archive or delete data, you must configure the archiving and deletion
feature as described in "Audit Data Archiving and Deletion in Monitor " on page 27.
Software AG recommends that you remove audit data from the IS Core Audit Log and
the Process Audit Log databases regularly to keep your logging at peak performance. To
remove audit data, you can either archive or delete it, as follows:
Archive. Moves audit data to the Archive database and then removes it from the
source database.
Delete. Removes audit data from the source database, but does not move it to any
other location.
As an alternative to using an Archive database, you can store process audit log data in a
separate partition. For information about configuring partitions, see "Overview of Using
Partitions for Process Audit Log Data" on page 126.
After you archive or delete audit data, you can no longer view it in My webMethods.
However, if you archive data, you can still query the Archive database using SQL. The
following table lists the methods to archive or delete document, process, service, and
Integration Server data from the IS Core Audit Log and Process Audit Log databases.
Option Description
Number of days to retain Monitor keeps data for the number of days (including
the current date) that you specify. For example, if you
(ending with today)
specify 15, Monitor keeps data that is 15 or fewer days
old and archives/deletes data that is 16 or more days
old.
Retention period start Date of the oldest data to keep. The period ends with
date and includes the current date. For example, if you
specify 6/3/2012, Monitor keeps data from 6/3/2012
(ending with today)
through the current date and archives/deletes any data
logged before 6/3/2012. Use the calendar picker and
hour and minute fields to set the date.
Note: Processes and services have a start timestamp and an end timestamp;
Monitor archives or deletes process based on the end timestamp.
Documents and server data have a single timestamp, and Monitor archives
or deletes them based on that timestamp.
Select... To archive...
Select... To archive...
Referenced processes, process-related service data
(services, service error data, and user-defined
messages).
Process control data (resubmit, suspend, and resume
actions).
b. To archive processes, select a process model name or All to archive all process
models.
Note: You can only archive by process model name when Monitor uses stored
procedures to perform archiving. When Monitor is configured to use
JDBC pools, all process models are archived.
c. Next, for processes or services, select which model status to archive or delete:
Note: You can only choose the status when archiving or deleting processes
and services. Documents and Integration Server data do not have
statuses and therefore cannot be archived selectively.
Monitor archives or deletes only data that matches all of the values that you specify.
4. In the Archiving Batch Size field, indicate the number of primary items and
accompanying items to archive or delete at a time. For example, to archive or delete
100 processes and accompanying services, activity logs, and errors at a time, choose
a number that takes the size of each record and other performance factors into
consideration. If the record size is large, consider reducing the batch size; if the
record size is small, increasing the batch size might increase the speed of the archive
or delete.
5. To archive or delete data, do one of the following:
Click Archive and Delete to copy the data from the IS Core Audit Log and Process
Audit Log tables to the Archive database and then delete the data from the IS
Core Audit Log and Process Audit Log tables.
Click Delete only to delete the data from the IS Core Audit Log and Process Audit
Log tables.
Note: For Oracle, SQL Server, and DB2, the default values for all archive and
delete service parameters are stored in OPERATION_PARAMETER in the
Archive database. You can change the defaults in the table by running the
pub.monitor.archive:setOperationParameters service. You can override the defaults
for specific archive or delete actions by specifying values on the relevant
parameters when you run the archive and delete services.
Note: Indexes for the archive schema are removed when archiving with stored
procedures.
Procedure Description
Procedure Description
WMPROCESSIMAGE
WMSTEPDEFINITION
WMSTEPTRANSITIONDEFINTION
Parameters
p_retaindays String Number of days to keep the indicated type of data in the
source database, ending with and including the current date.
p_retaindate Long Start date for the period to keep the indicated type of data in
the source database. The period ends with and includes the current
date. p_retaindate is in epoch time (milliseconds since midnight,
01/01/1970).
Supply either p_retaindate or p_retaindays . Do not supply both.
ARCHIVE Default. Copy the data from the source to the Archive
database and delete the data in the source database.
reducing the batch size; if the record size is small, increasing the
batch size may increase the speed of the archive or delete.
Note: Partition archiving support is only provided for Process Audit data. You must
continue to use stored procedures for all other audit data.
To archive or delete audit data with partitioning, the first step is to define the needed
partitions. Then, when you archive a partition, the script moves it from your active
Process Audit database to the archive Process Audit database, and operation that
typically takes seconds to complete, compared with archiving by stored procedures,
which can take hours. To delete data, you drop the relevant partition.
Each partition stores only those records that fall within the partition’s date range based
on the column, ATRESTTIMESTAMP. When creating partitions, adhere to the following
rules:
Create as many partitions as you need.
Configure each partition with a non-overlapping date range.
Define every Process Audit database table with identical partitions.
Monitor stores process instances that are still running in a partition named
WM_FUTURE (Oracle and DB2) or partition 1 (MS SQL). As audit data is wri en to
the Process Audit tables, Monitor automatically writes audit data to this partition.
This partition stores all audit data that is not yet considered complete. When a process
instance completes, Monitor updates the ATRESTTIMESTAMP with the final completion
date and moves all associated audit entries to the appropriate partition. This guarantees
that all related audit data for a process instance exists in the same partition.
Configuring Partitions
You can define as few or as many partitions as you require based on your data volume
and archiving needs.
To create and manage partitions for Process Audit Log data, refer the readme.txt file for
your database in the following directories:
For Oracle: <Software AG_directory>\common\db\scripts\oracle\processaudit\75\
partition_support
For IBM DB2: <Software AG_directory>\common\db\scripts\db2\processaudit\75\
partition_support
For Microsoft SQL: <Software AG_directory>\common\db\scripts\mssql
\processaudit\75\ partition_support
status of the instance, and how long the instance has been running or ran before it
completed (duration).
Tap the process instance on the Process Instances screen to view the instance details
and process model diagram.
Pin a process instance. Use the pin feature to keep a business process at the top of the
list of business processes. This is useful when you want to monitor a specific process.
On the Business Processes screen, tap the Pin icon to pin a business process.
View failed processes. The Notifications icon on the Business Processes screen displays
a count of the business processes that failed. You can configure how often Mobile
Monitor polls for notifications, as often as every minute or hourly. Or, you can
disable notification polling.
Tap the Notifications icon on the Business Processes screen or Notifications in the
sidebar to display the list of failed business processes on the Notifications screen. For
more information about notifications, see "About Notifications" on page 132.
Manage server connections. The Server Se ings screen displays the configured servers
and the server status. Mobile Monitor pulls business process information from one
server at a time, known as the active server. You can add and delete servers and
specify which server is the active server.
Tap the Servers icon at the bo om of the screen or tap Servers in the sidebar to view
the Server Se ings screen. For more information about configuring servers, see
"Configuring Mobile Monitor " on page 132.
Search for business processes and filter the list of process instances. You can search for
a specific business process by name. Or, you can limit the list of process instances
using a filter. In the process instance filter, you can specify an execution date range, a
custom process ID, and a process instance status. The process instance status can be
specified as started, completed, failed, stopped, revised, failed/escalated, suspended,
resumed, resubmi ed, or all, to include instances with any status.
To search for a specific business process, tap the Search icon on the Business
Processes screen. To filter the list of process instances, tap the Search icon on the
Process Instances screen or tap Search Instances in the sidebar.
Configure application settings. The Application Se ings screen displays all the
configuration options available in the Mobile Monitor app. You can configure the
fields that display on the Process Instances screen and the Notifications screen. You
can also set how often the app polls for notifications and whether logging is enabled.
Tap the Gear icon at the bo om of the screen to access the Application Se ings
screen. For more information about configuration se ings, see "Configuring Mobile
Monitor " on page 132.
About Notifications
Mobile Monitor notifies you when a process instance fails by adding a count (alert) to
the Notifications icon on the Business Processes screen. If there are any failed processes,
the Notification icon displays a count of the number of failed processes, up to a maximum
count of 100. By default, the app polls for new notifications every minute.
To view the list of failed process instances, tap Notifications in the sidebar or the
Notifications icon at the top of the Business Processes screen. Tap the process instance to
view the process instance details.
The Notifications screen shows a maximum of ten instances per screen. To navigate
through the list, tap Show More or Show Previous.
Unread process instances display with a red background. Mobile Monitor retains
the list of failed notifications until you clear it. When you exit and relaunch the app,
Mobile Monitor retrieves new notifications and adds them to the existing list of failed
notifications. To clear the Notification counter, tap Mark all as read or the X icon at the top
of the Notifications screen.
You can configure which information about a process instance displays in the
Notifications screen, the notification polling interval, and whether notifications are
enabled. For information about configuring notifications, see "About Notifications" on
page 132.
Configure process instance fields. Select the information that displays about a process
instance on the Process Instances screen. You can select up to three fields from the
following: instance ID, custom ID, version, date the model was last updated, instance
start time, instance iteration, and duration. The Process Instance Details screen
displays all of this information about the process instance.
Configure logging. Enable or disable logging for business processes. Use the on/off
slider to set Enable Logging.
Note: Mobile Monitor only shows processes and processes instances from
the active server. To monitor processes on a different server, you can
change which server is the active server.
Tip: Tap Ping to verify that the server details are correct and that the server
is running.
Note: This se ing only controls notifications. It does not control how often
Mobile Monitor fetches business process statuses. To refresh the data,
pull down on the Business Processes screen.
f. Click Save.
A Archive Tables
■ Overview ..................................................................................................................................... 136
■ Process Archive Tables .............................................................................................................. 136
■ Server Archive Tables ................................................................................................................ 138
■ Service Archive Tables ............................................................................................................... 139
■ Document Archive Tables .......................................................................................................... 139
Overview
This section lists the database tables for which you have to set permissions before you
run the data archive process. Make sure you have the permission to archive the tables
specified for the Process Engine version you are using.
WMCUSTOMFIELDDEFINITION WMCUSTOMFIELDDEFINITION No
WMPROCESSDEFINITION WMPROCESSDEFINITION No
WMPROCESSIMAGE WMPROCESSIMAGE No
WMPROCESSTASK WMPROCESSTASK No
WMPROCESSTASKSTEP WMPROCESSTASKSTEP No
WMPROCESSTASKUSER WMPROCESSTASKUSER No
WMSERVICE_MIN_MAX WMSERVICE_MIN_MAX No
WMSTEPDEFINITION WMSTEPDEFINITION No
WMSTEPTRANSITION WMSTEPTRANSITION No
DEFINITION DEFINITION
The following table lists the Process Audit tables for releases prior to 9.6.
WMCONTROL X X X
WMCUSTOMFIELDDEFINITION X X X
WMCUSTOMPROCESSDATA X X X
WMERROR X X X
WMPROCESS X X X
WMPROCESSASSOC X X X
WMPROCESSATREST X
WMPROCESSDEFINITION X X X
WMPROCESSIMAGE X X X
WMPROCESSRECENT X X X
WMPROCESSSTEP X X X
WMPROCESSTASK X X
WMPROCESSTASKSTEP X X
WMPROCESSTASKUSER X X
WMPROCESSTRANSITION X X X
WMSERVICE X X
WMSERVICEACTIVITYLOG X X X
WMSERVICE_MIN_MAX X X X
WMSTEPDEFINITION X X X
WMSTEPTRANSITIONDEFINITION X X X
WMERROR X X X
WMPROCESS X X X
WMSECURITY X X X
WMSERVICE X X X
WMSERVICEACTIVITYLOG X X X
WMSESSION X X X
WMTXIN X X X
WMTXOUT X X X
WMCONTROL X X X
WMERROR X X X
WMSERVICE X X X
WMSERVICEACTIVITYLOG X X X
WMSERVICEASSOC X X
WMSERVICEMINMAX X X X
WMCONTROL X X X
WMDOCUMENT X X X