Using Functions

You can use a function from the list of functions in the right column of the mapper and provide the necessary input to the function by using the elements from the output fields in the left column of the mapper.

Here's an example that concatenates two strings and assigns the concatenated value to message. We manually enter a value for the first string (str1) and map the second string to FirstName under body. The value for FirstName comes from the flow input.

Procedure

  1. Click message to open the mapper to the right.
  2. Expand the string function group in the right column and click concat(str1, str2).

  3. Select str1 in the function and type "We have received a message from " (be sure to include the double quotes as shown below) to replace str1 with it.

  4. Select str2 and click FirstName under body.

    At runtime, the output from the concat function gets mapped to message.