Within an enterprise and on your processes you want monitoring. Monitoring is used to for example:
- View the number of ongoing processes and its status
- If certain KPI's are met
- Triggering other processes when a certain event takes place
Cordys supports this in the form of BAM and uses certain constructs for this. In this Blog i will describe a small example on how to set up BAM and how to create Dashboards. It gives an idea on how this can be done in Cordys. I use the following picture in which the created Cordys artifacts are displayed.
Step 1 - Create a webservice
This step is not described here, but a webservice can be generated from a BPM, database or an external service can be used for example. Next i will use this webservice to create a Business Measure artifact.
Step 2 - Create a Business Measure
A Business Measure helps in measuring a particular aspect of a business process or any external data. The Business Measure provides a view on the selected attributes, contained in a Process Monitoring Object, a webservice or the external data source. In this case we use a webservice as the basis.
- Create a new Business Measure
- Fill in name and description
- Select Graph because we will use it to show on a dashboard.
- Create Measure From: Web Service
- Select Object Source: GetProductsObjects
- In this case we will show the products and ho much is in stock
- Click Next
- Select New and click Finish
A webservice is generated and a component is generated that can be used within a dashboard.
Step 3 - Create a dashboard
Now we are creating an interface for the monitoring of the produkts in stock.
- Create an XForm artifact
- Drag-and-drop the Producktsinstock component (as shown in the previous step) on the UI
- Click on Properties of this component
In the properties you can choose how the data should be displayed.
View - The type of dashboard used. In this case i choose for Bar Chart. There are a couple more possibilities
Business Object - Here you select the data that is to be used from the webservice. In this case the Old tuples contain the products.
X-Axis fields - Here you select the attribute that is used for the X-axis. In this case the ProductName.
Y-Axis - Here we choose the UnitsInStock attribute.
Because the webservice requires two input parameters, these are given in the Input Parameters properties.
- Select Preview and you will see you first Dashboard with Cordys BAM
Next time i will show how to create a KPI (Key Performance Indicator) that triggers another process.