IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Building mediation flows > Emitting common base events

Best Practices: When to use an Event Emitter

The Event Emitter primitive provides a way to generate significant business events from within a mediation flow.

Think of an Event Emitter as a notification mechanism used to indicate an unusual event, such as a significant failure within a flow or an unusual path ran in the flow. Avoid placing an Event Emitter in the normal path of a flow as this could affect performance by causing a large number of events to be generated.

In the following flow, an Event Emitter is used when there is a failure in the message log, which is a significant failure in the flow.

The following example shows an Event Emitter used to notify that an unusual path has run in a flow.

Emitting common base events