Correlating Process Instances with PI Messages

Prerequisites

In your process you have designed a message start event, intermediate message event, or an automated activity for message exchange with AEX.

Context

Separate monitors are available on AEX and for BPM. With the following settings, you can correlate messages coming from or going to AEX with a process instance.

Procedure

  1. When designing a process in Process Composer perspective of SAP NetWeaver Developer Studio, enter an ID which can be uniquely identified and is part of the message payload of the message coming from AEX in the process Subject field.

    This ID can for example be an order ID or a customer number.

    1. Open the process in Process Composer and select the User Texts tab.

    2. Enter Variable Name , Type , and Expression for the ID you want to use.

    3. In the Subject field, reference the variable entered above.

    More information: Working with Tasks , section (Optional) Defining User Texts

  2. On AEX, define a filter for the user-defined message search using this ID.
  3. On AEX start page, choose the Monitoring and Administration link.
  4. If requested, enter user name and password.
  5. Choose the Processes and Tasks tab page and select Manage Processes .

    The process subject field is part of the result list.

  6. To monitor message processing on AEX, select Message Monitor .
  7. Find the search option for user-defined message search under Advanced Search options.

    More information: Advanced Message Search