Using more than one time-qualified rule
Your application can include multiple date range circumstances for the same base rule with overlapping (but not identical) date and time intervals. At run-time, rule resolution processing finds all the time-qualified rules with an interval that includes the current date and time. It then selects the best rule to run based on the following tests:
- Examine the end dates on each candidate time-qualified rule. Choose the rule or rules that have the nearest end date, discarding others.
- If only one candidate remains, that rule is the result of this phase of rule resolution processing.
- If two or more candidates remain, the one with the most recent start date is selected.
Previous topic Date circumstance rule Next topic Contrasting time-qualified rules and historical processing