Common > Business Rules Management > Adding rules > Choosing conditions

Choosing conditions
In This Section

The conditions of a rule comprise its “if” statement; if these conditions are met, then per­form the action specified in the rule. The basic form of a condition is “If [this object] [has this relationship to] [the basis for comparing the object].”

It is not necessary to add conditions to a rule. If, for example, you want the rule’s action to be applied to all objects, simply do not add any condition to the rule.

A condition contains these primary elements:

•
Field—[this object]
•
Operator—[has this relationship to]
•
Value—[the basis for comparing the object]

The fields are organized according to their type. When you click the Add Condition Based On button, a list of field types specific to the type of rule appears, each with a drop-down menu of the available fields. The following table lists the available field types for each rule base.

• Answers

• Contact

• Organization

• Incident

• Contact

• Organization

• Incident

• Contact

• Organization

• Opportunity

• Contact

• Organization

• Organization

• Incident

• Contact

• Organization

• Purchased Products

• Tasks

• Opportunity (minus the source field)

• Incident (minus the source and SmartSense fields)

• Answers

• Contact (minus source and unformatted phone number fields)

• Organization (minus the source field)

In addition to the fields that are specific to each type of rule, all rules can use rule variables for rule conditions. If no variables have been defined in the rule base, the Rule Variables condi­tion is disabled.


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.