bob mcwhirter
Wed, 29 May 2002 06:23:49 -0700
A duration is a way to say how long a rule must hold true before
firing.
ie, you may have a rule that only 100 people can fit in this room.
But, you don't call the cops until more than 100 people have been
in the room for over 5 minutes.
With the escalation example, the duration basically is used to
say "If the customer's problem has been resolved in 30 minutes,
upgrade the status".
The duration must be continuous. It's not additive. If you call
the cops after 5 minutes, and the population of the room returns
to 100 after 4:30, then the rule hasn't been satisfied, and the
clock starts over the next time the population exceeds 100.
Not all rules will require a duration.
-bob
On Wed, 29 May 2002, Larry S. Bartz wrote:
> What is the purpose of the "duration" specification, as used
> in the example escalation_data/escalation.xml? What does it
> do? How does it work? Under what conditions should it
> be used?
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
drools-interest mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/drools-interest