Mapping an Orchestration Workflow to an Event Definition

To connect events with asynchronous orchestration workflows, you set up a mapping on the Event Map tab of the event definition Property Editor or orchestration workflow Property Editor. You can either generate an orchestration workflow from an event, or you can create an orchestration workflow and choose what event it is going to handle. In either case, the event Extension data becomes visible as part of the input data for the orchestration workflow and is available for processing by it.

You can add additional events to an orchestration workflow, but only if they are compatible with the existing event definition. To be compatible, the events must have the same Extension data. Generally, this means that the events are defined by the same event definition.

To map a new orchestration workflow to an event definition:

  1. In App Explorer, under the Application Links heading, click the name of the event definition.
  2. On the Event Map tab of the event definition Property Editor, click Add.
  3. In the Map Event Definition to Workflow dialog box that opens, perform the following steps:
    1. Select the event, defined by the Object type and Event type values, that you want the new orchestration workflow to handle.

    2. Select [New Workflow] from the Workflow list.
    3. Click OK.

      An orchestration workflow named Workflow appears under the Orchestration Workflows heading, and the event definition is automatically mapped to it.
      Note: To see the mapping, view the information on the Event Map and Data Mapping tabs of the orchestration workflow Property Editor.

To map an existing orchestration workflow to an event definition (first method):

  1. In App Explorer, under the Orchestration Workflows heading, click the name of a new orchestration workflow.
  2. On the Event Map tab of the orchestration workflow Property Editor, click Add.
    Note: This tab is not available for synchronous orchestration workflows.
  3. In the Map Workflow to Event Definition dialog box that opens, perform the following steps:
    1. Select an event definition from the Event definition list. This list is read-only if there is only one event definition in the orchestration.
    2. If the product supports more than one set of custom data, select the message to determine what will be received as inputs to the orchestration workflow.
    3. Select the event, defined by the Object type and Event type values, that you want the new orchestration workflow to handle.

    4. Click OK.

To map an existing orchestration workflow to an event definition (second method):

  1. In App Explorer, under the name of an orchestration, under the Application Links heading, click the name of the event definition.
  2. On the Event Map tab of the event definition Property Editor, click Add.
  3. In the Map Event Definition to Workflow dialog box that opens, perform the following steps:
    1. Select the event, defined by the Object type and Event type values, that you want the new orchestration workflow to handle.

    2. Select the existing orchestration workflow from the Workflow list.
    3. Click OK.