This section describes how to define a condition in Condition
state.
About this task
Conditions in Condition state are sever-side conditions.
No matter defining server-side or client-side conditions, there are
three kinds of Condition type: Expression,
Global Functions, and
Common .
Procedure
Add a Condition for the Condition state.
- Drag-and-drop a condition state icon from
the Palette to the canvas.
- In the Properties view, go to the Condition tab
and click the Add icon
on the Condition List panel to create a new condition. Then the Condition Details panel appears.
Define the Condition
expression.

- Select
Condition type and define the entire Condition expression according
to the selected type. There are three Condition types,
Expression, Global function, and Common .
Note: The list of possible Global functions and Common s
would be restricted to the target environment, such as the server-side,
client-side or both.
- Expression:
logical or relational operation defined by users.Steps:
- Select one of the operators to define Expression type.
- Define left and right input elements according to Expression type. Click the 'browse' button on the right.
In the pop-up Expression editor, select one of the supported elements and assign the value.
- Global function:
common data manipulation, such as compare and concatenate provided
by BTT. Steps:
- Expand the functions tree to select the Global function. You could
use the search bar to find the Global function
you want and use Description label to know
better about the function. Please refer to Global Functions for detailed information about the function.
- Define each parameter. Click the 'browse' button on the right.
In the pop-up Expression editor, select one of the supported elements and assign the value.
- Common : common condition which has been defined by users
in Condition Dictionary.Steps:
- Select the Common from the List panel.
- Define each parameter. Click the 'browse' button on the right.
In the pop-up Expression editor, select one of the supported elements and assign the value.
- In the Event field,
an event name will be generated automatically. You could re-name the
event.
- Optional: In the Description field,
enter the basic knowledge of this condition to clarify the purpose
or function.
- Click 'Apply value' button to save
the defined condition.
Results
Then a Condition is successfully defined. You could repeat
the steps to create multiple Conditions for a Condition state.