Common > Business Rules Management > Adding rules

Adding rules
In This Section

Once you add states and functions for an object class, you can add rules. The following pro­cedure adds an opportunity rule, although the procedure for adding other types of rules is similar.

To add a rule:
1
2
3
4
5
6

You might decide you want the rule’s actions to apply to all opportunities. In that case, you can create a rule that has only actions, but no conditions. The actions must be added to the Then clause.

7
8
9
Enter the value. Different fields have different values. For descriptions of the values for each field in the different types of rules, refer to Choosing conditions.
10
To add another condition to the rule, repeat steps 6 through 9. To understand the relation­ships when a rule contains multiple conditions, refer to Editing logical expressions.
11
Click the Add Action button under the Then heading to choose the action that will be executed if the conditions are met. Refer to Choosing actions for a description of the actions for each object class.
12
13
To add more actions to the rule, repeat step 11 or 12, depending on whether you want to add the action to the Then or the Else clause.
14

Rule validation prevents saving meaningless rules. For example, a rule with no condition automatically executes the actions in the Then clause; if the rule also contains an Else clause, the rule is invalid because a non-existent condition can­not be unmatched. Rules with no action are also invalid.


Copyright © 2000, , Oracle Corporation and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.