Mapping between Units
Just as you make connections between units using a drag and drop feature on the Pipeline dashboard, you also use drag and drop to create mappings between attributes and parameters in the Mapping dashboard. This can only be done between units for which you have already made a connection.
For example, if we want to create mappings between the attributes in the Request unit and the available parameters in connector unit, these two units first need to be connected. We then click the connector unit on the Pipeline dashboard to open the Mapping dashboard.
The Mapping dashboard presents two columns: on the left are the attributes from a source unit while on the right are the available parameters as defined in the connector. A parameter obtains a value from the list of available attributes on the left using either drag and drop or in the formula editor.
Let's use the Formula editor to show how an attribute is referenced.

Manually entering formulas

In the Formula editor, for this example we first enter the Connector name, in this case request. Then we want a path object. Notice the key/value pair for that object appears in the preview. We then enter variant_id. This gives us our required value.
Manually entering a formula
We now have our mapped formula. Hovering over the dark green area under the path parameter displays a summary of the data sample. It includes the value, the formula and an Edit Formula button to open the Formula editor.
Formula summary dropdown

Using drag and drop

This simple drag and drop hides the complexity of creating the mappings.
You drag the attribute name over to an empty property area (dark green area) and release the mouse. If it is allowed, the mapping will occur automatically.
Drag and drop
You can see how it was done by hovering over the value of the parameter to display the formula summary dropdown. This is shown above in the previous section. Clicking Edit Formula opens the Formula editor where you can modify this reference.
Click Done to close the Mapping dashboard.
For more information, see Map attributes to parameters in the Pipeline tutorial.
Export as PDF
Copy link