Receive system function

Use the Receive system function to provide a Web Service that can be invoked. The Receive step can be at any location in the workflow.

Under the following conditions, a workflow with a Receive system function will launch automatically in response to an Invoke system function:

NOTE If a Receive step is not the first step in the workflow, the step must include a correlation set that provides a way to identify an appropriate instance of an invoke message.

To specify a Receive system function

General tab

  1. On the Receive General tab, select a previously defined Partner Link that specifies the Web Service.
  2. Enter an operation name.
  3. Under Message Type, select Parameters or XML.

    Parameters — use workflow data fields for input and output. Use this message type for simple parameters or for schemas up to two levels deep. Schemas cannot contain duplicate element names.

    XML — use XML schema for input and output. You must use this message type when parameters are nested more than two levels deep.

Advanced tab

Correlation Set

A correlation set provides an identifier between two Web Services so that one can identify an appropriate message from another.

NOTE A correlation set is required for any Receive step that is not the first step after the Launch step.

You can define a correlation set for any of the Web Services system functions—Receive, Reply, and Invoke. For example, if you define a Receive step with a correlation step consisting of an order number with a specific value, that Receive step will wait for an Invoke request that contains the specified value of that order number.