Table of Contents

Search

  1. Preface
  2. Welcome to Informatica Process Developer
  3. Using Guide Developer for the First Time
  4. Getting Started with Informatica Process Developer
  5. About Interfaces Service References and Local WSDL
  6. Planning Your BPEL Process
  7. Participants
  8. Implementing a BPMN Task or Event in BPEL
  9. Implementing a BPMN Gateway or Control Flow
  10. Using Variables
  11. Attachments
  12. Using Links
  13. Data Manipulation
  14. Compensation
  15. Correlation
  16. What is Correlation
  17. What is a Correlation Set
  18. Creating Message Properties and Property Aliases
  19. Adding a Correlation Set
  20. Deleting a Correlation Set
  21. Adding Correlations to an Activity
  22. Rules for Declaring and Using Correlation Sets
  23. Correlation Sets and Engine-Managed Correlation
  24. Event Handling
  25. Fault Handling
  26. Simulating and Debugging
  27. Deploying Your Processes
  28. BPEL Unit Testing
  29. Creating POJO and XQuery Custom Functions
  30. Custom Service Interactions
  31. Process Exception Management
  32. Creating Reports for Process Server and Central
  33. Business Event Processing
  34. Process Central Forms and Configuration
  35. Building a Process with a System Service
  36. Human Tasks
  37. BPEL Faults and Reports

Designer

Designer

Receive

Receive

BPMN Implementation: Receive task, Message catch event
When a BPEL processing engine gets a message, it searches for a receive (or pick) activity with a matching partner link and operation. For an executable process, the receive must specify an input variable or variable part for the message data received. See
Participants
for descriptions of concepts important to this activity.
The receive activity can begin a business process instance by including a
Create Instance
property set to Yes. A receive activity can be associated with a reply activity if the operation is a request-response. Additionally, the receive can include a message exchange attribute.
You can create a set of concurrent initial receives. This case allows for any one message of a set to initialize a BPEL process. To create a multiple-activity starting point, add the receives to a flow container. Also, you must provide a correlation set for all concurrent receives that initiate a process, as described in
Adding Correlations to an Activity
.
Two other activities are similar to a receive: an onMessage clause in a pick activity or and onEvent event handler. For more information, refer to
Pick
and
Event Handling
.
Required Properties
Optional Properties
Participant (Partner Link)
Name. See
Selecting Activity Labels
Operation
Port Type
Variable (required only for executable process, not abstract process)
or
From Part to Variable. See
From Part to Variable
.
Correlations. See
Correlation
 
Create Instance. Required if this is the start activity.
 
Join Condition. See
Creating a Join Condition for an Incoming Link
 
Suppress Join Failure. See Process Properties
 
 
 
 
Execution State.
Viewing the Execution State of an Activity or Link
 
Message Exchange.
Message Exchange Declaration
 
Extension Attributes and Extension Elements. See
Declaring Extension Elements and Attributes
.
To add a receive activity to the process manually:
For a shortcut and recommended technique, see
Creating an Activity by Starting with a WSDL Interface
.
  1. Drag a
    Receive task
    or
    Message catch event
    activity to the Process Editor canvas.
    You can add a background color to the receive task, but not the message catch event.
  2. In the Properties view, select the following values:
    1. Optionally type in a Name.
    2. In the Participant drop-down, select
      New Process Service Consumer
      .
    3. Select an Operation from the picklist.
  3. In the Data tab, do one of the following:
    • Select Single Variable from the Assignment Type and create a new variable or select a process variable.
    • Create a Parts to Variables specification. For details, see
      From Part to Variable
      .
    • Create an XPaths specification. For details, see
      Input Variable
      .
  4. Select other optional properties as desired.
A receive activity is actually two activities: a Receive followed by an Assign in a Scope. These two activities are not atomic and if you, for example, initialize onAlarm in an event handler, you cannot use the variable until the assign has completed.
Usage Examples
One receive can start a process
In a pick (event-driven gateway) with onMessage activities, one of many can start a process; the rest are ignored
Any one starts a process; all are required to complete the fork join (flow )
XML Syntax
<receive partnerLink="NCName" portType="QName"? operation="NCName" variable="BPELVariableName"? createInstance="yes|no"? messageExchange="NCName"? standard-attributes> standard-elements <correlations>? <correlation set="NCName" initiate="yes|join|no"?>+ </correlations> <fromParts>? <fromPart part="NCName" toVariable="BPELVariableName"/>+ </fromParts> </receive>
XML Example:
<receive name="ReceiveCustomerRequest" partnerLink="customer" portType="lns:loanServicePT" operation="request" variable="request" createInstance="yes"/>

0 COMMENTS

We’d like to hear from you!