Book a demo

← Documentation

Mapping fields between steps

After you assign fields to a method flow step, you can now map the input step fields to the output step field. If the input and output steps have the same field you can use automatic mapping. However, in most cases, you will have to perform the mapping yourself.

Map input and output steps fields

To map fields perform the following:

  1. Click the mapper element Map input and output steps fields screenshot of the step you want to map to.
    Map input and output steps fields screenshot

In the example above, click the Map input and output steps fields screenshot mapper of the get-accounts-by-customer-id asset step.

❗️ The mapper view shows the fields of the step you want to map to on the right-hand side and the fields of the steps preceding that step on the left-hand side.

Map input and output steps fields screenshot

  1. Click the handle of the field that you want to map and then the handle of the destination field.
    Map input and output steps fields screenshot

The mapped fields are connected by a line stretched between the blue-colored field handles.

Map input and output steps fields screenshot

❗️ To learn more about the different field handle states,

see Reviewing field mapping states:

Mapping fields using mapping expressions

You can map and apply an Expression logic on the origin field using mapping expressions
You can either code the expressions or use Flow Functions

Mapping fields using mapping expressions screenshot

Mapping fields using functions

You can map and apply a predefined Function on the origin field using Functions

Mapping fields using functions screenshot

Based on the origin field type and the target field type, the system will offer you several predefined functions

📘 Current functions (Jan 2025):

ARRAY_SIZE, ARRAY_AT, ARRAY_SLICE, ARRAY_REVERSE, ARRAY_SORT STRING_TO_UPPER_CASE, STRING_TO_LOWER_CASE, STRING_TRIM, STRING_TRIM_START, STRING_TRIM_END, STRING_REVERSE,STRING_PARSE_DOUBLE, STRING_PARSE_INT, STRING_PARSE_LONG
BOOLEAN_TO_STRING,
NUMBER_TO_STRING,
NUMBER_TO_LOCALE_STRING

Mapping fields automatically

You can use automatic mapping if the input and output steps have the same fields.

  1. Click the mapper element Mapping fields automatically screenshot of the step you want to map to.
    Mapping fields automatically screenshot

In the example above, click the Mapping fields automatically screenshot mapper of the Output step.

❗️ The mapper view shows on the left hand side the fields of all the steps preceding the step you want to map to.

Mapping fields automatically screenshot

In the example above, the Get-Accounts-By-Customer-id step and the Input step are accessible for mapping.

  1. Click Mapping fields automatically screenshot to display all the Get-Accounts-By-Customer-id and Output fields.
    Mapping fields automatically screenshot

In this example, the fields of the two steps are identical and, therefore, can be auto-mapped.

  1. ClickMapping fields automatically screenshot near the step header and then click Mapping fields automatically screenshot automap.
    Mapping fields automatically screenshot

❗️ All fields with identical names are automatically mapped.

Mapping fields automatically screenshot

Reviewing field mapping states

The field handles reflect the different mapping states a field can have in the following way:

Reviewing field mapping states screenshot Default state - the field is not mapped.

Reviewing field mapping states screenshot Mapped state - the field is mapped.

Reviewing field mapping states screenshot Disable state - if the field parent is mapped or any of its children are mapped.

Reviewing field mapping states screenshot Disable Mapped state - if all children are mapped.

Reviewing field mapping states screenshot Expression-required state - the mapped field requires an expression definition

The document provides instructions on mapping input and output fields in a method flow, detailing manual mapping, using mapping expressions and functions, and automatic mapping when fields are identical, along with an explanation of different field mapping states.

Read more

Tell us about yourself

You've been browsing the catalog. Leave your details to keep exploring.

Privacy policy