[jboss-user] [jBPM] - Re: Issue with timer and calendar

saig0 do-not-reply at jboss.com
Thu Jun 21 03:00:45 EDT 2012


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120621/1e44f77e/attachment.html 


More information about the jboss-user mailing list