Adding constants or user-defined functions

You can add these functions directly in the function editor ‘s scope container:

  • Constants
  • User-defined functions

To add either of these functions:

  1. Right-click in the mapping scope container within the function editor.
  2. Select Add Constant or Add User-Defined Function.
    Alternatively, you can add a constant or a user-defined function by dragging a widget from the editor‘s left panel. To add a constant, use Constant > String or Number. To add a user-defined function, use Template Functions > create-custom.
    Note: You can also right-click the blank canvas and select Add Constant. A separate scope container is created with the constant as a starting point.
  3. Click Check mark to store your changes to the function and close the Function Editor window.
    Note: If your function is invalid, a warning is displayed.

    Click Cross to close the Function Editor window. Your changes are discarded.