Receive Activity

The receive activity defines how the business process waits for a matching message to arrive. The receive activity supports the concept of implicit assignments using the element <fromParts>.

Syntax

<receive name="ReceiveCreditInfo" partnerLink="CreditOrg" portType="cc:CheckCreditPT" operation="CheckCreditCallback"
 variable="VCreditInfo" createInstance="no">
  <correlations>
   <correlation set="AccountKey" initiate="no"/>
  </correlations>
</receive>


Mapping

You design a receive activity in any of the following ways:


  • Process object with the following properties:

    Process property

    Value

    Implementation type

    Execute operation

    Action type

    Receive request

    Implemented by

    Operation defined under a service provider within the same model

    Received message

    Input message of the operation

    Message mapping

    New variable with a message type

  • Right-click an <<empty>> process or a process without any stereotype and select the Change to Receive command

  • Drag the operation from the Browser and drop it on a process in the diagram window then set the appropriate action type

Extended Attributes

The following extended attributes apply to the receive activity and are available from its property sheet:

Name

Internal code

Description

Create Instance

CreateInstance

Instantiates the process

Initiate Correlation

InitiateCorrelation

When a correlation is used by the receive activity the initiate attribute can be yes, no or join

Join Condition

joinCondition

Join condition

Suppress Join Failure

suppressJoinFailure

Avoids propagation of Join Failure exceptions

MultipleCorrelation

Defines BPEL Invoke, Receive or Reply activities using several correlations.

expressionLanguage

Specifies the expression language used in expressions


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com