Data Output Mapping
The Data Output Mapping allows you to define the data transformation with her inner data output.
First of all, you got the context part (See the picture below).
The context is defined by all the inner data outputs of the shape. Those outputs could be read only when they are provided by a model. In that case, you won’t be able to edit, delete them or even create a new one unless you are doing that via editing the linked model.
Each element listed in the context can be edited, deleted or you can access to their details information. You can also create new context element.
When you have your context filled with the wanted elements, you can now do your data transformation using the mapping field (see the picture below).
In the left column we have the output associations which need to me map to one element of your context. You can also create new ones and manage them as you please. In the right column you have the mapping expression, each associations have its own.
When you don’t specify any mappings, the tool does some default mapping depending on the name of the outputs of the task that match with the Case file items. The default mapping is equal to null when there are no matched outputs.
The default mapping value is displayed at the bottom of the row of the value of the mapping or if a Literal Expression was selected, it will appear as placeholder on the value.
For example, lets say that we want to do a one to one mapping.
Navigate in the right column for each output data associations and select the "Literal Expression" logic.
Then in each literal expression, just write the name of the element from your current context you wanna assign to the output data association.
(Optional) If you want you can use the FEEL language to add some transformation to your data.
Then your mapping is done, congratulations !
If you want to clear the mapping you can use the button "Clear" at the end. This will clear all the input mapping! If you want to just clear one of them, click on the expression and use the clear functionality of the logic.