[rules-users] rule creation
seeker
janko.dimitroff at dai-labor.de
Tue May 8 10:22:05 EDT 2007
I'd like to build a rule which tests for a special property.
rule "Timer"
when
clock : AlarmClock( $time : alarmTime)
then
// some consequences..
the problem is the $time. I bound it to a variable so far.
It is a complex object which I actually want to check for
getAlarmTime().getHour() > 10
I dont know how.
I want the rule to fire if the hour of the alarmTime has reached a certain
value.
--
View this message in context: http://www.nabble.com/rule-creation-tf3709922.html#a10376825
Sent from the drools - user mailing list archive at Nabble.com.
More information about the rules-users
mailing list