Using Functions

You can use a function from the list of functions available under Functions in the mapper. Input parameters to the function can either be mapped from an element under Available data, a literal value, or an expression that evaluates to the appropriate data type or any combination of them.

The following procedure illustrates an example that concatenates two strings and assigns the concatenated value to the message. We manually enter a value for the first string (str1) and map the second string to id under $flow. The value for id comes from the flow input.

    Procedure
  1. Click the message to open the text editor to the right.
  2. Click Functions. Expand the string function group and click concat(str1, str2).
  3. Select str1 in the function and type "Received: " (be sure to include the double quotes as shown) to replace str1 with it.
  4. Drag id from $flow and drop it in place of str2.

    At run time, the output from the concat function is mapped to the message.

    Watch the video: