Index
Introduction
The rules center page allows to control the creation and modification of folders, rule sets and their rules.
Folders - allow you to group scores, grades, segmentation rules, field cleaning rules
Rule Sets - define which object you want to target, which field, and define settings
Rules - define your scoring, grading, segmentation etc. rules
When creating a new rule set or rule the default status for those is determined by the default value specified in the custom setting for the application.
Note: Any changes made either to a rule set or one of its rules will always be reflected in the next scheduled engine execution.
Rule Set Creation
The rule set creation form requires filling out the target object and field. Depending on the rule set type - either Fixed Value
or Points Based
- the target field selection will be calculated accordingly.
As mentioned before the rule set types are:
Fixed Value
: the rule set will apply a fixed value as specified by the rule matching a given record under the rule setPoints Based
: the rule set will apply a cumulative score (therefore the fields it operates on must be numeric) for each rule matching a given record
After having selected type and target a reversal behavior can be established for the rule and it contemplates the following:
Enabled
: reversal of record value prior to the change made by the first rule that matched it in case of rule deletion and deactivation.Enabled on Rule Deletion Only
: reversal of record value prior to the change made by the first rule that matched it in case of rule deletion only.Enabled on Rule Deactivation Only
: reversal of record value prior to the change made by the first rule that matched it in case of rule deactivation only.Disabled
: no reversal of record value prior to the change made by the first rule that matched it.
Evaluation of the rule can take place every time the Toolbox runs or at longer time intervals.
Rule Creation
The rule creation requires to specify the report or, alternatively when Advanced Mode
is enabled, the custom SOQL that selects the records to operate on.
Reversal Behavior
After having selected type and target a reversal behavior can be established for the rule and it contemplates the following:
Enabled
: reversal of record value prior to the change made by the first rule that matched it in case of rule deletion and deactivation.Enabled on Rule Deletion Only
: reversal of record value prior to the change made by the first rule that matched it in case of rule deletion only.Enabled on Rule Deactivation Only
: reversal of record value prior to the change made by the first rule that matched it in case of rule deactivation only.Disabled
: no reversal of record value prior to the change made by the first rule that matched it.
Evaluation of the rule can take place every time the Toolbox runs or at longer time intervals.
Reversal Behavior is a feature that allows to control what happens when a records is first processed by the Toolbox but subsequently falls out of scope (either because of the rule filter not applying anymore, the rule being deactivated/deleted, or the whole rule set being deactivated/deleted).
Thoughts on Rule Priority
The priority determines in which order the various rules will be applied. This is more important for Fixed Value
rule sets than Points Based
rule sets. In the latter case all rules concur to calculate the final score and the rule priority, as a matter of fact, results inconsequential. However, in the former case, it protects a given record from being updated multiple times by peer rules that might include it in their selection (which is never ideal). This means that when a rule matches a record and updates its value any other peer rules won’t be allowed to do that.
Priority can be set by swapping row positions by means of drag and drop mouse action
Any questions? Don't hesitate to schedule a Training Call with us!