Creating a Case ExpressionOpen 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 Case
in the Type
field.
Enter the following data:
Name
(Optional) Short Text
(Optional) Text
Choose Create and navigate to object
.
The newly created case expression appears in the Object Manager
panel.
Note
If you choose Create
the case expression appears under the Contained Objects
tab.
Choose the result type. You can select return value or perform action.
Select Return Value
Choose Return Value
in the Result Type
field.
Assign the 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.
The element is added as the result data object.
Select an Existing Data Object
Choose
(Graphical Access
).
In the context menu, choose Select...
.
In the Object Query
dialog box that appears, enter the name of the data object in the Object Name
field and choose Search
.
The data object appears below the Search
button.
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
Select Perform Action
Choose Perform Action
in the Result Type
field.
An action is added as the result data object.
Define the case parameter. You can choose a standard type, an existing data object, expression or create a new expression.
Select a Standard Type
Choose
(Graphical Access
) next to When
.
In the context menu, choose Default Objects
and select the standard type.
Select an Existing Data Object
Choose
(Graphical Access
) next to When
.
In the context menu, choose Other Context Parameter...
.
In the Context Query
dialog box that appears, select the data object.
The selected data object is added as a case parameter.
Select an Existing Expression
Choose
(Graphical Access
) next to When
.
In the context menu, choose Select Other Parameter...
.
In the Object Query
dialog box that appears, enter the name of the expression in the Object Name
field and choose Search
.
The expression appears below the Search
button.
Select the expression.
The expression is added as the case parameter.
Create a New Expression
Choose
(Graphical Access
) next to When
.
In the context menu, choose Create New Parameter...
.
In the Object Creation
dialog box that appears, create the expression.
For more information, see Creating Expressions
Enter values in the fields next to ...equals
.
Note
If none of the when table test parameters matches the case parameter, an other parameter is evaluated in order to specify the result.
Choose
(Graphical Access
) next to then perform action
.
You can assign an existing action or create a new action.
Select an Existing Action
In the context menu, choose Select...
.
In the Object Query
dialog box that appears, select the action.
Create an Action
In the context menu, choose Create...
.
In the Object Creation
dialog box that appears, create the action.
For more information, see Creating Action Types
Define an other parameter. You can assign an existing expression, create a new expression or insert a value.
Select an Existing Expression
Choose
(Graphical Access
) next to Otherwise perform action
.
In the context menu, choose Select...
.
In the Object Query
dialog box that appears, enter the name of the expression in the Object Name
field and choose Search
.
The expression appears below the Search
button.
Select the expression from the list.
Create a New Expression
Choose
(Graphical Access
) next to Otherwise perform action
.
In the context menu, choose Create...
.
In the Object Creation
dialog box that appears, create the expression.
For more information, see Creating Expressions
Choose the Activate
button.
Save the expression.