Defining condition using Global Function

This section describes how to define a condition using BTT global functions.

Procedure

To create a condition and define the condition as a function, do the following steps:

  1. Drag-and-drop a condition state icon condition state icon from the Palette to the Transaction editor space.
  2. Define the condition using global functions.
    1. In the Condition State view, click the Condition tab, click the Add icon the add icon. The Condition Details panel appears in the Condition tab next to the Condition List panel.
    2. In the Condition type drop-down list, select Global Function.
    3. In the Global Function area of the Condition Details panel, expand the functions tree to select the appropriate global function that you want to use.
    4. In the table of parameters, click in the Value column, and then click to browse the available value in the new-opened dialog (Server side Expression Editor).
    5. Specify the values of the parameters. Click OK.
      Note: If you use global function as the condition, only the functions that return type is boolean will be listed in the global function tree.
      Note: For more information on the Server Side Expression editor, refer to the Server side expression editor section.
    6. In the Event field of the Condition Details panel, enter a name for the event that is triggered after the condition has been evaluated.
    7. Click the Apply Value button The Apply Value button.