IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Developing monitor models > Create monitor models > Combining or merging monitor models
Connecting low-level and high-level models
High-level and low-level monitor models communicate through events. The low-level monitor model (possibly generated from Integration Designer) captures system-level inbound events and creates outbound events as the input for the high-level monitor model. The high-level monitor model (possibly imported from WebSphere Business Modeler) receives those events and generates the metrics, stopwatches, and counters for the KPIs.
You must create event definitions to carry information from the low-level monitor model to the high-level monitor model. To connect the models, you might take the following types of steps:
Procedure
- In the low-level monitor model (for example, a model generated from a Business Process Execution Language (BPEL) process), you might take the following steps:
- Create the metrics that are required to fulfill the KPI requirements of the high-level model.
- Define outbound events and the related constructs to populate the outbound event attribute values. If you are defining events using XML schemas, it is easiest to define a global element in the schema and then set the type attribute of the event part to point to that global element. Decide what information will be used to correlate with the instances in the high-level model. Set the triggers for the outbound events to fire when the metrics are populated correctly for submission to the high-level model.
- In the high-level monitor model (for example, a model imported from WebSphere Business Modeler), you might take the following steps:
- Create the metrics and any additional measures that are required to provide values for the defined KPIs.
- Create a key or keys that will be used to correlate the inbound event with an instance in the high-level model.
- Create inbound events of the same type as the outbound events you defined in step 1.
- Create filters for the inbound events based on the information passed from the low-level model.
- Create correlation expressions for the inbound events based on the information passed from the low-level model.
- Add the inbound event to the key value map.
- Optional: Define a termination trigger for the root monitoring context for this high-level model based on an inbound event from the low-level model.