Overview of Mapper Functions

Flogo provides a graphical data mapper to map data between the activities within a flow, and between the trigger and the flows attached to the trigger within an app. The mapper functions can be used within a mapping expression to enable a more powerful experience. For example, when mapping data, you can coerce the data to a specific time or concat two strings.

Important: See Data Mappings for general information about the data mapper and how to use it.

The mapper provides commonly used functions that you can use along with the data to be mapped. The functions are grouped into the following logical categories: 

Category

Description

Array

The Array functions perform operations on collections of similar types of data.

Boolean

The Boolean functions return only true or false. You can use these functions to perform operations based on a condition.

Coerce

The Coerce functions coerce data from one type to another.

Data

The Data functions perform operations on mapping references.

Datetime

The Datetime functions retrieve, parse, and manage date and time values.

Float

The Float functions convert an integer or string to a floating-point value.

JSON

The JSON functions perform operations on JSON objects or arrays.

Math

The Math functions perform common mathematical operations on values.

Number

The Number functions perform various operations on numbers.

String

The String functions perform various string manipulations. They operate on character strings.

URL

The URL functions return parts of a specific URL, such as the host name used in the URL.

Utility

The Utility functions include general utility functions such as utility.renderJSON which allows you to convert JSON data to a string.

Utils

The Utils functions include general functions for encoding and decoding strings, generating a random UUID, and so on.