Data Output Mapping

The Data Output Mapping allows you to define the data transformation with her inner data output.

Context

First of all, you got the context part (See the picture below).

data output mapping 1

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.

Mapping

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).

data output mapping 2

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.

data output mapping 3

Default mapping

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.

How to use this functionality ?

For example, lets say that we want to do a one to one mapping.

  1. Navigate in the right column for each output data associations and select the "Literal Expression" logic.

    data output mapping 4

  2. Then in each literal expression, just write the name of the element from your current context you wanna assign to the output data association.

    data output mapping 5

  3. (Optional) If you want you can use the FEEL language to add some transformation to your data.

    data output mapping 6

  4. Then your mapping is done, congratulations !

  5. 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.

    data output mapping 7