The Receive element allows the business process to do a blocking wait for a particular message to arrive.
In the Design view, drag the Receive element from the Palette to the diagram.
Right-click the Receive element and select properties . The Properties window appears. Click the Properties Editor button to open the Properties Editor. You can also open the Properties Editor by double-clicking the Receive element.
The Receive Properties Editor includes two tabs, Main and Correlation. The properties on the Main tab are:
Name: Specifies the name of the Invoke element.
Partner Link: Specifies the partner link.
Operation: Specifies the operation associated with the Receive element.
Input Variable: Specifies the input variable associated with the Receive. element.
Select Browse for the Input Variable to open the Input Variable chooser, where you can choose other variables associated with this process. Select Create to create a new variable.
Create Instance: Specifies if an instance of the BPEL process starts when an associated message arrives. Note that if the Receive activity is the first activity in your business process, the Create Instance checkbox must be selected.
Port Type: Accessed on the Properties window. Specifies the type of port.
Documentation: Accessed on the Properties window. Specifies documentation to attach to the element. This documentation is included in the source code of the BPEL process and can be extracted and included in a report.
The Correlations tab in the Receive Property Editor allows you to examine or specify a correlation set.
Correlation Set: Specifies the correlation sets.
Initiate: Specifies the initiation of a correlator.
For more information see Understanding Correlation. Using the Correlation Wizard.