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.
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 |
---|---|
The Array functions perform operations on collections of similar types of data. |
|
The Boolean functions return only |
|
The Coerce functions coerce data from one type to another. |
|
The Data functions perform operations on mapping references. |
|
The Datetime functions retrieve, parse, and manage date and time values. |
|
The Float functions convert an integer or string to a floating-point value. |
|
The JSON functions perform operations on JSON objects or arrays. |
|
The Math functions perform common mathematical operations on values. |
|
The Number functions perform various operations on numbers. |
|
The String functions perform various string manipulations. They operate on character strings. |
|
The URL functions return parts of a specific URL, such as the host name used in the URL. |
|
The Utility functions include general utility functions such as utility.renderJSON which allows you to convert JSON data to a string. |
|
The Utils functions include general functions for encoding and decoding strings, generating a random UUID, and so on. |