5.3. Additional rule attributes for RuleSet or RuleTable definitions
The RuleSet and RuleTable areas also support labels and values for other rule attributes, such as PRIORITY or NO-LOOP. Rule attributes specified in a RuleSet area will affect all rule assets in the same package (not only in the spreadsheet). Rule attributes specified in a RuleTable area will affect only the rules in that rule table. You can use each rule attribute only once in a RuleSet area and once in a RuleTable area. If the same attribute is used in both RuleSet and RuleTable areas within the spreadsheet, then RuleTable takes priority and the attribute in the RuleSet area is overridden.
The following table lists the supported labels (column headers) and values for additional RuleSet or RuleTable definitions. For column headers, you can use either the given labels or any custom labels that begin with the letters listed in the table.
| Label | Or custom label that begins with | Value |
|---|---|---|
|
| P |
An integer defining the
Example: |
|
| V |
A string containing a date and time definition. The rule can be activated only if the current date and time is after a
Example: |
|
| Z |
A string containing a date and time definition. The rule cannot be activated if the current date and time is after the
Example: |
|
| U |
A Boolean value. When this option is set to
Example: |
|
| G | A string identifying an agenda group to which you want to assign the rule. Agenda groups allow you to partition the agenda to provide more execution control over groups of rules. Only rules in an agenda group that has acquired a focus are able to be activated.
Example: |
|
| X | A string identifying an activation (or XOR) group to which you want to assign the rule. In activation groups, only one rule can be activated. The first rule to fire will cancel all pending activations of all rules in the activation group.
Example: |
|
| D | A long integer value defining the duration of time in milliseconds after which the rule can be activated, if the rule conditions are still met.
Example: |
|
| T |
A string identifying either
Example: |
|
| E | A Quartz calendar definition for scheduling the rule.
Example: |
|
| F |
A Boolean value, applicable only to rules within agenda groups. When this option is set to
Example: |
|
| L |
A Boolean value, applicable only to rules within rule flow groups or agenda groups. When this option is set to
Example: |
|
| R | A string identifying a rule flow group. In rule flow groups, rules can fire only when the group is activated by the associated rule flow.
Example: |
図5.2 Sample decision table spreadsheet with attribute columns