Creating a Static Method Call 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 Static Method Call in the Type field.
Enter the following data:
Name
(Optional) Short Text
(Optional) Text
Choose Create and navigate to object.
The newly created static method call expression appears in the Object Manager panel.
Note
If you choose Create the static method call expression appears under the Contained Objects tab.
Assign result data object. You can select a standard type, an existing data object or create a new data object.
Select a Standard Type
Choose
(Graphical Access).
In the context menu, choose Default Objects and choose the data object type.
Select an Existing Data Object
Choose
(Graphical Access).
In the context menu, choose Select....
In the Object Query dialog box that appears, select the data object.
The data object is added as the result data object.
Create a New Data Object
Choose
(Graphical Access).
In the context menu, choose Create....
In the Object Creation dialog box that appears, create the data object.
For more information, see Creating Data Objects
Enter the name of the class or choose
(Advanced) in the Class Name field.
In the list that appears, select a relevant class and choose OK.
The selected class is added.
Add sub-expression to the expression. You can choose an existing expression or create a new expression.
Select an Existing Expression
Choose Select Expression.
In the Object Query dialog box that appears, select the expression.
Create a New Expression
Choose Create Expression.
In the Object Creation dialog box that appears, create the expression.
For more information, see Creating Expressions
Activate the expression.
Save the expression.