Creating a Function Call Expression 
Open the application in the Object Manager panel.
Under the Detail section, choose the Contained Objects tab.
The Contained Objects tab page opens.
Choose Expression from the Type field and choose Create Object.
In the Object Creation dialog box that appears, choose Function Call from the Type field.
Enter the following data:
Name
(Optional) Short Text
(Optional) Text
Choose Create and navigate to object.
Note
If you choose Create button, the function call expression appears under the Contained Objects tab.
Assign result data object.
You can assign a standard data object, 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
In the Object Query dialog box that appears, select the 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
Assign target function to the expression.
You can select a standard type, create a new function or use an existing function as the target function.
Select a Standard Type
Choose
(Graphical Access).
In the context menu, choose Default Objects and select the standard type.
Create a New Function
Choose
(Graphical Access).
In the context menu, choose Create...
In the Object Creation dialog box that appears, create the function.
For more information, see Creating a Function
Assign top expression to the function.
For more information, see Assigning Top Expression
Assign context and result to the function.
For more information, see Assigning Context and Result
Select an Existing Function
Choose
(Graphical Access).
In the context menu, choose Select....
In the Object Query dialog box that appears, select the function.
The context data object of the target function appears under the Target Function Context Data Object in the Mapping section.

Map the context objects between the source expression and the target function.
You can choose a data object or an expression.
Select a Standard Type
Choose
(Graphical Access).
In the context menu, choose Default Objects and select the standard type.
Choose an Existing Data Object
Choose
(Graphical Access) under the Source Context Data Object/Expression column.
In the context menu, choose Other Context Parameter....
In the Context Query dialog box that appears, select the data object.
The context data object appears under Target Function Context Data Object in the Mapping section.
Choose an Existing Expression
Choose
(Graphical Access).
In the context menu, choose Expressions....
In the Object Query dialog box that appears, select the expression.
The context expression appears under Target Function Context Data Object in the Mapping section.
Create a New Expression
Choose
(Graphical Access).
In the context menu, 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.