Last Updated: Mar 15, 2021
Mapping helps in passing data from preceding nodes to the succeeding nodes.
The output variable of each node is available to be mapped as input in all the subsequent nodes.
Click the link between two nodes. Edit Mapping Data window opens. You can select the node from where you want to map the elements in the dropdown on the top of the left panel in the mapping screen. All the preceding nodes get listed here. All the output variables of the selected node get listed on the left-hand panel of mapping screen. You can select the value and pass them to current node.
There are two types of mapping windows based on the nodes.
You can map elements in any order and need not match with the order in the tree structure.
You can select the parameter to be mapped from right-hand panel and pass value to it from the preceding nodes using ELEMENT MAP option.
Right- hand panel of the window displays parameters of the current node.
Press Ctrl on the keyboard to deselect any parameter.
In Doc Reader node, select the value from the output variable path, and pass it to the parameter location on the right-hand side.
Mapped elements are listed at the bottom with the Types of Mapping, From Where, Output Name, What to get, Which All, and Where to put? fields.
The following four types are available:
A constant value is mapped to the current node.
The file path of Invoice document is mapped to the Doc Reader Node.
XPath (XML Path Language) of a particular element is mapped to the current node.
Select XPath from the Type of Mapping drop-down.
The Type of Mapping for UID in Email node is always XPath.
Javascript is used to write expressions to map the values.
Expression Mapping is used to send emails to multiple emailIDs by defining them as variables.
Easy Mapping is used when the parameters of both left-hand panel and right-hand panel are similar.
Select the root element and click the EASY MAP button.
All the elements are mapped if the Xpath of elements in left-hand panel are matching with the right-hand panel.