TIBCO BWPM Server User Guide 2.0

March 21, 2018 | Author: mauro | Category: Email, Domain Name, Server (Computing), Hierarchy, Graphical User Interfaces


Comments



Description

TIBCO ActiveMatrix BusinessWorks™Process Monitor Server User Guide Software Release 2.0 Published: November 2012 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 1 Overview 1 User Management 2 Domain Objects 2 Process Monitoring 3 TIBCO BWPM instance 4 TIBCO BWPM Server 4 Tomcat Servlet Container 5 TIBCO BWPM Clients 5 Starting TIBCO BWPM Server 6 Starting TIBCO BWPM Server on Windows 6 Starting TIBCO BWPM Server on UNIX 7 Stopping TIBCO BWPM Server 8 Automatic Logout 8 Manage Users and Roles Manage Users 9 9 Adding and Deleting Users 10 Granting and Revoking Permissions 11 Manage Passwords 11 Manage Roles 13 Adding and Deleting Roles 14 Granting and Revoking Permissions 15 Granting Access to Domain Objects Domain Objects Rules 17 17 18 Editing rules 19 Editing Conditions 19 Editing Actions 21 Email Action 22 JMS Message Action 23 Create Task Action 24 Templating Language 25 Working with Monitored Objects 27 Overview 27 Using the GUI 29 Main Table 29 Event Table 34 Process Diagram 35 Details Table 35 Domain Object Tree 36 Searching for Process Instances 38 By Time 39 By Taxonomy 40 By Status 42 QuickSearch 44 Interacting with Process Instances 47 Process Context 47 Process Data 48 Process Diagram 49 Data retention 57 Glossary 58 . . See the TIBCO BWPM Server Administration and Configuration Guide for information about installation and configuration of the server.Preface This document explains the TIBCO BWPM Server GUI. Overview The TIBCO BWPM Server has two main components: the TIBCO BWPM Server and the TIBCO BWPM Server GUI. |1 . the TIBCO BWPM instance and their relationships with other programs in the installation. allowing the user to interact with the TIBCO BWPM Server and the data managed by it. The TIBCO BWPM Server GUI provides a thin client (browser) interface. The TIBCO BWPM Server manages resources in a TIBCO BWPM instance. your view may vary. The next picture shows the User Management module in the TIBCO BWPM Server GUI.TIBCO BWPM Server User Guide Introduction This chapter gives a high level overview over the TIBCO BWPM Server GUI. Depending on the roles you have been assigned to. the taxonomy will match existing concepts of the monitored technology.TIBCO BWPM Server User Guide User Management The User Management is available to members of the “admin” role. Engine and Process. This module allows administrators to create. The next deeper levels are called Domain. They represent manageable objects within the TIBCO BWPM instance. At the top of the hierarchy the name of the TIBCO BWPM instance is shown. Domain Objects BWPM organizes (technical) resources hierarchically. only. The terminology used by TIBCO Administrator is matched by the TIBCO BWPM Server GUI as follows: TIBCO BWPM Server TIBCO Administrator TIBCO BWPM instance Domain Deployment Engine Process n.a. The taxonomy will be referenced as “Domain Object Tree” (short: DOT). 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. Where possible. Roles: Access rights are managed on role level and control which modules. For example: if BWPM is used to monitor TIBCO BusinessWorks Domains. TIBCO BusinessWorks Domain Service Service Instance Process |2 . data and functions are available for the members of the role. Deployment. known as “Domain Objects”. the taxonomy will match the taxonomy of the TIBCO BusinessWorks Domain (best effort). |3 .TIBCO BWPM Server User Guide Compare the following picture with the picture above: 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. too. For example. a single TIBCO BWPM instance can monitor resources of multiple TIBCO BusinessWorks Domains. Two TIBCO BWPM instances cannot share the same database schema. BWPM Client for BW requires a TIBCO BusinessWorks engine). A TIBCO BWPM instance monitors and grants access to some or all of its managed domain objects. BWPM Instance „Development and Test“ TIBCO Administration Domain „Development“ TIBCO Administration Domain „Test“ 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. All data displayed and actions triggered by the user are checked against the user’s access rights and either granted or denied.TIBCO BWPM Server User Guide The user interface is context sensitive and will adjust its layout depending on the user interaction. |4 . The TIBCO BWPM Server requires a servlet engine to run in (i.e. The TIBCO BWPM instance is a logical management domain and does not relate to the physical or logical layout of the monitored domain objects. Apache TOMCAT). communicates with local or remote TIBCO BWPM Clients and provides the TIBCO BWPM Server GUI. TIBCO BWPM Server The TIBCO BWPM Server acts as the core of a TIBCO BWPM instance. This affects reports and statistics. it also manages the resources participating in the TIBCO BWPM instance and enforces the authorization concept. TIBCO BWPM instance When the TIBCO BWPM Server is installed and its database objects are created.e. The name given will become the logical name of the TIBCO BWPM Server from there on. the installation procedure asks for a TIBCO BWPM instance name. while the TIBCO BWPM Clients are run standalone or as plugins to their respective target technology (i. It processes inbound event messages. |5 .TIBCO BWPM Server User Guide Tomcat Servlet Container The Tomcat Servlet Container manages the communication and provides the BWPM GUI. a BWPM Client can fully operate even if the communication with the TIBCO BWPM Server is interrupted.e. log files. See the Apache Tomcat manuals for further reference. other applications. The TIBCO BWPM Server can communicate with TIBCO BWPM Clients and change their configuration without the requirement to restart them. TIBCO BWPM Clients are fully decoupled from the TIBCO BWPM Server. etc) and forward them to the TIBCO BWPM Server. TIBCO BWPM Clients TIBCO BWPM Clients are stand-alone components or plugins to their respective target technology. It is configured using the standard Tomcat configuration files. TIBCO BWPM Clients collect monitoring data of other data sources they connect to (i. Alternatively. Then run the Tomcat startup script “startup. starting the Tomcat server and the BWPM web application is sufficient to start the TIBCO BWPM Server. the corresponding Windows service must be started.bat”. Note: your Tomcat installation home may vary! Open the web browser and navigate to the following URL: http://<BWPM_SERVER>:<PORT>/BWPM where - 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 . Since the TIBCO BWPM Server is a standard web application running inside a Tomcat server. the Tomcat server can be started from the command line as follows: Open a DOS prompt and navigate to the Tomcat bin directory.TIBCO BWPM Server User Guide Starting TIBCO BWPM Server In order to access the TIBCO BWPM Server GUI the TIBCO BWPM Server must be started first. Starting TIBCO BWPM Server on Windows If the Tomcat server has been registered as a Windows service. Note: your Tomcat installation home may vary! Open the web browser and navigate to the following URL: http://<BWPM_SERVER>:<PORT>/BWPM where |7 .sh”.TIBCO BWPM Server User Guide Starting TIBCO BWPM Server on UNIX On Unix change the current directory to the Tomcat bin directory and run the startup script “startup. the user will be logged out.TIBCO BWPM Server User Guide - 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) Stopping TIBCO BWPM Server To stop the TIBCO BWPM Server the Tomcat server must be stopped. 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 corresponding Windows service must be stopped. In all other cases navigate to the Tomcat bin directory and run the stop script “shutdown. If the Tomcat server has been registered as a Windows service.sh” (Unix). |8 .bat” (Windows) or “shutdown. roles and access rights. |9 . This will open a list of available users in right side of the window. navigate to the “Users” node in the “Administration Tree”.TIBCO BWPM Server User Guide Manage Users and Roles The User Management allows a member of the admin role to manage users. The User Management module is located in the Administration category: Manage Users To access the User Management. created and deleted using the corresponding buttons underneath the list. | 10 . Optionally a comment can be added and a time interval that constraints the new user’s validity be configured. the username cannot be changed afterwards. When created. Select the “Roles” tab on top of the dialog to configure the new user’s role memberships.TIBCO BWPM Server User Guide Adding and Deleting Users Users can be edited. When creating a user you must supply a user name (which will act as the login id) and password. 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. Users are not required to logout and login for these changes to be applied to their BWPM session.TIBCO BWPM Server User Guide To edit a user you can either select it straight from the Administration Tree. an initial password must be set. only. it gets created automatically when a new user is created). To grant or revoke permissions from a user. The password can be changed either by an administrator or by the user using the “Profile” dialog: | 11 . To delete a user it must be selected from the users table and the “Delete” button must be pressed. To grant a permission to a single user. All changes to role memberships come into effect immediately then the user entry is saved. configure the permission for the user’s personal role (a role that has the same name as the user. Granting and Revoking Permissions Permissions are managed via roles. the permission must be configured for a role the user is member of. That password should be changed by the new user after his first login. Manage Passwords When creating a user. or mark the entry in the list on the right side and click the “Edit” button. Confirm the delete request when prompted: Note: the admin user cannot be deleted. Also the user may configure which BWPM view should be presented when logging in to the system. etc). | 12 .TIBCO BWPM Server User Guide The user can change his first and last name (required for personalized emails. update the email address and change the password. This will open a list of available roles in right side of the window.TIBCO BWPM Server User Guide Manage Roles To access the management interfaces for roles. | 13 . navigate to the “Roles” node in the “Administration Tree”. To edit a role you can either select it straight from the Administration Tree. Users are not required to logout and login for these changes to be applied to their BWPM session. you must supply a name and a time interval that constraints the new role’s validity. All changes to roles come into effect immediately when it they are saved. Confirm the delete request when prompted: Note: the admin role cannot be deleted. | 14 . or mark the entry in the list on the right side and click the “Edit” button. To delete a role it must be selected from the users table and the “Delete” button must be pressed. When creating a new role. created and deleted using the corresponding buttons underneath the list. privileges can be configured (see Granting and Revoking Permissions for more information) and user added. Once the role is created.TIBCO BWPM Server User Guide Adding and Deleting Roles Roles can be edited. Data: the user is granted the right to access all data that is collected automatically by a BWPM Client. To update a role’s privileges navigate to the “Privileges” tab of the “Role Edit” dialog. it will be granted or revoked on all its child elements. Then navigate to the domain object you want to manage a privilege for. such trace point and stack trace data may include sensitive information and hence access is protected by this privilege. Engines and Processes automatically. set duration). disable. If a privilege is granted or revoked on a higher level. All reports and statistics displayed to the user include this domain object.TIBCO BWPM Server User Guide Granting and Revoking Permissions To grant or revoke access rights for a certain domain object an administrator can assign three different privileges to each role and domain object:    Read: a role with this privilege can access all process instances relating to this domain object. Manage: a user with this privilege is entitled to manage trace points (enable. | 15 . Privileges are assigned using a hierarchical order. This includes data generated by trace points and detailed stack traces. For example: granting the “Manage” privilege to the “fs_dev” domain (see picture above) will grant the privilege to its entire domain objects (Deployments. select the “Users” tab and mark all users that should be members of that role. Then save the changes using the “Save settings” button at the bottom of the table. uncheck the entry. To remove a user from a role. | 16 .TIBCO BWPM Server User Guide In order to assign users to roles. The descending levels. Then the user must be added to that role. Domain Objects Domain objects are technical resources managed within a TIBCO BWPM instance. a role must be created and the corresponding privileges configured.TIBCO BWPM Server User Guide Granting Access to Domain Objects By default new domain objects are accessible to BWPM administrators. Using roles to manage privileges provides the administrator with greatest flexibility manage access rights. | 17 . They are organized in a hierarchy. in order. only. engine and process. are: domain. starting at the domain level. To grant access to new or existing domain objects to other users. deployment. | 18 . an administrator may want to get email alerts whenever a certain BW job’s execution time. A ruleset bundles multiple rules. a list of all configured rulesets is shown. For example. Each rule has a set of conditions. which can trigger various actions. which all must be met for the rule to trigger all of its actions. or an individual activity. Rules can be configured and managed in the Administration -> Rules category: When the “Rules” node is selected. Using the buttons at the bottom of the table. existing rulesets can be edited or deleted and new rulesets can be created. exceeds a given threshold.TIBCO BWPM Server User Guide Rules The server does allow the configuration of monitoring rules. to not limit the scope of the ruleset to a specific domain. To delete rules from a ruleset click the “delete” button to the right of the rule (8). Every condition needs four items to be configured: the object the condition should work on (9). Additional rules can be added to the ruleset by clicking on the “Add rule” button (7). the object’s attribute (10). To add rules to the ruleset. This creates an empty rule configuration: Set a name for the newly added rule (4). select “All”. click on the “Add Rule” button (3). Next. click on the “Add Condition” button (5). For example.TIBCO BWPM Server User Guide Editing rules When editing or creating a rule. The other fields appear step by step after the previous field has been configured. | 19 . The scope can be limited to an individual TIBCO BusinessWorks domain by selecting it from the drop down menu. a name for the ruleset must be set (2). at first the scope of the rule must be set (1). and add at least one condition (5) and one action (6) to the rule. For new conditions only the object’s field (9) is visible. a comparator (11) and a value to compare the object’s attribute with (12). since “Process Duration” is a number. if you select “Process” as object and “Duration” as attribute. Each field’s appearance is dependent on the previous field’s configuration. the comparators you can choose from will only allow comparison of numbers. Editing Conditions To add a condition. TIBCO BWPM Server User Guide The following combination of object and attribute are available: Object Attribute Attribute Type Valid Attributename Activity (duration) <name of activity> Number The exact name of the activity. The attribute’s value is in milliseconds. To match exactly one process definition. Example: Timer Attribute <name of attribute> Number | String | Date The exact name of the attribute.process Process | 20 . as defined in an extraction rule. as defined in the BW process definition. ERROR 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 Any string. Valid values are: INFO. Example: Order No 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 The event’s status name. SUCCESS. Example: DemoFolder/DemoProcess. the full URI of the process should be used. WARNING. contains. greater or equal. WARNING. not contains. Valid values are: INFO. starts not with. SUCCESS. JMS Message or Create Task.TIBCO BWPM Server User Guide Server Status String The process’ status. ends not with Number equals. ends with. not equals. the server triggers all actions configured for that very rule. greater than.domain. | 21 . not equals. starts with. The attribute’s value is in milliseconds. less or equal Date after. To add an action. ERROR 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 Any number. Name String Any string Example: vsltibbw01.com The following comparators are available for the different attribute types: Attribute Type Comparators String equals. click on the “Add action” button (6) and select from the available actions: Email. less than. before Editing Actions Whenever all conditions of a rule are matched. TIBCO BWPM Server User Guide To configure or show the settings of an action. | 22 . Otherwise the system will not be able to send emails. cc.”) alert@domain. Actions can be deleted using the “Delete” button next to the action’s “Settings” button. Separate addresses using the semicolon (“. please validate that an email server has been configured in “Administration -> Connections -> SMTP”. support@domain. The email action is configured using the following five (optional) fields: to. An example configuration could be as follows: Description of available settings for mail action: Setting Description Example To List of email addresses to send this email to. bcc.com.com. subject and message body. Email Action Note: before Email actions are configured.com Cc List of email addresses to copy alert@domain. click the “Settings” button (14) next to the action select list. Separate addresses using the semicolon (“.com Bcc List of email addresses to blind copy this email to. support@domain. Separate addresses using the semicolon (“. however. JMS Message Action The JMS Message action sends a JMS text message to a configurable destination.”) alert@domain. JMS connections can be configured in the “Administration -> Connections -> JMS” category. The destination and message body can be freely configured. and sending a copy of the retrieved log message to the new New | 23 .TIBCO BWPM Server User Guide this email to.”) support@domain. must be selected from the list of configured JMS connections.com Subject Message The subject of the email The email’s body “Notification email” “The process took longer than expected!” Note: the email action does not support email attachments in this release. jmsQueueConnection Message Chosoe between creating a new (text) message. Description of available settings for JMS Message action: Setting Description Example Destination The JMS destination name to send this message to. the JMS connection used for sending the message. new.destination JMS Connection The JMS connection to use for sending the message.com. Defines the text body of the JMS message. when “New” Message is selected. Select one of the available roles to assign this task to. Priorities can be used by users to sort their task list.logid]” Admin Assign to Priority Comment 100 “Please check this out!” | 24 . “Generated Task for [process. Defaults to zero. Message Body Only available. world!” Note: the JMS Message action does not support configuration of JMS Headers in this release. Create Task Action To mark a process instance for follow-up. Select any other priority. associate the current evaluated process instance with it and assign it to the configured role. Description of available settings for Create Task action: Setting Description Example Task name The name of the task to appear in the user’s task list. “Hello. if wanted. It will create a new task. the Create Task action can be used. A free text comment to append to the task.TIBCO BWPM Server User Guide destination. to insert the name of the process into the email message body. a templating language is available. and is of this format: [object.Order No Returns: value of attribute “Order No” deployment name Returns the name of the deployment this process has been executed in. such as email address. Example: LogInfo The event’s timestamp. as defined in the BW process definition Example: activity. Example: ORA-01417 The error message that has been configured for this activity. For example. domain name Returns the name of the domain this process has been executed in. message body or task comment. the following text can be used: “The process name is: [process. as defined in an extraction rule.attribute].TIBCO BWPM Server User Guide Templating Language For all settings that allow free text entries. activity durations and other. errormessage name eventdatetime sequence process name The full process URI of the executed process. such as process names. The following table lists all available objects and attributes combination: Object Attribute Description / Returned value activity <name of activity> The exact name of the activity. The error code that has been configured for this activity.name]”. Example: A table may be outer joined to at most one The name if the event activity. this: “The process name is: DemoFolder/DemoProcess. Text strings that should be replaced when the action is triggered must be enclosed using square brackets (“[“ and “]”). Example: 2012-10-01 23:42:37 The event’s sequence number in this process instance. engine name Returns the name of the BW engine this process has been executed in.Timer Returns: activity’s duration attribute <name of attribute> The exact name of the attribute.process” A valid token consists of two parts: the object and its attribute. event status errorcode The event’s status name. Example: DemoFolder/DemoProcess. This allows to dynamically insert content into the concrete field at runtime. for example. At runtime this will result into. Example: attribute.process | 25 . The correlation id for this process instance. the exact case must be used in the template text. Example: 2012-10-01 23:42:37 The unique id of the parent (or calling) process. The BW job id for this instance. Example: Fax Service The configured external reference for this process. If an activity or attribute name is using mixed case. SUCCESS. The configured Business Start date and time. Example: 2012-10-01 23:42:37 The timestamp of the job’s termination. | 26 .TIBCO BWPM Server User Guide status businessobject businessservice externallogid jobstart jobend duration logid correlationid businessstart businessend parentlogid jobid The process’ status. too. Example: Invoice The configured business service for this process.com rawmessage - The original log event (XML String) Note: all tokens are case sensitive! All settings listed above must be used in lower case. Valid values are: INFO. The unique identifier for this process instance. Example: 2012-10-01 23:42:37 The duration of the job in milliseconds. WARNING. Example: A119764 The timestamp of the job’s start. Example: vsltibbw01. Example: 2012-10-01 23:42:37 The configured Business End date and time. but for an activity or attribute name. machine name The server name this process was executed on. ERROR The configured business object for this process.domain. today. too: At the very left side of the screen the user can select from various categories: Technical View (which contains the Domain Object Tree). At the top of the screen the time window selection toolbar is located. The screenshot below shows the Domain Object Tree inside the Technical View category. It is used to easily set the time window the user wants to query data within. After logging in the user is presented a working area. collapsed and expanded by dragging the dividers between the sections. last 24h.TIBCO BWPM Server User Guide Working with Monitored Objects Overview The TIBCO BWPM Server GUI is designed to efficiently search for historic and current process instances executed across a TIBCO BWPM instance. | 27 . but the header section containing the time window toolbar. 1h back / forth. 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). last week.e. can be resized. etc) are available. divided into few sections: Each section. 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. or clicking on the “ ” icons in the middle of the dividers. for example adding users or additional data providers. or processes executed by any such domain object. The Administration category enables a BWPM administrator to configure the TIBCO BWPM instance. and limit the scope of the search to a set of domain objects by clicking on a node in the domain object tree (2). The Technical View and Business View allow searching.TIBCO BWPM Server User Guide Depending on the selected category. filtering and reporting on domain objects. If the user is only interested into processes of a certain state. he will select one or more of the status filter buttons (3). The user will choose the time window (1) to search data within (default: most recent 60 minutes). The user may select any of the records displayed and be presented additional information about the record and its context. the right part of the page will change and present additional information to the user. Please refer to the TIBCO BWPM Server Administration Guide for additional information about this category. The search results are displayed immediately in the Main Table (4) at the center of the screen. Depending on the roles the user holds and his personal settings the initial layout is rendered and displayed. | 28 . for example “error”. 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. Any of these interactions with the TIBCO BWPM Server GUI triggers a new search. sort. The Main Table offers various ways to the user to interact with it. called “Main Table”. the Details Table (6). The user can set the amount of records to be displayed (and loaded into the browser) per page. Additional information about the selected process instance or event record is displayed at the bottom right part of the screen. and filter text). The two buttons at “G” allow the user to flip back and forth through the result set. | 29 . Each record can be expanded to show the intermediate events that may have been recorded during the execution of the process instance. process instances sharing the same Correlation ID with the selected record of the Main Table are listed (5). and filter to eventually find a specific record or process instance.TIBCO BWPM Server User Guide At the far right side of the screen. search. using the control marked with “A” in the screenshot below. Using the GUI Main Table Search results are displayed in the center table. domain object. status. The Main Table lists all process instances that match the search and filter criteria entered by the user (time window. listed in the Main Table. 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. Also.TIBCO BWPM Server User Guide The list can be filtered by entering a filter text into the text box “B”. 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). You can use “!” to negate a token. It is applied to all records of the result set. have an attribute of name “order” and a value of “A7104201”. showing the total result set size. At the bottom of the table. the amount of filtered records and the amount of matching records. The filter is case insensitive. shows the following information (in order): | 30 . wildcards are not supported. Any record matching the filter will be displayed. not only the ones displayed in the Main Table. have been created on July 10th 2012. a numeric summary is displayed. A matching record. the first two attributes (in alphabetical order) are displayed right below the process name. which is not available on correlated processes. select the record and check the Details Table. To show all attributes. too. 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. but for the Correlation Status. they are “correlated”. Correlated processes (including the very process instance that just has been expanded) are shown sorted by job start and in ascending order. a hint is displayed. if the process instance has custom attributes. Process Name: this is the name of the process definition this instance has been derived from. warning or error. the Process Path shows the exact location of the process definition within the TIBCO BusinessWorks project. If more than two attributes are available for this process instance. The expanded record is embedded into the list and surrounded by a blue border. yellow: at least one correlated process is of status warning. success with warning. the most recent at the bottom. For example: if the process is executed within TIBCO BusinessWorks.TIBCO BWPM Server User Guide       Correlation Status: if process instances share the same Correlation ID. It can be: running. Click on the Correlation Status icon to expand a record and show the correlated processes. red: at least one correlated process is of status error). Process Status: the icon shows the current status of the process instance. In other words: the correlated process with the oldest job start is at the top of the list. You can click on the Correlation Status icon to expand the list of correlated processes (E). Process Path: this is the URI of the process definition within its execution engine. for better visibility: | 31 . The sort order of correlated processes cannot be changed. success with error. success. 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. located at the top right of the Main Table: The information is shown for correlated processes. the Process Diagram is visible. it will be updated with a graphical representation of the very process definition’s version that was active when the process instance was executed: | 32 .TIBCO BWPM Server User Guide Whenever a process instance is selected in the Main Table. instead of the Event Table. 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. the Event Table or Process Diagram.  If. finally. | 33 . the Domain Object Tree will expand and mark the process definition. which the selected process instance was derived from.TIBCO BWPM Server User Guide  The Details Table at the right bottom of the screen is updated to display properties and attributes of the selected process instance:  And. To show the Event Table. a gray triangle is shown in front of the record. The Event Table cannot be sorted or filtered. the Event Table will list all processes correlated with the selected Main Table record. The processes are listed in ascending order of their start date and time. | 34 . From left to right the Event Table shows the following information:  Event indicator: If a process instance has recorded intermediate (BWPM) events. When a record of the Main Table is selected. select the “Events” tab.TIBCO BWPM Server User Guide This allows the user to rapidly navigate through the process instances and find the information he is searching for. showing and hiding the recorded events. Event Table The Event Table is located at the right top. Click on the triangle to expand and collapse the records. including the very record itself. next to the Main Table. as recorded in the BWPM database. the Details Table is updated to display more detailed information about it. success. If no process definition can be found in the database. which is any of: informational.or the Event Table. The status is identical to the status shown in the Main Table for this process instance. the most recent process definition available within the selected time window (see time window toolbar at top of the screen) is shown. the Details Table is updated to show the data related to the very event. For events. Event Date and Time: the timestamp of when the event was created Log data / Stack Trace: these two columns will show icons. Process Diagram The Process Diagram is located at the right top. The meaning is identical to the “Process name” column of the Main Table. Select the “Details” tab to show it. a dummy graph is shown. Details Table The Details Table is located at the right bottom of the screen. see chapter Process . The log message – a short descriptive text of the logging event – is displayed here. typically they will represent valuable business related information. 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 process definition used for the selected record is shown. Message: available for events. For BWPM Events the status icon represents the event’s severity. if additional data (logged data or stack trace) is available for an event. only. Whenever the user selects a process instance in either the Main. | 35 . Name: for processes instances the name of the process definition is shown. the process definition will show additional information:      The execution path of the process instance is highlighted in green The currently executed activity is highlighted in yellow An erroneous activity is highlighted in red All activities with active trace points have a bright yellow marker above them All activities with trace data show a yellow envelope icon above them For more information on how to interact with the Process Diagram. To show it. warning or error. such as Customer Number. next to the Main Table. when a user selects a record of the Main Table. When the user selects a record of the Main Table. select the “Process Diagram” tab. The list starts with the custom attributes a developer may have configured when using the BWPM Client. When the user clicks on an event row.TIBCO BWPM Server User Guide      Process status / Event severity: the icon represents the status of the process instance. Purchase Order Number or similar. Click on the icon to display the data. the name of the activity recording the event is shown. and hence update the Main Table. The taxonomy will be referenced as “Domain Object Tree” (short: DOT) from here on. the taxonomy will match the taxonomy of the TIBCO BusinessWorks Domain (best effort).e. as they represent manageable objects within the TIBCO BWPM instance. selecting the root node will return all process instances | 36 . Interacting with the DOT automatically updates the search criteria. For example: if BWPM is used to monitor TIBCO BusinessWorks Domains. For example. sorting is not possible. Domain Object Tree BWPM organizes (technical) resources hierarchically. At the top of the hierarchy the name of the TIBCO BWPM instance is shown. the search will only return process instances of the selected domain object and all its children. The next deeper levels are called Domain. Engine and Process. the taxonomy will match existing concepts of the monitored technology.TIBCO BWPM Server User Guide Below the attributes list all built-in properties of the process instance are shown. 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. Where possible. In particular the following properties are listed:           Business Service Business Object Job Start Job End Duration (in milliseconds) Machine Name (server the process was executed by) Job ID (i. When a node is selected. Deployment. From here on those levels will be referenced as “Domain Objects”. TIBCO BWPM Server User Guide stored in the TIBCO BWPM instance’s database that match the selected time window (see the time window toolbar at top of the screen) and status (see status filter buttons above the Main Table). The DOT can be filtered by using the text box above. Colored entries had process executions within the selected time window. Hovering the mouse cursor above a gray entry will display a tooltip with the last recorded activity time of that domain object. Selecting a Deployment node will limit the search to process instances of that deployment. hence a search for those domain objects would return an empty result. or the DOT Filter Buttons next to it: | 37 . The DOT is color coded: gray entries have not had any process executions within the selected time window. a search may return results. Shorten path names (only show the first letter of each directory in the project path). the DOT is reduced to elements matching the entered text. A “starter process” is a process definition that can be instantiated by an external event. Show active processes. Starter processes have a little green triangle in their icon.TIBCO BWPM Server User Guide When entering a filter text. The DOT Filter Buttons can be used to further alter the number of nodes displayed: Show starter processes. When this filter is selected. or find a specific domain object by name more easily. JMS Messages or web service calls. all grayed out entries are removed from the tree. set the time window to search within. chose the domain object to find instances of Third. Searching for Process Instances Searching for a process instances will always follow a certain pattern:     First. When selected. Use the filter text and button to quickly reduce the amount of domain objects displayed. decide on the status to search for to further limit the result set Finally. remember that everything displayed in the TIBCO BWPM Server GUI is constrained by the time window selected at the top of the screen! Second. A tooltip will still show the full path of the process definition. Nodes with no matching children are removed from the tree. such as Timer. All search results are compiled by taking the following aspects into consideration:   Access rights ( “read” access on domain objects granted to the user) Time window | 38 . use the filter and sorting features of the Main Table to track down on a particular record. all sub process definitions are hidden from the tree. for convenience. only process definitions that have been executed within the selected time window are displayed. Note: changing the time window using the date pickers alone will not trigger a search automatically. and the available search options in more detail. Using the Time Toolbar To set the time window. 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. in which case the “to” date is interpreted as “now”. By Time Every query triggered by the user is constrained by at least two properties: the user’s privileges and the selected time window. Reading them carefully will enable the user to efficiently retrieve any information from the TIBCO BWPM instance’s database he may be interested in. a click on the very right button will start the search. the user must use the time window toolbar at the top of the screen: The toolbar has ten buttons and two date picker fields. As a rule of thumb. 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.TIBCO BWPM Server User Guide    Selected domain object Status Filter text (Main Table) The following chapters will discuss each of the steps outlined above. the more precise the time window is chosen (the smaller it is). While only an administrator can grant and revoke a user’s privileges. The field to the left is the “from” date and time. the “Search” button does not need to be pushed to trigger a search): From 0:00 to current time. | 39 . After setting the time window. The “from” date must always be set. the user can control the time window to search within. a search will only return results from between these two dates. and leave the “to” date blank. The user must click on the “Search” button! The remaining nine buttons (seven to the left. the faster the query is executed and results are presented on the screen. while the “to” date field is allowed to stay empty. 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. the field on the right the “to” date and time. Using the Trend Chart The Trend Chart is another option to narrow down the time window and reduce the result set further. Any change to the time selectors will automatically update the “from” and “to” date of the time toolbar and filter the Main Table. Selecting any node of the DOT limits the scope of the search to the selected Domain Object and its children. warning. By simply drilling down into the affected time window. depending on their recorded activity in the defined time window. By Taxonomy Using the Technical View and the Business View a user can limit the scope the search easily. | 40 . Now the user can inspect the individual records for root cause analysis. as well as their average duration. By default the chart shows the amount of total processes (belonging to the selected domain object). The user can show / hide various series and drill down into the chart by dragging the time selectors at the bottom of the chart. successful. Nodes will be colored or grayed out. error). 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. a hierarchical representation of all monitored Domain Objects. Click on the “ ” icon at the bottom of the screen to open and close it. The Business View allows limiting the scope of the search by using business terms. The Trend Chart is hidden at the very bottom of the screen. deployment or process definition).TIBCO BWPM Server User Guide A search triggered by this toolbar also updates the DOT on the right side. the Main Table is filtered. grouped by process state (running. The chart only displays information within the selected time window. the Main Table will only show records that match the new “from” and “to” dates: A typical usage scenario is that a user may see a peak in average duration or recorded errors. The Technical View contains the Domain Object Tree. a business user may (and should) not be bothered with that technical details. that belongs to a deployment that belongs to a domain.TIBCO BWPM Server User Guide Using the Technical View The Technical View shows a representation of all monitored Domain Objects. Using Business Service and Business Object The Business View allows narrowing down the search using business terms.. Placing the mouse cursor above a gray node will display a tooltip with the timestamp of the most recent activity of this Domain Object.an invoice will technically happen within a certain engine. rather than technical vocabulary. Navigating down the tree. Every click on a node in the DOT triggers a new search. the scope can be reduced to individual domains. Using a color code the DOT indicates Domain Objects’ activities. the user would simply select the root node of the tree. so that the Main Table will continuously adjust to the selection the user makes. While the processing of – for example . The additional filtering and display options are discussed in the chapter Fehler! Verweisquelle konnte nicht gefunden werden. Only Domain Objects the user has been granted “read” access are shown. To retrieve all process instances recorded in the BWPM database. | 41 . deployments. hierarchically organized and limited by the user’s privileges – the Domain Object Tree. the Domain Object had no activity within the given time window. engines and process definitions. If a node is grayed-out. that developers make use of this BWPM feature during the design phase of the application. Working with the Business View is almost identical to working with the DOT. and selecting a node will search for matching process instances in the BWPM database. 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. Using the Status Filter Buttons The Status Filter buttons next to the QuickSearch bar allow constraining the search by process status. For example: | 42 . such as “Invoice” or “Mail Service”. Every click on the Status Filter buttons triggers a search and the Main Table is updates accordingly. The tree can be filtered. however. selecting none or all filters will return processes of all states. Using the Reports Page When navigating using the Technical View or the Business View the user can chose to either see the Main Table or a Reports Page for the selected Domain Object(s). The chart shows the distribution of process state for the selected Domain Object (inner circle). The reports page can be reached by selecting the “Reports” tab of the main working area. while the other states may be safely ignored for the time being. The prerequisite is. The user can select any combination of success.TIBCO BWPM Server User Guide The TIBCO BWPM Server GUI allows users to search by business terms. When opening the Reports Page the user is presented a pie chart. and the distribution of that state for the next lower element in the hierarchy. warning. error or running. TIBCO BWPM Server User Guide When the user selects a Domain from the DOT, the pie chart will show the total amount of processes in their final state within the selected time window in the inner circle and the amount of process instances for a particular state within the Domain’s Deployments. See the screenshot below for an example: 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 TIBCO BWPM Server User Guide The pie chart can be exported into various graphical formats using the export in the top right corner of the chart. 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. The following key words are supported by this control: Name Type Wildcard Description Attribute Attribute No The name of a custom attribute. Only process instances that have this attribute set will be returned by the search. If this keyword is directly followed by the keyword “Attributevalue”, the search will return only process instances where an attribute of the given name has the value given for “Attributevalue”. Attributevalue Attribute Yes The value of a custom attribute. Only process instances that have an attribute (of any name) set to this value are returned. If this keyword is directly preceded by the keyword “Attribute”, the search will return only process instances where an attribute of the given name has the value given for “Attributevalue”. CorrelationLogId Property Yes Return process instances that have this property set to the given value. Deployment Taxonomy No Return all process instances of this domain object (and its children). Domain Taxonomy No Return all process instances of this domain object (and its children). Engine Taxonomy No Return all process instances of this domain object (and its children). EventCode Event property Searches and returns process instances that have at least one associated event with the given EventCode. Very helpful to search for custom error codes set by the developers of the process definitions. Yes | 44 TIBCO BWPM Server User Guide EventMessage Event property Yes Searches and returns process instances that have at least one associated event with the given EventMessage. Very helpful to search for custom error messages set by the developers of the process definitions. ExternalLogId Property Yes Return process instances that have this property set to the given value. JobId Property Yes Return process instances that have this property set to the given value. LogId Property Yes Return process instances that have this property set to the given value. Object Property No Return process instances that belong to the given Business Object. For example: return all “Invoice” records. ParentLogId Property Yes Return process instances that have this property set to the given value. Process Taxonomy No Return all process instances of this domain object (and its children). Service Property No Return process instances that belong to the given Business Service. For example: return all “Email Service” records. Status Property No Return process instances that have this property set to the given status. Wildcards are allowed for the keywords Attributevalue, CorrelationLogId, EventCode, EventMessage, ExternalLogId, JobId, LogId, and ParentLogId:   * matches any sequence of characters ? matches exactly any single character 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 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 . 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”.TIBCO BWPM Server User Guide With Attribute and Attributevalue being the only exceptions. Attribute and Attributevalue are always combined using “AND”. TIBCO BWPM Server User Guide 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. similar situations. which present additional and detailed information about the process’ lifecycle. It’s location within the taxonomy defines the context further. the following chapters discuss how to work with the result of the search. Deployment and Engine the process was executed within. Interacting with Process Instances The previous chapters have discussed how to find particular process instances. and when did it end. knowing the context allows the user to better understand why the process performed the way it did. The most obvious context information is the execution time of the process: when did it start. See the screenshot below: | 47 . once. The final major context information is the Correlation Status. This status indicates how well the endto-end processing chain performed. Some of them allow to interact with the execution engine to get even more information from future executions. The context describes the state of the environment the processes was executed within. it provides information about the Domain. Process Context A process always has a context associated with it. and whether a similar behavior can be expected in future. They introduce additional views and controls of the GUI. and may set the final state of the process. any such event provides information about the state of processing. | 48 . a number of IDs and other information. They include the job’s start and end timestamps. The record has been expanded in the screenshot. The user may now drill down into the correlated processes to better understand what caused the error and what the consequences were. so it becomes obvious that during the SAP processing an error was thrown. it commonly is sensitive data. They are also used to generate the fourth category of data: Log data: Log data are more complex data structures than attributes. Process Data During its lifecycle each process collects data. This reduces the effort for analyzing erroneous situations significantly. data that describes “how well” a process performed (technically and business wise).TIBCO BWPM Server User Guide At first glance. its Correlation Status is “red”. (Log) Events: by design a developer can add “Log Events” to a process. Custom Attributes: by configuration an administrator or developer can add attributes to a process instance that hold valuable information. which means somewhere in the processing chain an error was recorded. for example about its location in the taxonomy. However. The experienced user is able to not only understand what happened to a small piece of the processing chain (an individual process). Typically that information is taken from the (business) data processed by the process instance. To view Log Data the user must have the “Data” privilege. The BWPM system knows about the following data categories:     (built-in) Properties: these properties always exist for every process instance monitored by BWPM. but is hinted on jeopardy situations along the processing chain. Since this data often is the original payload of a business transaction. An event can be used to set or update attributes and process state. For example: a complete invoice can be logged by an event and stored as Log Data. the second process from the top seems to be OK. Iteration groups can be inspected “per iteration” by using the back and forth buttons in the header of the group element (“F”). In case the user selects the Process Definition directly from the DOT. 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. | 49 . the erroneous activity is highlighted in red (“E”). the transitions between the activities are colored green to show the exact process flow for this very instance. the most recent version within the selected time window is displayed. moving the process stack). BWPM maintains all historic versions of a Process Definition. The name of the Process Definition is shown in the top left corner of the diagram (“C”). activities selected by the user for further inspection are highlighted in green (“D”). The Process Diagram has a toolbar (“A”) for navigating within the graph (zooming. When a process instance was selected (from the Main Table). the section “G” below the Process Diagram displays more detailed information about the process instance or the selected activities. the “Process Diagram” of the associated Process definition is shown. If the process encountered an error while executing.TIBCO BWPM Server User Guide Process Diagram Whenever a Process Definition in the DOT or an entry of the Main Table is selected. Finally. The process diagram is an exact representation of the original Process Definition as implemented by the developer. The Process Diagram area can be expanded to full screen and collapsed to original size using the Resize button “B”. the tabs right below the process diagram will show additional information about the activity. and the elapsed and CPU time of the activity for this very process instance. | 50 . “Send HTTP Request”). Activity Configuration The “Configuration” tab shows the activity icon and name. As shown in the process diagram above. and input mapping Iterate through iteration groups to see the individual execution paths for each iteration Zoom in Zoom out Fit to window Show previous process Show top level process Section “G” shows trace data and an activities exact configuration. configuration.TIBCO BWPM Server User Guide The user can interact with the Process Diagram in many ways:     Drag the process diagram to inspect all areas of it Zoom in / out of the Process Diagram using the menu buttons (“A”) or mouse wheel Select an activity to display its trace data. The table next to this information shows the exact configuration of the activity for information. when the user selects an activity (i.e. a (optional) description the developer may have entered. activity name. If the activity is within an iteration group and has been executed multiple times. Selecting an activity of the process diagram filters the list to only show trace data records of the selected activity. The tab shows the exact mapping rules for this activity. | 51 . select the “Mapping” tab. The payload is displayed and formatted in a new dialog. the list is filtered to show only the trace data records for the given activity and the selected iteration: To inspect the concrete trace data. whether it was input or output data and the trace data itself. as designed by the developer.TIBCO BWPM Server User Guide Process and Activity Trace Data The “Trace Table” tab lists all available trace data with timestamp. 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. click on the far right icon of the trace data record. since the data updated automatically. these tabs show the formatted input and output data for the selected activity. when an activity has been executed multiple time within an iteration group. Example of Output Data: | 52 .TIBCO BWPM Server User Guide Input and Output Data The two final tabs available for the Process Diagram are Input Data and Output Data. The user can easily see the data entering and leaving the activity for every single execution. This view is very useful. when the user flips back and forth through the iteration group. If trace data has been collected for an activity. TIBCO BWPM Server User Guide The Activity Menu When the user moves the mouse cursor above an activity in the Process Diagram the Activity Menu appears. and manage its trace settings. This menu allows the user to get additional information for the activity. | 53 . The last icon of the menu is only available on sub process activities. requires “manage” privilege) Warnings (for future use. if data is available) Drill down into subprocess Aspects Note: managing Aspects requires the user to have “manage” privilege on the specific process definition. Like the Trace Point Status Indicator is will shine (orange) and be always visible above the activity. The icon can be clicked upon to enable tracing for 15 minutes. That means. Clicking on the icon will drill down into sub process’ definition. this dialog.TIBCO BWPM Server User Guide The first icon of the Activity Menu opens a window showing historic performance information about the activity: minimum. This allows the user to put the current performance metrics of the activity into perspective. the user can rely on that the correct process definition is shown. or switch it off (“Manage” privilege required). Using an aspect. The fourth icon is the Trace Point Status Indicator. if trace data has been collected for this activity and the currently selected process instance. is reserved for future releases of TIBCO BWPM Server GUI and not available in this release. If tracing is active for an activity. In this dialog the user can enable or disable a trace point and set its expiration date and time. Also. The sub process shown will always be the exact sub process that has been executed at this stage in the process execution. Below is a table summarizing the menu’s icons: Statistics of the activity Manage tracepoint (status. the user can choose to add a log event (and effectively update the log status of a job). even if the sub process to execute is computed dynamically. set log context properties. the indicator will shine yellow and is always visible on top of the activity – even if the Activity Menu is not shown. which can be searched by using the QuickSearch bar. all other information displayed in the graph and bottom tables do show precisely what happened in the called process. The second icon opens the Trace Settings dialog. | 54 . and add custom attributes to the log. The user requires the “Manage” privilege on the Domain Object to update the trace settings. such as correlation id and others. as well as execution count series are shown. Aspects allow to instrument process activities non-intrusively and without downtimes of the engine anywhere during a process execution. not available in this release) Tracepoint status indicator (changing required “manage” privilege) Managing Aspectsn (see below) Trace data indicator (yellow. The Trace Data Indicator is the fifth icon. The third icon. maximum and average elapsed time and CPU time. By default a trace point expires 15 minutes after it has been enabled. however. the warning sign. enabled the user to set the trace point’s expiration date to any future date. duration. The name of the event will be “Declarative Event”. Business Object. or cancel the dialog (not applying changes). which will use the selected log level and set the process’ status accordingly. so that the user can easily distinguish between events generated by activities or aspects in the event table. “Custom Attributes” (3) allow defining an arbitrary amount of extra attributes to add to the process log. Section “Properties” (2) allows defining regular expressions to extract data from the activity’s output data and assign the result to the mentioned built-in properties: Business Service. External ID and Parent ID. and set their values by applying the given regular expression to the activity’s output data. Attributes created this way are associated with that event. | 55 . The dialog is separated into four sections:     In section “Add Event” (1) a log event can be generated.TIBCO BWPM Server User Guide To manage aspects open the “Aspect configuration” dialog by clicking on the aspects icon in the activity menu: This opens a dialog for the aspect’s configuration. 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”). The button area lets the user save or delete the settings. Leave a field blank to not activate this feature for any given property. Correlatio0n ID. Note: when custom attributes are configured. That means. Historic settings are available when a process entry is selected in the center table.TIBCO BWPM Server User Guide 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. the current aspect configuration for a process definition can be inspected by first selecting the process definition from the DOT in the technical view. The aspect configuration shown in the latter case matches the configuration that was active when the process was executed. | 56 . 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. followed by track data (14 days) and event and process data (30 days). which is displayed next to the “Main View” and “Reports” tab. By default. The data will be deleted during the next run of the data management job (a database job that frequently purges expired data). simply update the values listed and click “Save settings”.TIBCO BWPM Server User Guide Data retention Data stored within the BWPM database will automatically be deleted after it has expired. The shortest (default) retention period is for trace data (7 days). To change the retention period. BWPM stores different type of data for a different period of time. | 57 . g. etc. 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 A Process Instance is the execution of a process definition. Main Table The Main Table contains logging information concerning process instances. Quick Search The Quick Search allows you to search for specific log entries very easily. Domain Object Domain Object Tree The Domain Object Tree represents the hierarchy of the Domain Objects Event Table The Event Table contains specific log events per process instance. Each Process Instance can be identified by a unique identifier. Each process instance creates an entry in the Main Table. business related classification: Business Services.) The Domain Object represents a technology based classification. attributes. properties. The error event also might contain additional stack trace information for analyzing the failure.TIBCO BWPM Server User Guide Glossary Term Definition Business View Business View is organized by functional. For example an error event indicates that during execution of a process an error occurred. Business Objects Correlation Status Status of the entire chain of correlated log entries Data Provider A data provider consists of a connection to a message server and a destination Details Table The Details Table contains detail information of a main or event entry (e. Technical View Hierarchical view organized by technical classification Tracepoint You can define Tracepoints at specific positions within your process definition in order to collect additional logging information during runtime execution Track Track is the actual route of a process instance | 58 . Instance Represents the combination of various components that are interacting together within one environment.
Copyright © 2024 DOKUMEN.SITE Inc.