IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Advanced development topics > Customize behavior with visual snippets
Configure a custom event in a visual snippet
A custom event is a specific business-related message that can be declared in the visual snippet editor to be emitted in the runtime environment.
Once you have created your own custom event definition using the event definition editor, you can add it to your visual snippet as follows:
Procedure
- In the Visual Snippets view, expand the events category, and select the snippet named emit event.
- Drag this snippet onto the canvas. The emit event snippet appears on the canvas, and a window opens that lists each of the events that are available to be emitted.
- Select the event that you would like to emit and click OK.
- In the snippet editor, create the expressions that will supply the emit event snippet with the data that is necessary to emit the event in question.
Customize behavior with visual snippets
Related concepts:
Event definitions
Related reference:
Event definition editor