Creating a Value Range Expression 
In the Object Manager panel, under the Detail section, choose the Assigned Objects tab.
In the Assigned Objects tab page that appears, choose Expressions from the Type field and choose Create Object.
In the Object Creation dialog box that appears, enter the following data:
Name
Short Text
Text
Choose Value Range in the Type field.
Choose Create & Navigate To Object.
The value range expression appears in the Object Manager panel.
Note
If you choose Create the value range expression appears under the Assigned Objects tab.
Define the incoming parameter. You can choose an existing data object or a new data object as the incoming parameter.
Select an Existing Data Object
Choose
(Graphical Access).
In the context menu, choose Select Context Data Object.
In the Object Query dialog box that appears, select the data object and choose Select.
Create a New Data Object
Choose
(Graphical Access).
In the context menu, choose Create Data Object and select the type of data object you want to create.
More information: Creating Data Objects
Create a New Expression
Choose
(Graphical Access).
In the context menu, choose Create Expression and select the type of expression you want to create.
More Information: Creating Expressions

Under the Detail section, choose the comparator and enter the value for the incoming parameter.
Assign the return value.
Select Data Object
Choose
(Graphical Access) next to Return Value.
In the context menu, choose Select Data Object....
In the Element Query dialog box that appears, select the element and choose Select.
Select Context Data Object
Choose
(Graphical Access) next to Return Value.
In the context menu, choose .
In the Element Query dialog box that appears, select the element and choose Select.
Save the expression.