# Transformations

Transformations are used to assign single or multiple input parameters for ELO Flows services. These assignments are based on input objects defined in the ELO Flows components. Transformations consist of a source object, a target object, and their mapping.

One use for transformations is to save complex assignments and to reuse them. For example, you can transform data objects with different data models onto the aspect data model of ELO objects or, in another context, transform the data model of ELO objects onto other target data models.

In addition, you can use transformations to change assignments across multiple flows at once.

To use transformations, create global ones in the Transformations area.

Alternative: You can also create transformations in the configuration area while creating a flow.

# Create global transformation

'Transformations' area

  1. Open the Transformations area.

  2. Select New transformation.

    The Create transformation dialog box opens.

  3. Enter a unique name for the transformation.

    Information

    Do not use special characters.

    The following characters are allowed:

    • a-z
    • A-Z
    • 0-9
    • äöü
    • ÄÖÜ
    • ß
    • _

    The transformation is automatically assigned to the package you are currently configuring.

  4. Select Create.

    Transformation settings The Transformation dialog box opens.

    Information

    The respective drop-down menu for the source object or target object is based on the components you can use to perform a transformation.

  5. In the Source field, select the source object that you want to link.

  6. In the Target field, select the target object you want to transform.

  7. Adapt the transformation object fields.

    The configurable fields are made available based on the target object.

  8. Select Save transformation.

# Create a transformation in the component context

You can create and edit transformations while designing new flows.

Transformation in the configuration area while creating a flow

Information

You will recognize whether a component allows for transformations based on the Apply transformation switch.

  1. In the configuration area, select Apply transformation

  2. In the Context field, select the source object for the transformation.

  3. Select the plus icon to create a new transformation.

    Alternative: Select a global transformation configured for the source object.

    Information

    You can only apply transformations if the source and target object are configured in the component code as transformable.

  4. In the Transformation dialog box, enter a unique name for the transformation and enter the values you want to assign.

    'Transformation' dialog box

    Information

    The Source and Target fields are set automatically. The contents there are based on the context entered previously and the service just configured that you want to apply the transformation in.

  5. Select Create transformation to save your entries.

The newly configured transformation is assigned to the flow and also created as a global transformation in the Transformations area.

Last updated: December 20, 2023 at 3:29 PM