Best practices for using dates
There are no rule operators which can be used with date/time data types. Plans are
evaluated only when an event triggers the plan, so time is always relative to the triggering
of the plan.
In general, you want to construct rules based on relative dates. For example, you want to
model a decision to produce an outcome indicating that a 90-day maintenance process is due and
you have the date at which the last maintenance was performed. You can create a rule to
represent if days since last maintenance >= 90
then Maintenance Required
. This way, the rule is always valid relative to
the last maintenance and the current time of the event.
To control processing of decisions and facts based on event date and time, a separate Date/Time control is available.