The BPEL Mapper provides a framework for processing and directing BPEL process data. This framework consists of the following components:
Menu Bar: The menu bar provides operators, necessary elements, and XPath functions you use to create BPEL mappings. You can also enhance or extend BPEL mappings by incorporating predicates that consist of XPath functions.
On the right side of the menu bar, you can use the following buttons to work with function boxes, or functoids:
Expand Mapped Nodes: Expands all mapped nodes.
Collapse All: Collapses all function boxes. This command is useful when you work with numerous function boxes in the mapping pane.
All: Displays all nodes.
Output: Displays only connected nodes.
Source tree pane: The source tree pane is placed on the left and contains a tree component that provides access to a business process's data variables and partner links.
Mapping pane: The mapping pane contains a canvas for creating BPEL mappings. When you select a function from the menu bar, a function box appears in the mapping pane. If the function accepts any arguments, then the left side of the function box has one connector for each argument. If an argument is optional, then a question mark appears after the argument name. The right side of the function box has one connector for the result. You can use the BPEL Mapper with the following business process elements:
Assign activity: Defines one or more copy assignments.
If activity: Defines the condition.
Else If element within an If activity: Defines the condition.
For Each activity: Defines the condition.
Repeat Until activity: Defines the condition.
While activity: Define the condition.
Wait activity: Specifies the deadline or duration.
onAlarm event: Specifies the deadline or duration.
Destination tree pane — This pane is placed on the right. The component displayed in destination pane tree are associated with the business process element that you are mapping. The pane contains the following components:
For an Assign activity: The right pane contains the same tree component as the left pane.
For an If activity, Else If element, For Each activity, Repeat Until activity, and While activity:: The right pane contains a Result node.
For an Wait activity: The right pane contains a Deadline or Duration node.
Open the BPEL diagram and do one of the following:
Double-click the element that requires BPEL Mapper. The Mapper tab opens.
Select an element that requires the Mapper and on the Diagram toolbar and click the Mapper tab.
If you want to see the Mapper and the diagram of the process at the same time, you can place the mapper into a separate window. For more information see Cloning Document Views.