Applying ESQL function definitions

The following steps show you how to insert or apply an ESQL function using the Compose Mapping Expression editor.

  1. From the Message Flow Mapping editor Overview pane, select the Target Value that you want to edit. A small box appears at the end of the row.
  2. Click the box to open the Compose Mapping Expression editor. (Alternatively, from the Outline view, right-click the value that you want to edit and click Edit Mapping to open the Compose Mapping Expression editor.)
  3. In the top view of the Compose Mapping Expression editor, select the value to which you want to apply the function, or position the cursor where you want to add the function.
  4. Select ESQL Functions from the drop-down list of functions.
  5. Click the small box to the right of the function type list. A list of all globally defined functions in the workspace appears.
  6. Select a function from the list.
  7. Drag and drop the selected function onto the value or position selected in step 3. If you drop the function onto a selected value, that value is placed into the selected function at the appropriate position. If you drop the function onto a selected position, the function is placed there ready for you to add the necessary values into that function.

When an ESQL function is selected, specify a project reference to the project that contains the function. If the function has been declared under a broker schema other than the default schema, fully qualify the function with its schema name.

Related concepts
Mappings
Mapping types
ESQL overview
Related tasks
Removing ESQL function definitions
Related reference
Mappings