Enabling Process Monitoring
Process monitoring can be configured by using the environment variable BW_APP_MONITORING_CONFIG. For more information, see Binding BusinessWorks Application to Monitoring Application on Docker or Binding BusinessWorks Application to Monitoring Application on CF or Binding BusinessWorks Application to Monitoring Application on Kubernetes
To access the landing page of process monitoring, go to the
Application Level 2 page, navigate to the
Process
tab, click the
Process Instance icon
.
All the instances, processes, and subprocesses of the selected application are displayed on the landing page.
You can begin monitoring your process instances once you enable the Process Monitor button after deploying the application.
By default, all the instances in the selected process are displayed.
In the above example, click the process Books. Job data related to the Books process is displayed in a tabular form, and the process diagram of the process is also displayed.
In the Monitoring UI, the following details are displayed in the default view.
- Process Instance Id - displays all the (instance ids of the) process instances.
- DurationTime (ms) - displays the total time taken to run the process instance (in milliseconds).
- EndTime- displays the time when the process instance ended.
The columns displayed in the default view can also be customized to display additional information about the process instances. Use the
Select Columns filter
to add the columns,
StartTime and
EvalTime (ms).
The other filters provided in Monitoring UI are:
- Job Status filters - Job data can be filtered based on their completion status. Select the
icon to filter the jobs that were completed. The
icon displays only the jobs that are canceled. The
icon filters the jobs that are faulted.
- Filter - This filter searches through the column for values provided in this filter text box that are available on that page.
The process diagram and activity details for each process instance is displayed in the extreme right panel. Click the process instance in the second panel, and the process diagram for that instance is displayed.

The Activity Details tab contains the ActivityName, State, Timestamp, StartTime, DurationTime (ms) and EvalTime (ms) of the particular activity selected.
The State of the selected activity can either be Completed, Faulted or Canceled. If the activity is in a canceled state, the details of only those activities are displayed before the Canceled state in the Details tab.
The Details tab, Configuration, Input Data, and Output Data tabs contain the configuration, input, and output details of the process instance.
- When a process contains multiple constructors and you minimize one while creating the EAR file, the activities in the constructor are not visible in the Monitoring UI. Expand the constructors and regenerate the EAR file to view the activities inside the constructors.
- Fix any ActivityID-related warnings that are displayed in TIBCO Business Studio for BusinessWorks. Next, create the EAR file to ensure that the input and output data is correctly displayed.
In the image above, the Output Data tab displays the error due to which the process is faulted.
To enable the input and output of data storage for audit events when collecting statistics, use the following BWEngine REST API:
http://<host>:<appnode port>/bwm/monitor.json/enableinputoutputdataforauditevents
To disable the input and output of data storage for audit events when collecting statistics, use the following BWEngine REST API:
http://<host>:<appnode port>/bwm/monitor.json/disableinputoutputdataforauditevents