Open the application in the Object Manager
panel.
Under the Detail
section, choose the Contained Objects
tab.
In the Contained Objects
tab page that appears, choose Rule
object from the Type
field and choose Create Object
.
In the Object Creation
dialog box that appears, enter the following data:
Name
(Optional) Short Text
(Optional) Text
Choose Create and navigate to object
.
The newly created rule opens in the Object Manager
panel.
Note
If you choose Create
button, the created rule object appears under the Contained Objects
tab.
Assign a condition to the rule.
You can assign a standard type, an existing context data object, an existing expression or create a new expression as the condition.
Use Value Range as Condition
Select a Standard Type
Choose (Graphical Access
) next to No expression assigned
.
In the context menu, choose
and choose the standard type.Select an Existing Context Data Object
Choose (Graphical Access
) next to No expression assigned
.
In the context menu, choose
.In the Context Query
dialog box that appears, select the data object.
Use Expression and Data Object as Condition
Select an Existing Expression
Choose (Graphical Access
) next to No expression assigned
.
In the context menu, choose
.In the Object Query
dialog 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.
Select a Standard Data Object
Choose (Graphical Access
) next to No expression assigned
.
In the context menu, choose
and choose the data object type.Select an Existing Data Object
Choose (Graphical Access
) next to No expression assigned
.
In the context menu, choose
.In the Context Query
dialog box that appears, select the data object.
Use a New Expression
Choose (Graphical Access
) next to No expression assigned
.
In the context menu, choose Create Expression...
.
In the Object Creation
dialog box that appears, create the expression.
For more information, see Creating Expressions
Note
The condition should be a context data object or a nested expression whose value or result can be converted into a Boolean type.
Assign an action to the rule.
Assign Action
You can either choose an existing action or create a new action.
Select an Existing Action
Choose Add
next to Then
.
In the context menu, choose
.In the Object Query
dialog that appears, select the action.
Create a New Action
Choose Add
next to Then
.
In the context menu, choose
.In the Object Creation
dialog box that appears, create the action.
For more information, see Creating Action Types
Assign Value to Context
Select an Existing Context Parameter
Choose Add
next to Then
.
In the context menu, choose
.In theContext Query
dialog that appears, select the data object.
Enter values for the data object.
Assign an Expression
Select an Existing Expression
Choose Add
next to Then
.
In the context menu, choose
.In the Object Query
dialog that appears, select the expression.
Create a New expression
Choose Add
next to Then
.
In the context menu, choose
.In the Object Creation
dialog box that appears, create the expression.
For more information, see Creating Expressions
Similarly, add actions to the Else
section of the rule.
Activate the rule.
Save the rule.