Chapter 8 Building an Executable BPM: Managing Data and Choreography


Generate event activity

A Generate event activity is an activity that specifies the generation of events. A process can generate several kinds of events. The generation of an event is equivalent to the emission of the event.

For more information about events, see section Events (Executable BPM).

This type of activity can design:

For Fault and Compensation events, you must define an event handler to handle the occurrence of the event by triggering a new graph of activities.

For more information about event handlers, see section Event Handlers (Executable BPM).

When you select Generate event in the Type list, the following properties display in the Implementation tab:

Property Description
Event Allows you select an event from the dropdown list box. You can create an implementation event by clicking the Create tool beside this box. The Create tool is unavailable when an event is already selected in the list. You can also click the Properties tool to display the property sheet of the selected event
Event mapping Only displays when the process generates an event with a Fault stereotype. It allows you to associate a data to the fault by selecting a local variable from the list that will store the fault data. You can click the Create tool to create a variable or click the Properties tool to open the property sheet of the variable
Editor Allows you to edit the selected implementation type within an XML colored syntax editor

Note   Dragging and dropping an event
If you drag and drop an event from the Browser to the diagram, you automatically create a Generate event activity (associated with the dropped event).

 


Copyright (C) 2007. Sybase Inc. All rights reserved.