saig0 [https://community.jboss.org/people/saig0] created the discussion

"Re: Issue with timer and calendar"

To view the discussion, visit: https://community.jboss.org/message/743262#743262

--------------------------------------------------------------
Hi Srikant,

you need to declare the class Alarm as a fact or an event and import it.

import your.package.Alarm;
 
declare Alarm
          @role( fact)  // or @role( event)
end


The class Alarm can be a pojo or be declared in rule.
The rule "week days rule" will fire when you insert a object of class Alarm.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/743262#743262]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to