IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Developing monitor models > What are monitor models? > Monitor details models

Event groups

Event groups are containers for inbound events. You can use them to group related inbound events together without using a monitoring context. Monitoring contexts have keys, cubes, and so on, whereas event groups are simply containers. Event groups are purely a visual construct and are not represented in the monitor model XML file.

Use an event group when you do not need to track each individual instance of an activity separately within a process.

For example, you might create an event group to represent a Business Process Execution Language (BPEL) activity when you know that the activity will run only once in a given process instance. The event group would contain a set of inbound events representing the events that can be emitted by that BPEL activity at run time.

You might also use event groups if you have a large number of events coming into a single monitoring context and some of them can be logically grouped together.

For example, you might be monitoring an order handling process in which all events have the same order ID and are delivered to the same monitoring context. If one group of events deals with processing the order and another group of events deals with shipping the order, you can put the events into different event groups to reduce clutter in the visual display.

You can add an event group only within a monitoring context or a KPI context. Because event groups are not part of the monitor model, they do not have an ID.

Inbound events within an event group must still contain filter and correlation expressions, and the correlation expressions must refer to keys in the monitoring context that contains the event group, just as if the inbound event were directly contained by the monitoring context itself. However, because event groups do not have an ID, inbound events that are in an event group are not required to use an extra step in the path expressions (such as the paths for correlation expressions) when referencing elements in the containing monitoring context. A correlation expression for an inbound event that is not in an event group is identical to a correlation expression for an inbound event that is in an event group, for example, myInboundEvent/myEventProperty = myKey.

Monitor details models