- 30 Mar 2020
- 4 Minutes to read
Monitoring Business Processes
- Updated on 30 Mar 2020
- 4 Minutes to read
What is Business Process Monitoring
A Business Process Monitor can be used to detect any exceptions in a Business Process.
The Business Process Monitor will alert the configured recipients in any of the following conditions:
- Any exception in the configured Business Process
- Scalar query on the business process violates the configured threshold values
Configuring a Business Process Monitor
- Log in to your 'Serverless360 account'
- Click the 'Manage' button in the Composite Application in which you intend to create a Business Process Monitor
- Click the 'Monitor' icon in the left navigation menu to get the list of default monitors. You can either choose to associate BAM Queries to the default Business Process monitor, which would be scheduled to run at a frequency of 15 minutes
- To create a new Business Process Monitor, click the 'Add Monitor' icon and select Business Process Monitor to open the 'Add Business Process Monitor' blade
- Enter a Friendly Monitor name and a Summary to the Business Process Monitor
- Click 'Next' to set the schedule intervals, you can choose from the available frequency list
The Business Process Monitor will calculate the next run time considering the configured start time and selected frequency. For example, if your next run time is set at 10:15 and the schedule is to run every 15 minutes, the Business Process Monitor will fetch the number of records from the Serverless360 tracked data based on the configured search query. This value will be compared against the threshold values to compute the results with one of three states: Error, Warning or Success.
- Click 'Next' to choose the notification channels, toggle on/off the notification channels to deliver the alerts
- Click 'Save' to configure the Business Process Monitor
Associate BAM Query
Clicking on the Business Process Monitor name ,will navigate to the Business Process Monitoring Dashboard.
- BAM Queries can be associated to a Business Process Monitor by clicking on the 'Associate BAM Query' button
- Provide the Friendly Name and the required search query. The Query can also be selected from the Saved queries by clicking on the folder icon
- Configure the Error and Warning Threshold conditions
- Provide the time period in minutes. For example, if the time period provided is 5 minutes, then the search query will be applied with a time filter of last 5 minutes from the time at which the monitor runs.
- Click on Validate Query button to check if the provided search query is valid
- Click on Save to associate the BAM Query
Enable Exception Alerts
Exception alerts can be enabled for a Business Process associated to a composite application by enabling the toggle button against the required business processes in the Exception alert tab.
The Business Process Monitor status information will be plotted against the corresponding time on the calendar chart control. The status information is color-coded, based on the actual status of the Business Process Monitor. To understand the Business process monitoring dashboard better, let’s assume the scenario –
The administrator wants to get notified with a warning when there are more than 10 Failed transactions and receive an error notification when there are more than 25 Failed transactions in the associated Business process.
In this case, when the number of Failed transactions is 10 during a particular time period, the status will be plotted in Green on the calendar chart control. Similarly, when the number of Failed transactions is 20 during a particular time period, the status will be plotted in Yellow on the calendar chart control indicating a warning. When the number of Failed transactions is 30 during a particular time period, the status will be plotted in Red on the calendar chart control indicating a breach in the error threshold condition. When the status message is clicked, the system will display a pop up with the actual status information of the business process monitor.
Calendar Chart Area - The status information of the business process monitor will be plotted in this section. The information will be plotted against the time interval on the Y-axis. For an instance, a business process monitor is set up to monitor the tracked data once every 30 minutes during the business hours from 10 AM to 7 PM. In this case, the points will be plotted at every 30-minute slot, starting at 10:00 AM through 7:00 PM. Depending on the status of the business process monitor, the points will be plotted with either Green/Red/Yellow color coded tick/cross mark against the data point.
Calendar Control - The calendar control can be used to pick a date of interest and view the business process monitor information. Every Business process Monitor will have an exclusive calendar control with dashboard to list its executions. For easy identification, the dates that have Business process monitor configured are color-coded as Red, Green, and Grey.
- Red - At least one of the configured resources on the specific date has failed to meet the configured criteria
- Green - All the configured resources on the specific date have successfully met the configured criteria
- Grey - Indicates the current date