Rule with two facts

53 views
Skip to first unread message

Rod

unread,
Aug 31, 2009, 1:54:07 AM8/31/09
to Rools Users
How would you write a rule that compares two facts?

For example, in english:

if event1 is IDLE_FINISHED and event2 is IDLE_STARTED and time since
event2 > 15 minutes then
print 'idle finished'
end
Reply all
Reply to author
Forward
0 new messages