Creating an Event Definition to Handle Events from the EMQA

You must create your own custom event definition for handling the events generated by the EMQA in SBM. An event definition is a WSDL file derived from the ALF Event Manager WSDL and the ALF event base schema. The event definition specifies custom types and events. It also defines the orchestration workflow (declared as a service flow service) that handles these events. An event definition created by Serena Business Manager is used to generate events from an application workflow. You can create a custom event definition or import a customized event definition into SBM Composer, which lets SBM Composer create orchestration workflows that can handle the events, and configure the events so that the Event Manager will expect them.

Events – A Quick Introduction

An event is a SOAP message that corresponds to the Serena Business Manager event schema. The message includes five elements that are used by the Event Manager for event matching:

<EventType>
<ObjectType>
<Product>
<ProductVersion>
<ProductInstance>

The values of these elements determine which orchestration workflow or workflows run when the event is received. The values are declared in the event definition, which is imported into SBM Composer and used to create mappings between the event and the orchestrations that are implemented to process the event. The event definition can also declare event-specific extended data that is sent with the event, enabling the orchestration to extract the additional data.

How the EMQA Creates the Event SOAP Messages

The adapter reads the XML document messages from the JMS queues specified in the EMQA Setup Service and constructs an event message using the following information: