Input and Output Mapping Type Overview
  • 27 Jul 2022
  • 7 Minutes to read
  • Dark
    Light
  This documentation version is deprecated, please click here for the latest version.

Input and Output Mapping Type Overview

  • Dark
    Light

Article summary

Overview

In Decisions, data moves through a Flow by passing in and out of Flow steps. Data passing into a step, or data that is used on a step before processing, is referred to as its Input data. This data is used to configure the step's Properties and defines how the Flow continues. Flow steps use those inputs to complete the intended function, then pass the manipulated data out and on to the next step. Once the data leaves a step, it is known as its Output data. 

The action of applying data to step is known as mapping; in turn, the method by which data is mapped to a step is known as its Mapping Type. Depending on the Mapping Type selected, data may be defined from the step itself, or maybe broken down into its individual Properties, which then can be mapped to separately.  

The following article discusses the different Mapping Types that are used to appropriately define a step's Input data. 

Additional Information
For more information on Flow Input data, see the Adding Flow Input Data section in Create Your First Flow.

Step Inputs

The screenshot below shows a Flow with a single step. The Show Popup step has two input values that need to be defined; Subject and Message. Flow inputs can always be found in the properties for the corresponding step. By default, required inputs will appear with an 'Unkown' mapping type, while some optional inputs appear pre-defined or set to 'Ignore'. Selecting 'Unknown' next to one of these inputs will reveal a list with all of the available mapping types to choose from. 

Outputs are set to Rename by default. Select Rename and choose the input specific for your use.

Note
Sometimes when changing an input/output type, Flow steps will display an error notification if they previously had nothing mapped. To get rid of this error, select the white space in the Flow designer after mapping the input/output. This should get rid of the error message.

2020-01-10-135532.gif

Inputs

Constant

Used to assign a specific value to a flow variable that does not change. Users manually enter a value once the mapping option Constant is selected. In the example below, a constant is added to a Form.

2020-01-13_164068.gif


Select From Flow

This mapping option will take the data from the selected flow variable. When this option is selected, it will show all the available flow variable options that can be chosen. This mapping option is frequently used if data from a Form or Flow needs to be dynamic. The Flow variable that may be used here may be from an output of a previous step 

2020-01-13_165069.gif


Null

This mapping option will set that flow data variable value to the SQL Database value Null. 

2020-01-13_158962.gif


Ignore

The Ignore mapping option sets a flow data variable to contain no value.

2020-01-10_094020.png

2020-01-10_094532.png

Null and Ignore difference
The main difference between Null and Ignore is that the Null mapping option sets a flow data variable to SQL Null. Ignore configuring a Flow variable to have no value.

Run Converter Flow

It can also create a custom converter Flow or pick one from the list of available Converter Flows that have already been created. In the example below, a Merge String List to Single String input is used. Note the separating character of '/'. The predefined input list created in the Start Step is turned into a single string with the '/' separating each name in the End Step.

Converter Flow Additional Info
The output type of the converter flow has to match the type that the converter flow is being used to generate data for.

2020-01-13_159063.gif

Converter

A predefined list of Converter Flows (based on step expected data type). Pairs with the Run Converter Flow input type. The selected converter will run when Run Converter is selected.

2020-01-10_105015.png

2020-01-10_105233.png


Outputs

Change Value

Alters the value of a previously defined data Element. In the example below the initial String created in the Start Step will be changed via a Form. In the Output, the value is mapped to the initial string from the Start Step but will now display the newly created String.

2020-01-13_161065.gif


Expose Properties

Will expose the properties of a composite data type. For example, using expose properties on an account data type will make available all of its properties.


Rename

It creates a new Flow variable that can be manually named. In the example below a String called "Name Entry" is renamed "Name Entity". When using Select From Flow to map the String in the End Step, the String is now called "Name Entity". 

Note on Rename 
Rename is the most commonly used Output Type used. This is due largely in part to its ability to allow users to specify a unique name for the Output Data. This helps prevent any output issues that may occur should the step be renamed or altered in the future.

2020-01-10_114435.png

2020-01-10_114545.png


Reference

A Reference means that the data is not technically added to the flow data. Instead, it refers back to the step in the flow that created or fetched this data that added it to the flow. Since the flow is the parent of the data and can have multiple sub-flow, loops, or a big file that could increase server memory utilization. Using the 'reference' output option it runs the step where that data came from to make it usable. This helps the flow run easier on memory utilization. The flow will instead use more processor power. 

2020-01-13_162066.gif


Ignore

Ignores the field and the given value in the input. Value cannot be renamed or used later on in the Flow.

2020-01-13_166070.gif


Pass through

This mapping option will keep the default data name and just passes that data name out. It is similar to the rename output step, except the data name cannot be renamed.

2020-01-10_131038.png

2020-01-10_131214.png


Run Converter Flow

Runs predefined converter Flow that has been selected from the Converter input type (Example: Convert string to Date). Can also create a custom Converter Flow or pick one from the list of available converter type flows that have been created.|

2020-01-13_163067.gif


Converter

A predefined list of Converter Flows (based on step expected data type). Pairs with Run Converter Flow input type. The selected converter will be assigned when Run Converter is selected.

2020-01-10_134210.png


Specialty Inputs/Outputs


Merge HTML Text

Adds characters using HTML to format. Allows the ability to apply HTML to plain text values entered in the editor. This input type allows for icons as well. This could be used to draft the body of an email for example. It also gives the option to select multiple elements from flows as well as System Constants. In the example below a Form is used to request an image using the HTML format added in 'Show Editor'. When viewing the input, the icon selected displays in HTML format.

2020-01-10_102522.png

2020-01-10_102834.png

Merge Plain Text

Simple merging of items into a Plain Text format. Used to create dynamic folder names and assignment names for example. Allows selection of multiple designer elements from flows as well as System Constants. In the below example a Form is used to input a name. The name is then used with the Merge Plain Text input to make a sentence that is then used in the output of another form.

2020-01-13_160064.gif

Constant Date/Constant Date and Time

Used when the date is the same throughout the process. Allows manual selection of the date.

2020-01-10-1343 12.png

2020-01-10-1344 18.png


Current Date Time

Will always display the current system date-time.

Exception
If time zone translation is turned on it will override the current system date time. For more information on time-zone translation review "Setting Up Date/Time Translation."

2020-01-10-1345 20.png

2020-01-10-1346 22.png


Compute Date

The 'Compute Date' is used to create a fixed offset for either the past or the future. This input mapping type allows the user to offset the date time down to the second or for a period of days. 

2020-01-10-1348 23.png

2020-01-10-1349 24.png


Build Data

The build data option is available when a data structure is used. This input mapping option will allow mapping to every single element of a data structure. Depending on the data type of the data members in the data structure different input options will be made available. Since the the data members from the data structure are individually  made available, they can have values mapped into them. In the example below, a Flow Execution Extension data structure (Understanding the Defined Data Structures - Starting with Data Structures) is used to extend flow data into a process folder. The Extension Data will be made of data that will be built via the Flow but is defined within the created data structure. Note how the input types match the elements that will be created by the data structure.

2020-01-10-134926.png

2020-01-10-135027.png

  

Build Array

The Build Array input mapping option creates a list of a type. It also gives the user the ability to specify the 'Item' or data that will reside in that index. A frequently used flow step called the 'Send Email' step has a 'To' input. This input expects a list of strings so it can send an email to many users. Another way to configure this step is by using the 'Build Array' input mapping to pass a single email address. With that set up only one individual will get sent an email.

2020-01-10-135129.png

Join Array

Will allow two separate lists to be joined as one. Similar to the Build Array step above, after clicking ‘Add’ arrays can be selected via the default input methods. In the example below, a constant array is created and will be joined with another array that was added as a flow input in the Flows Start Step.

2020-01-10-135430.png





Was this article helpful?