Creating a Boolean Expression 
Open the application in the Object Manager panel.
Under the Detail section, choose the Contained Objects tab.
The Contained Objects page appears.
Choose Expression from the Type field and choose Create Object.
In the Object Creation dialog box that appears, choose Boolean in the Type field.
Enter the following data:
Name
(Optional) Short Text
(Optional) Text
Choose Create and navigate to object.
The newly created boolean expression appears in the Object Manager panel.
Note
If you choose Create the boolean expression appears under the Contained Objects tab.
Under the Detail section, choose Template and select the template type.
The following template types are available:
Any operand is true
All operands are true
<1> and <2>
<1> or <2> or <3>
(<1> and <2>) or <3>
(<1> or <2>) and <3>
<1> and <2> and <3>
Choose your own template
The template type which is selected appears next to the Template.

Depending on the template selected, add condition to the boolean expression.
You can create a value range expression using the selected data object or expression as the test parameter.
Use Value from Standard Type as Condition
Choose
(Graphical Access) next to if.
In the context menu, choose and choose the standard type.
Use Value from an Existing Context Data Object as Condition
Choose
(Graphical Access) next to if.
In the context menu, choose .
In the Context Query dialog box that appears, select the data object.
Use Value from an Existing Expression as Condition
Choose
(Graphical Access) next to if.
In the context menu, choose .
In the Object Query dialog box that appears, enter the name of the expression and choose Search.
The expression appears below the Search button.
Select the expression.
You can also directly select an expression or a data object as a condition. The selected expression should have result of type Boolean and the selected data object should be of type Boolean.
Use Operand from an Existing Expression as Condition
Choose
(Graphical Access) next to if.
In the context menu, choose .
In the Object Query dialog box that appears, enter the name of the expression and choose Search.
The expression appears below the Search button.
Select the expression.
Use Operand from an Existing Context Data Object as Condition
Choose
(Graphical Access) next to if.
In the context menu, choose .
In the Context Query dialog box that appears, select the data object.
Use a New Expression as Condition
Choose
(Graphical Access) next to if.
In the context menu, choose Create Expression...
In the Object Creation dialog box that appears, create the expression.
For more information, see Creating Expressions
Choose the Activate button.
Save the expression.