Data Input Mapping

The Data Input Mapping allows you to define the data transformation for Case File items from the same scope than the selected shape.

Context

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

data input mapping 1

The context is defined by all Case File items in the same scope.

data input mapping 2

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 input mapping 3

In the left column we have the internal data inputs which need to be mapped to one element of your context. Those inputs could be read only when they are provided by a model linked to the task. If not, you can create new ones and manage them as you please. In the right column you have the mapping expression, each inner data inputs have its own.

Default mapping

When you don’t specify any mappings, the tool does some default mapping depending on the available case file items that are in the case plan model. The default mapping is equal to null when there are no matched inputs. As soon as user enter a value on one of the mapping, the default mapping on the other inputs doesn’t apply anymore, they will be equal to null by default.

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 inner data inputs and select the "Literal Expression" logic.

    data input mapping 4

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

    data input mapping 5

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

    data input 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 input mapping 7