Академический Документы
Профессиональный Документы
Культура Документы
Important Information
SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCH EMBEDDED OR
BUNDLED TIBCO SOFTWARE IS SOLELY TO ENABLE THE FUNCTIONALITY (OR PROVIDE LIMITED ADD-ON
FUNCTIONALITY) OF THE LICENSED TIBCO SOFTWARE. THE EMBEDDED OR BUNDLED SOFTWARE IS NOT
LICENSED TO BE USED OR ACCESSED BY ANY OTHER TIBCO SOFTWARE OR FOR ANY OTHER PURPOSE.
USE OF TIBCO SOFTWARE AND THIS DOCUMENT IS SUBJECT TO THE TERMS AND CONDITIONS OF A
LICENSE AGREEMENT FOUND IN EITHER A SEPARATELY EXECUTED SOFTWARE LICENSE AGREEMENT, OR,
IF THERE IS NO SUCH SEPARATE AGREEMENT, THE CLICKWRAP END USER LICENSE AGREEMENT WHICH
IS DISPLAYED DURING DOWNLOAD OR INSTALLATION OF THE SOFTWARE (AND WHICH IS DUPLICATED IN
LICENSE FILE) OR IF THERE IS NO SUCH SOFTWARE LICENSE AGREEMENT OR CLICKWRAP END USER
LICENSE AGREEMENT, THE LICENSE(S) LOCATED IN THE LICENSE FILE(S) OF THE SOFTWARE. USE OF
THIS DOCUMENT IS SUBJECT TO THOSE TERMS AND CONDITIONS, AND YOUR USE HEREOF SHALL
CONSTITUTE ACCEPTANCE OF AND AN AGREEMENT TO BE BOUND BY THE SAME.
This document contains confidential information that is subject to U.S. and international copyright laws and treaties. No
part of this document may be reproduced in any form without the written authorization of TIBCO Software Inc.
TIBCO, The Power of Now, TIBCO ActiveMatrix BusinessWorks, TIBCO Rendezvous, TIBCO Administrator, TIBCO
Enterprise Message Service, TIBCO InConcert, TIBCO Policy Manager, and TIBCO Hawk are either registered
trademarks or trademarks of TIBCO Software Inc. in the United States and/or other countries.
EJB, Java EE, J2EE, and all Java-based trademarks and logos are trademarks or registered trademarks of Sun
Microsystems, Inc. in the U.S. and other countries.
All other product and company names and marks mentioned in this document are the property of their respective
owners and are mentioned for identification purposes only.
THIS SOFTWARE MAY BE AVAILABLE ON MULTIPLE OPERATING SYSTEMS. HOWEVER, NOT ALL OPERATING
SYSTEM PLATFORMS FOR A SPECIFIC SOFTWARE VERSION ARE RELEASED AT THE SAME TIME. SEE THE
README FILE FOR THE AVAILABILITY OF THIS SOFTWARE VERSION ON A SPECIFIC OPERATING SYSTEM
PLATFORM.
THIS DOCUMENT IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
THIS DOCUMENT COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS. CHANGES
ARE PERIODICALLY ADDED TO THE INFORMATION HEREIN; THESE CHANGES WILL BE INCORPORATED IN
NEW EDITIONS OF THIS DOCUMENT. TIBCO SOFTWARE INC. MAY MAKE IMPROVEMENTS AND/OR CHANGES
IN THE PRODUCT(S) AND/OR THE PROGRAM(S) DESCRIBED IN THIS DOCUMENT AT ANY TIME.
THE CONTENTS OF THIS DOCUMENT MAY BE MODIFIED AND/OR QUALIFIED, DIRECTLY OR INDIRECTLY, BY
OTHER DOCUMENTATION WHICH ACCOMPANIES THIS SOFTWARE, INCLUDING BUT NOT LIMITED TO ANY
RELEASE NOTES AND "READ ME" FILES.
Copyright 2001-2012 TIBCO Software Inc. ALL RIGHTS RESERVED.
TIBCO Software Inc. Confidential Information
Contents
Introduction
Overview
User Management
Domain Objects
Process Monitoring
Automatic Logout
9
9
10
11
Manage Passwords
11
Manage Roles
13
14
15
17
17
18
Editing rules
19
Editing Conditions
19
Editing Actions
21
Email Action
22
23
24
Templating Language
25
27
Overview
27
29
Main Table
29
Event Table
34
Process Diagram
35
Details Table
35
36
38
By Time
39
By Taxonomy
40
By Status
42
QuickSearch
44
47
Process Context
47
Process Data
48
Process Diagram
49
Data retention
57
Glossary
58
Preface
This document explains the TIBCO BWPM Server GUI. See the TIBCO BWPM Server
Administration and Configuration Guide for information about installation and configuration of
the server.
Introduction
This chapter gives a high level overview over the TIBCO BWPM Server GUI, the TIBCO BWPM instance
and their relationships with other programs in the installation.
Overview
The TIBCO BWPM Server has two main components: the TIBCO BWPM Server and the TIBCO BWPM
Server GUI. The TIBCO BWPM Server manages resources in a TIBCO BWPM instance. The TIBCO
BWPM Server GUI provides a thin client (browser) interface, allowing the user to interact with the
TIBCO BWPM Server and the data managed by it.
The next picture shows the User Management module in the TIBCO BWPM Server GUI. Depending on
the roles you have been assigned to, your view may vary.
|1
User Management
The User Management is available to members of the admin role, only. This module allows
administrators to create, modify and delete users and roles and assign privileges on Domain Objects
managed by the TIBCO BWPM instance:
Users: users can be created and assigned to (multiple) roles to ease administration.
Roles: Access rights are managed on role level and control which modules, data and functions are
available for the members of the role.
Domain Objects
BWPM organizes (technical) resources hierarchically. At the top of the hierarchy the name of the
TIBCO BWPM instance is shown. The next deeper levels are called Domain, Deployment, Engine and
Process, known as Domain Objects. They represent manageable objects within the TIBCO BWPM
instance. The taxonomy will be referenced as Domain Object Tree (short: DOT).
Where possible, the taxonomy will match existing concepts of the monitored technology.
For example: if BWPM is used to monitor TIBCO BusinessWorks Domains, the taxonomy will match
the taxonomy of the TIBCO BusinessWorks Domain (best effort). The terminology used by TIBCO
Administrator is matched by the TIBCO BWPM Server GUI as follows:
TIBCO BWPM Server
TIBCO Administrator
n.a.
TIBCO BusinessWorks Domain
Service
Service Instance
Process
|2
Process Monitoring
Using the DOT and various other search and filter controls the user can identify and navigate to any
hotspot in the TIBCO BWPM instance with ease.
|3
TIBCO BusinessWorks
TIBCO BusinessWorks
TIBCO BusinessWorks
TIBCO BusinessWorks
The minimum setup of a TIBCO BWPM instance consists of a TIBCO BWPM Server and at least one
BWPM Client. The TIBCO BWPM Server requires a servlet engine to run in (i.e. Apache TOMCAT),
while the TIBCO BWPM Clients are run standalone or as plugins to their respective target technology
(i.e. BWPM Client for BW requires a TIBCO BusinessWorks engine).
|4
|5
BWPM_SERVER is the name of the server running the Tomcat server which hosts the BWPM
web application
PORT is the port of the Tomcat server (default is 8080)
|6
|7
BWPM_SERVER is the name of the server running the Tomcat server which hosts the BWPM
web application
PORT is the port of the Tomcat server (default is 8080)
Automatic Logout
After 15 minutes of inactivity a user will be warned that his session will be terminated shortly. If no
activity is recorded within the next five minutes after the warning, the user will be logged out.
|8
Manage Users
To access the User Management, navigate to the Users node in the Administration Tree. This will
open a list of available users in right side of the window.
|9
Select the Roles tab on top of the dialog to configure the new users role memberships.
Once the user is created, a personal role of the same name as the user is created in the system and
the user is added to that role.
| 10
Manage Passwords
When creating a user, an initial password must be set. That password should be changed by the new
user after his first login. The password can be changed either by an administrator or by the user using
the Profile dialog:
| 11
| 12
Manage Roles
To access the management interfaces for roles, navigate to the Roles node in the Administration
Tree. This will open a list of available roles in right side of the window.
| 13
validity.
Once the role is created, privileges can be configured (see Granting and Revoking Permissions for
more information) and user added.
To edit a role you can either select it straight from the Administration Tree, or mark the entry in the
list on the right side and click the Edit button. All changes to roles come into effect immediately
when it they are saved. Users are not required to logout and login for these changes to be applied to
their BWPM session.
To delete a role it must be selected from the users table and the Delete button must be pressed.
Confirm the delete request when prompted:
| 14
Read: a role with this privilege can access all process instances relating to this domain object.
All reports and statistics displayed to the user include this domain object.
Data: the user is granted the right to access all data that is collected automatically by a
BWPM Client. This includes data generated by trace points and detailed stack traces; such
trace point and stack trace data may include sensitive information and hence access is
protected by this privilege.
Manage: a user with this privilege is entitled to manage trace points (enable, disable, set
duration).
To update a roles privileges navigate to the Privileges tab of the Role Edit dialog. Then navigate
to the domain object you want to manage a privilege for. Privileges are assigned using a hierarchical
order. If a privilege is granted or revoked on a higher level, it will be granted or revoked on all its
child elements.
For example: granting the Manage privilege to the fs_dev domain (see picture above) will grant
the privilege to its entire domain objects (Deployments, Engines and Processes automatically.
| 15
| 16
Domain Objects
Domain objects are technical resources managed within a TIBCO BWPM instance. They are organized
in a hierarchy, starting at the domain level. The descending levels, in order, are: domain,
deployment, engine and process.
| 17
Rules
The server does allow the configuration of monitoring rules, which can trigger various actions. For
example, an administrator may want to get email alerts whenever a certain BW jobs execution time,
or an individual activity, exceeds a given threshold.
Rules can be configured and managed in the Administration -> Rules category:
When the Rules node is selected, a list of all configured rulesets is shown. A ruleset bundles
multiple rules. Each rule has a set of conditions, which all must be met for the rule to trigger all of its
actions. Using the buttons at the bottom of the table, existing rulesets can be edited or deleted and
new rulesets can be created.
| 18
Editing rules
When editing or creating a rule, at first the scope of the rule must be set (1).
The scope can be limited to an individual TIBCO BusinessWorks domain by selecting it from the drop
down menu; to not limit the scope of the ruleset to a specific domain, select All.
Next, a name for the ruleset must be set (2). To add rules to the ruleset, click on the Add Rule
button (3). This creates an empty rule configuration:
Set a name for the newly added rule (4), and add at least one condition (5) and one action (6) to the
rule. Additional rules can be added to the ruleset by clicking on the Add rule button (7). To delete
rules from a ruleset click the delete button to the right of the rule (8).
Editing Conditions
To add a condition, click on the Add Condition button (5). Every condition needs four items to be
configured: the object the condition should work on (9), the objects attribute (10), a comparator
(11) and a value to compare the objects attribute with (12). For new conditions only the objects
field (9) is visible. The other fields appear step by step after the previous field has been configured.
Each fields appearance is dependent on the previous fields configuration. For example, if you select
Process as object and Duration as attribute, the comparators you can choose from will only allow
comparison of numbers, since Process Duration is a number.
| 19
Attribute
Attribute Type
Valid Attributename
Activity (duration)
<name of activity>
Number
Attribute
<name of attribute>
Number |
String | Date
Deployment
Name
String
Any string
Example: OrderProcessing
Domain
Name
String
Any string
Example: Development
Engine
Name
String
Any string
Example: OrderProcessing-Archive
Event
Status
String
Error Code
String
Any string
Example: ORA-01417
Error Message
String
Any string
Example: A table may be outer
joined to at most one
Name
String
Any string
Example: LogInfo
Timestamp
Date
Any date
Example: 2012-10-01 23:42:37
Name
String
Process
| 20
Server
Status
String
Business Object
String
Any string
Example: Invoice
Business Service
String
Any string
Example: Fax Service
External Reference
String
Any string
Example: A119764
Jobstart
Date
Any date
Example: 2012-10-01 23:42:37
Jobend
Date
Any date
Example: 2012-10-01 23:42:37
Duration
Number
Name
String
Any string
Example: vsltibbw01.domain.com
The following comparators are available for the different attribute types:
Attribute Type
Comparators
String
Number
Date
after, before
Editing Actions
Whenever all conditions of a rule are matched, the server triggers all actions configured for that very
rule. To add an action, click on the Add action button (6) and select from the available actions:
Email, JMS Message or Create Task.
| 21
To configure or show the settings of an action, click the Settings button (14) next to the action
select list. Actions can be deleted using the Delete button next to the actions Settings button.
Email Action
Note: before Email actions are configured, please validate that an email server has been configured
in Administration -> Connections -> SMTP. Otherwise the system will not be able to send emails.
The email action is configured using the following five (optional) fields: to, cc, bcc, subject and
message body. An example configuration could be as follows:
Description
Example
To
alert@domain.com;
support@domain.com
Cc
alert@domain.com;
| 22
support@domain.com
Bcc
alert@domain.com;
support@domain.com
Subject
Message
Notification email
The process took longer than
expected!
Note: the email action does not support email attachments in this release.
Description
Example
Destination
new.destination
JMS Connection
jmsQueueConnection
Message
New
| 23
Hello, world!
Note: the JMS Message action does not support configuration of JMS Headers in this release.
Description
Example
Task name
Assign to
Priority
Comment
100
| 24
Templating Language
For all settings that allow free text entries, such as email address, message body or task comment, a
templating language is available. This allows to dynamically insert content into the concrete field at
runtime, such as process names, activity durations and other.
Text strings that should be replaced when the action is triggered must be enclosed using square
brackets ([ and ]). For example, to insert the name of the process into the email message body,
the following text can be used: The process name is: [process.name]. At runtime this will result
into, for example, this: The process name is: DemoFolder/DemoProcess.process
A valid token consists of two parts: the object and its attribute, and is of this format:
[object.attribute]. The following table lists all available objects and attributes combination:
Object
Attribute
activity
<name of activity>
attribute
<name of attribute>
deployment
name
domain
name
engine
name
event
status
errorcode
errormessage
name
eventdatetime
sequence
process
name
businessobject
businessservice
externallogid
jobstart
jobend
duration
logid
correlationid
businessstart
businessend
parentlogid
jobid
machine
name
rawmessage
Note: all tokens are case sensitive! All settings listed above must be used in lower case, but for
an activity or attribute name. If an activity or attribute name is using mixed case, the exact case must
be used in the template text, too.
| 26
Each section, but the header section containing the time window toolbar, can be resized, collapsed
and expanded by dragging the dividers between the sections, or clicking on the
icons in the
middle of the dividers.
At the top of the screen the time window selection toolbar is located. It is used to easily set the time
window the user wants to query data within. Everything displayed by the TIBCO BWPM Server GUI is
constrained by the time window selected here! Shortcuts to conveniently select frequently used
time windows (i.e. today, last 24h, last week, 1h back / forth, etc) are available, too:
At the very left side of the screen the user can select from various categories: Technical View (which
contains the Domain Object Tree), Business View (which gives easy access to registered business
objects and services in BWPM) and Administration (if the user is a member of the admin role). The
screenshot below shows the Domain Object Tree inside the Technical View category.
| 27
Depending on the selected category, the right part of the page will change and present additional
information to the user.
The Technical View and Business View allow searching, filtering and reporting on domain objects, or
processes executed by any such domain object.
The Administration category enables a BWPM administrator to configure the TIBCO BWPM instance,
for example adding users or additional data providers. Please refer to the TIBCO BWPM Server
Administration Guide for additional information about this category. This category will not be shown
to users that are not member of the admin role.
A typical workflow when interacting with the TIBCO BWPM Server GUI is as follows:
A user logs in to the system. Depending on the roles the user holds and his personal settings the
initial layout is rendered and displayed. The user will choose the time window (1) to search data
within (default: most recent 60 minutes), and limit the scope of the search to a set of domain objects
by clicking on a node in the domain object tree (2). If the user is only interested into processes of a
certain state, for example error, he will select one or more of the status filter buttons (3).
Any of these interactions with the TIBCO BWPM Server GUI triggers a new search. The search results
are displayed immediately in the Main Table (4) at the center of the screen. The user may select any
of the records displayed and be presented additional information about the record and its context.
| 28
At the far right side of the screen, process instances sharing the same Correlation ID with the
selected record of the Main Table are listed (5). Each record can be expanded to show the
intermediate events that may have been recorded during the execution of the process instance.
Additional information about the selected process instance or event record is displayed at the
bottom right part of the screen, the Details Table (6).
| 29
The list can be filtered by entering a filter text into the text box B. Any record matching the filter
will be displayed. You can use ! to negate a token; wildcards are not supported. The filter is case
insensitive. It is applied to all records of the result set, not only the ones displayed in the Main Table.
Also, it filters on all properties and attributes associated with the record or process instances (it acts
like a full text search on every property and attribute).
Examples:
11:00:00 will find all records that either started or ended at 11:00:00
!success will find all records that are NOT of status success
!success 2012-07-10 order A7104201 will find all records that are not of
status success, have been created on July 10th 2012, have an attribute of name order and a
value of A7104201.
At the bottom of the table, a numeric summary is displayed, showing the total result set size, the
amount of filtered records and the amount of matching records.
A matching record, listed in the Main Table, shows the following information (in order):
| 30
Correlation Status: if process instances share the same Correlation ID, they are correlated.
The Correlation Status is an indicator of that (a) the process instance is correlated with other
process instances and (b) what the most severe status of the correlated processes is (green:
all correlated processes are of status success; yellow: at least one correlated process is of
status warning; red: at least one correlated process is of status error). You can click on the
Correlation Status icon to expand the list of correlated processes (E).
Process Status: the icon shows the current status of the process instance. It can be: running,
success, success with warning, success with error, warning or error.
Process Path: this is the URI of the process definition within its execution engine. For
example: if the process is executed within TIBCO BusinessWorks, the Process Path shows the
exact location of the process definition within the TIBCO BusinessWorks project.
Process Name: this is the name of the process definition this instance has been derived from;
if the process instance has custom attributes, the first two attributes (in alphabetical order)
are displayed right below the process name. If more than two attributes are available for this
process instance, a hint is displayed. To show all attributes, select the record and check the
Details Table.
Job Start: the timestamp of when the job was started by its execution engine
ms: the execution time of the process in milliseconds
The displayed columns can be selected using the column selector, located at the top right of the
Main Table:
The information is shown for correlated processes, too, but for the Correlation Status, which is not
available on correlated processes.
Click on the Correlation Status icon to expand a record and show the correlated processes.
Correlated processes (including the very process instance that just has been expanded) are shown
sorted by job start and in ascending order. In other words: the correlated process with the oldest job
start is at the top of the list, the most recent at the bottom. The sort order of correlated processes
cannot be changed. The expanded record is embedded into the list and surrounded by a blue border,
for better visibility:
| 31
Whenever a process instance is selected in the Main Table, the Event Table or Process Diagram,
Details Table and Domain Object Tree are updated:
The Event Table will list all correlated processes (as if the process instance was expanded in
the Main Table itself) and highlight the selected process instance.
If, instead of the Event Table, the Process Diagram is visible, it will be updated with a
graphical representation of the very process definitions version that was active when the
process instance was executed:
| 32
The Details Table at the right bottom of the screen is updated to display properties and
attributes of the selected process instance:
And, finally, the Domain Object Tree will expand and mark the process definition, which the
selected process instance was derived from.
| 33
This allows the user to rapidly navigate through the process instances and find the information he is
searching for.
Event Table
The Event Table is located at the right top, next to the Main Table. To show the Event Table, select
the Events tab. When a record of the Main Table is selected, the Event Table will list all processes
correlated with the selected Main Table record, including the very record itself. The processes are
listed in ascending order of their start date and time.
Event indicator: If a process instance has recorded intermediate (BWPM) events, a gray
triangle is shown in front of the record. Click on the triangle to expand and collapse the
records, showing and hiding the recorded events.
| 34
Process status / Event severity: the icon represents the status of the process instance, as
recorded in the BWPM database. The status is identical to the status shown in the Main
Table for this process instance.
For BWPM Events the status icon represents the events severity, which is any of:
informational, success, warning or error.
Name: for processes instances the name of the process definition is shown. The meaning is
identical to the Process name column of the Main Table.
For events, the name of the activity recording the event is shown.
Message: available for events, only. The log message a short descriptive text of the logging
event is displayed here.
Event Date and Time: the timestamp of when the event was created
Log data / Stack Trace: these two columns will show icons, if additional data (logged data or
stack trace) is available for an event. Click on the icon to display the data.
When the user clicks on an event row, the Details Table is updated to show the data related to the
very event.
Process Diagram
The Process Diagram is located at the right top, next to the Main Table. To show it, select the
Process Diagram tab. The Process Diagram is a visual representation of the process definition a
user selected: when the user selects a Process from the Domain Object Tree, the most recent process
definition available within the selected time window (see time window toolbar at top of the screen)
is shown; when a user selects a record of the Main Table, the process definition used for the selected
record is shown.
If no process definition can be found in the database, a dummy graph is shown.
When the user selects a record of the Main Table, the process definition will show additional
information:
For more information on how to interact with the Process Diagram, see chapter Process .
Details Table
The Details Table is located at the right bottom of the screen. Select the Details tab to show it.
Whenever the user selects a process instance in either the Main- or the Event Table, the Details
Table is updated to display more detailed information about it.
The list starts with the custom attributes a developer may have configured when using the BWPM
Client; typically they will represent valuable business related information, such as Customer Number,
Purchase Order Number or similar.
| 35
Business Service
Business Object
Job Start
Job End
Duration (in milliseconds)
Machine Name (server the process was executed by)
Job ID (i.e. TIBCO BusinessWorks job id)
Log ID (a GUID identifying this record)
Correlation ID
Parent Log ID
The list can be filtered using the Search text field at the top right; sorting is not possible.
The DOT is color coded: gray entries have not had any process executions within the selected time
window; hence a search for those domain objects would return an empty result. Hovering the mouse
cursor above a gray entry will display a tooltip with the last recorded activity time of that domain
object.
Colored entries had process executions within the selected time window; a search may return
results.
The DOT can be filtered by using the text box above, or the DOT Filter Buttons next to it:
| 37
When entering a filter text, the DOT is reduced to elements matching the entered text. Nodes with
no matching children are removed from the tree. The DOT Filter Buttons can be used to further alter
the number of nodes displayed:
Show starter processes. A starter process is a process definition that can be
instantiated by an external event, such as Timer, JMS Messages or web service
calls. Starter processes have a little green triangle in their icon. When this filter is
selected, all sub process definitions are hidden from the tree.
Show active processes. When selected, all grayed out entries are removed from
the tree; only process definitions that have been executed within the selected
time window are displayed.
Shorten path names (only show the first letter of each directory in the project
path). A tooltip will still show the full path of the process definition, for
convenience.
Use the filter text and button to quickly reduce the amount of domain objects displayed, or find a
specific domain object by name more easily.
First, set the time window to search within; remember that everything displayed in the
TIBCO BWPM Server GUI is constrained by the time window selected at the top of the
screen!
Second, chose the domain object to find instances of
Third, decide on the status to search for to further limit the result set
Finally, use the filter and sorting features of the Main Table to track down on a particular
record.
All search results are compiled by taking the following aspects into consideration:
The following chapters will discuss each of the steps outlined above, and the available search options
in more detail. Reading them carefully will enable the user to efficiently retrieve any information
from the TIBCO BWPM instances database he may be interested in.
By Time
Every query triggered by the user is constrained by at least two properties: the users privileges and
the selected time window. While only an administrator can grant and revoke a users privileges, the
user can control the time window to search within. As a rule of thumb, the more precise the time
window is chosen (the smaller it is), the faster the query is executed and results are presented on the
screen.
The toolbar has ten buttons and two date picker fields. The field to the left is the from date and
time, the field on the right the to date and time; a search will only return results from between
these two dates. The from date must always be set, while the to date field is allowed to stay
empty, in which case the to date is interpreted as now. After setting the time window, a click on
the very right button will start the search. Note: changing the time window using the date pickers
alone will not trigger a search automatically. The user must click on the Search button!
The remaining nine buttons (seven to the left, two to the right of the date picker fields) allow quickly
selecting a predefined time window and triggering a search instantaneously (when using the buttons,
the Search button does not need to be pushed to trigger a search):
From 0:00 to current time; the number
inside shows the current day of month
Last 24 Hours
Start search
Last 48 Hours
-1 Hour
Last Week
+1 Day
Last Month
+1 Hour
-1 Day
The default behavior of the toolbar is to set the from date to now minus 60 minutes when the
user logs in, and leave the to date blank. Consequently the initial result set shown in the Main
Table right after login will show the process instances with a start date within the most recent 60
minutes.
| 39
A typical usage scenario is that a user may see a peak in average duration or recorded errors. By
simply drilling down into the affected time window, the Main Table is filtered. Now the user can
inspect the individual records for root cause analysis.
By Taxonomy
Using the Technical View and the Business View a user can limit the scope the search easily. The
Technical View contains the Domain Object Tree, a hierarchical representation of all monitored
Domain Objects. Selecting any node of the DOT limits the scope of the search to the selected Domain
Object and its children.
The Business View allows limiting the scope of the search by using business terms. Each process
instance that is associated with a defined business object or business service can be found easily,
regardless of where it was executed technically (which domain, deployment or process definition).
| 40
The additional filtering and display options are discussed in the chapter Fehler! Verweisquelle
konnte nicht gefunden werden..
| 41
Note: the Business Objects and Business Services presented to the user are constrained by the
privileges granted to the user!
By Status
In most cases a user of the TIBCO BWPM Server GUI is interested in processes of a certain state,
while the other states may be safely ignored for the time being.
Every click on the Status Filter buttons triggers a search and the Main Table is updates accordingly.
The user can drill down into the pie chart by clicking on any of the slices. Clicking on a slice of the
inner circle will narrow down the search by status. For example: clicking on the (very thin) yellow
slice (just left of the red Error slice), will adjust the search to only report on processes of state
Warning.
A click into a slice of the outer circle will limit the search by status AND next deeper domain object
type. For example, clicking on the green ESBEngine slice of the outer circle will drill down into the
ESBEngine Domain Object (of type Deployment) AND status success.
The Status Filter buttons and the Domain Object Tree will adjust accordingly with the clicks into the
pie chart.
| 43
QuickSearch
The QuickSearch bar is a complex, yet powerful tool to most rapidly narrow down the search for
process instances. It allows the user to custom build a search query; the wizard-like QuickSearch bar
will suggest search values based on the set time window and the search criteria entered so far. Only
valid combinations that would actually return a non-empty result set are suggested by the wizard.
Type
Wildcard Description
Attribute
Attribute
No
Attributevalue
Attribute
Yes
CorrelationLogId Property
Yes
Deployment
Taxonomy No
Domain
Taxonomy No
Engine
Taxonomy No
EventCode
Event
property
Yes
| 44
EventMessage
Event
property
Yes
ExternalLogId
Property
Yes
JobId
Property
Yes
LogId
Property
Yes
Object
Property
No
ParentLogId
Property
Yes
Process
Taxonomy No
Service
Property
No
Status
Property
No
Wildcards are allowed for the keywords Attributevalue, CorrelationLogId, EventCode, EventMessage,
ExternalLogId, JobId, LogId, and ParentLogId:
To use the QuickSearch bar, start typing the keyword you want to use. The control will automatically
suggest matching keywords. Once you selected a keyword, the available values are presented in a list
box to select from. The system narrows down the available options by only showing values that
match the time window and already entered search criteria!
For example: if you have already picked a Deployment and want to add the Attribute keyword, only
attribute names that actually exist within the chosen Deployment are displayed! Or, if you have
chosen an Attribute, only Deployments will be suggested that actually have matching process
instances.
| 45
With Attribute and Attributevalue being the only exceptions, keywords of the same name are
combined in the search using a logical OR, while keywords of different names are combined using a
logical AND. Attribute and Attributevalue are always combined using AND.
Examples:
Search for processes that have been executed in either of the two deployments:
Search for processes that have been executed in the given deployment and have an attribute of
name Order No:
The following sample will search for processes that have been executed in the given deployment and
have an attribute of name Order No and its value starting with B79:
See a sample result set for the above query in the below screenshot:
| 46
If a valid search returns an empty result set (for example: the user searches for a LogId that is not
known by the system), the QuickSearch bar will flash red, once.
Process Context
A process always has a context associated with it. The context describes the state of the environment
the processes was executed within; knowing the context allows the user to better understand why
the process performed the way it did, and whether a similar behavior can be expected in future,
similar situations.
The most obvious context information is the execution time of the process: when did it start, and
when did it end. Its location within the taxonomy defines the context further; it provides
information about the Domain, Deployment and Engine the process was executed within.
The final major context information is the Correlation Status. This status indicates how well the endto-end processing chain performed. See the screenshot below:
| 47
At first glance, the second process from the top seems to be OK. However, its Correlation Status is
red, which means somewhere in the processing chain an error was recorded. The record has been
expanded in the screenshot, so it becomes obvious that during the SAP processing an error was
thrown. The user may now drill down into the correlated processes to better understand what
caused the error and what the consequences were.
The experienced user is able to not only understand what happened to a small piece of the
processing chain (an individual process), but is hinted on jeopardy situations along the processing
chain. This reduces the effort for analyzing erroneous situations significantly.
Process Data
During its lifecycle each process collects data; data that describes how well a process performed
(technically and business wise). The BWPM system knows about the following data categories:
(built-in) Properties: these properties always exist for every process instance monitored by
BWPM. They include the jobs start and end timestamps, a number of IDs and other
information, for example about its location in the taxonomy.
Custom Attributes: by configuration an administrator or developer can add attributes to a
process instance that hold valuable information. Typically that information is taken from the
(business) data processed by the process instance.
(Log) Events: by design a developer can add Log Events to a process; any such event
provides information about the state of processing, and may set the final state of the
process. An event can be used to set or update attributes and process state. They are also
used to generate the fourth category of data:
Log data: Log data are more complex data structures than attributes. For example: a
complete invoice can be logged by an event and stored as Log Data. Since this data often is
the original payload of a business transaction, it commonly is sensitive data. To view Log Data
the user must have the Data privilege.
| 48
Process Diagram
Whenever a Process Definition in the DOT or an entry of the Main Table is selected, the Process
Diagram of the associated Process definition is shown. The process diagram is an exact
representation of the original Process Definition as implemented by the developer.
BWPM maintains all historic versions of a Process Definition. This allows the TIBCO BWPM Server GUI
to display exactly the version of the Process Definition that was used by the execution engine for the
very selected process instance. In case the user selects the Process Definition directly from the DOT,
the most recent version within the selected time window is displayed.
The Process Diagram has a toolbar (A) for navigating within the graph (zooming, moving the
process stack). The Process Diagram area can be expanded to full screen and collapsed to original
size using the Resize button B. The name of the Process Definition is shown in the top left corner of
the diagram (C). When a process instance was selected (from the Main Table), the transitions
between the activities are colored green to show the exact process flow for this very instance. If the
process encountered an error while executing, the erroneous activity is highlighted in red (E);
activities selected by the user for further inspection are highlighted in green (D). Iteration groups
can be inspected per iteration by using the back and forth buttons in the header of the group
element (F). Finally, the section G below the Process Diagram displays more detailed information
about the process instance or the selected activities.
| 49
The user can interact with the Process Diagram in many ways:
Activity Configuration
The Configuration tab shows the activity icon and name, a (optional) description the developer
may have entered, and the elapsed and CPU time of the activity for this very process instance. The
table next to this information shows the exact configuration of the activity for information.
| 50
To inspect the concrete trace data, click on the far right icon of the trace data record. The payload is
displayed and formatted in a new dialog; it can be downloaded from within the dialog by clicking on
the top left Download link:
Input Mapping
To investigate the input mapping configuration of an activity, select the Mapping tab. The tab
shows the exact mapping rules for this activity, as designed by the developer.
| 51
This view is very useful, when an activity has been executed multiple time within an iteration group,
since the data updated automatically, when the user flips back and forth through the iteration group.
The user can easily see the data entering and leaving the activity for every single execution.
Example of Output Data:
| 52
| 53
Aspects
Note: managing Aspects requires the user to have manage privilege on the specific process
definition.
Aspects allow to instrument process activities non-intrusively and without downtimes of the engine
anywhere during a process execution. Using an aspect, the user can choose to add a log event (and
effectively update the log status of a job), set log context properties, such as correlation id and
others, and add custom attributes to the log, which can be searched by using the QuickSearch bar.
| 54
This opens a dialog for the aspects configuration. The dialog is separated into four sections:
In section Add Event (1) a log event can be generated, which will use the selected log level
and set the process status accordingly. The name of the event will be Declarative Event, so
that the user can easily distinguish between events generated by activities or aspects in the
event table.
Section Properties (2) allows defining regular expressions to extract data from the activitys
output data and assign the result to the mentioned built-in properties: Business Service,
Business Object, Correlatio0n ID, External ID and Parent ID. Leave a field blank to not activate
this feature for any given property.
Custom Attributes (3) allow defining an arbitrary amount of extra attributes to add to the
process log, and set their values by applying the given regular expression to the activitys
output data. Note: when custom attributes are configured, an event of severity Info will
automatically be added to the process event log (unless the user has defined a higher
severity using Add Event). Attributes created this way are associated with that event.
The button area lets the user save or delete the settings, or cancel the dialog (not applying
changes).
| 55
When an aspect is defined for an activity the process graph will show the Aspect icon as an
annotation on top of the activity:
Aspects are versioned. That means, the current aspect configuration for a process definition can be
inspected by first selecting the process definition from the DOT in the technical view. Historic settings
are available when a process entry is selected in the center table. The aspect configuration shown in
the latter case matches the configuration that was active when the process was executed.
| 56
Data retention
Data stored within the BWPM database will automatically be deleted after it has expired. By default,
BWPM stores different type of data for a different period of time. The shortest (default) retention
period is for trace data (7 days), followed by track data (14 days) and event and process data (30
days).
A user with manage privilege for a domain object can configure the retention period easily by
selecting the corresponding domain object from the DOT and selecting the Administration tab,
which is displayed next to the Main View and Reports tab.
To change the retention period, simply update the values listed and click Save settings. The data
will be deleted during the next run of the data management job (a database job that frequently
purges expired data).
| 57
Glossary
Term
Definition
Business View
Correlation Status
Data Provider
Details Table
Domain Object
Domain Object Tree
Event Table
The Event Table contains specific log events per process instance. For
example an error event indicates that during execution of a process an
error occurred. The error event also might contain additional stack
trace information for analyzing the failure.
Main Table
Instance
Process Diagram
The Process Diagram shows the process definiton and the track of the
process instance according to the selected main log entry
Process Instance
Quick Search
The Quick Search allows you to search for specific log entries very
easily.
Technical View
Tracepoint
Track
| 58