Assign

See Also

The Assign activity assigns values to variables. Use the Assign element to copy data from one variable to another, construct and calculate the values of expressions, and store new data in variables. Expressions are required to perform simple computations or operate message selections, properties, and literal constants to produce a new value for variables. The Assign activity can contain one or more elementary assignments.

You can use the BPEL Mapper to define the copy rules for the Assign activity or add expressions.

To use the Assign element:

  1. In the Design view, drag the Assign element from the Palette to the diagram.
  2. Select the Assign element on the diagram.
    The Properties window shows the Assign properties (Ctrl-Shift-7).
  3. (Optional) In the Properties window, enter the name for the Assign element.
    You can also double-click the name on the diagram and enter the new name.
  4. If the BPEL Mapper window has not appeared automatically, choose Window > BPEL Mapper.
  5. Create one or more elementary assignments, including mappings or expressions. For details, see Creating BPEL Mappings and XPath Function Reference.
    Note that the number of assignments in the Properties window increases as you add new mappings or expressions using the BPEL Mapper.
See Also
Creating Variables
About the BPEL Mapper
BPEL Designer Palette: Basic Activities
About the Design View of the BPEL Designer

Legal Notices