IBM BPM, V8.0.1, All platforms > Create processes in IBM Process Designer > Modeling processes > Integrating with Enterprise Content Management (ECM) systems > Inbound events from Enterprise Content Management systems > Performing modeling tasks for inbound events

Adding a content event to a BPD

In a BPD, a content event is used to catch or throw interactions with an enterprise content management (ECM) system. You can add one of several types of content events, such as a Start event, Intermediate event, Boundary event, or Event Subprocess Start event.

This topic describes how to add a content event to a BPD without consideration for some of the other components that are required to detect and respond to ECM events, such as an event subscription. If you need to add a content event to a BPD and create all of the other required components as well, you should follow the instructions in the topic Subscribing to document and folder events: the end-to-end approach. This is a simpler approach than creating each component on a stand-alone basis and it automatically creates some resources that you would otherwise need to create manually.

Although you can add a content event to an existing BPD, you can also add a content event to a new BPD by completing the following steps:


Procedure

  1. In the library area of the Designer page, click the plus (+) icon beside Processes and then select Business Process Definition. The New Business Process Definition wizard opens.

  2. In the Name field, specify a name for the new BPD.

  3. Click Finish. The new BPD is displayed in the Process library list (under Business Process Definitions) and the BPD opens in the BPD editor.

  4. In the canvas, select the existing Start event or select the Start Event or Intermediate Event icon in the palette and drag the event to the canvas.

  5. Click the Properties tab and then click Implementation. The Implementation panel opens.

  6. In the Start Event Details or Intermediate Event Details section, change None to Content. The event in the diagram changes to display a Content marker icon.
  7. Beside the Attached Content UCA area in the Content Trigger section, click Select to select an existing Content UCA. (If you select an existing Message UCA, the Intermediate event in the diagram is changed from a Content event to a Message event.) Alternatively, you can click New to create a new Content UCA. Information about creating a new Content UCA is found in the topic Create and configuring an undercover agent for a content event.

  8. In the BPD editor canvas, ensure that the Content event is selected, then click the Properties tab and click Data Mapping. The Data Mapping panel opens.

  9. Click the variable selector icon on the right side of each field to map each undercover agent output variable to a local variable in the BPD.

  10. If you are working with an intermediate event, select the variable that you want to use to correlate the event with the BPD instance. The variable selected for correlation is identified by an assignment symbol. This correlation ensures that the parameter values of the runtime message are passed to the correct BPD instance. (IBM BPM only requires one variable mapping to correlate the event.)

  11. Click Save.

Performing modeling tasks for inbound events