Ryan Peterson [http://community.jboss.org/people/rrpeterson] created the 
discussion

"Re: Change a Timer length/period at runtime possible?"

To view the discussion, visit: http://community.jboss.org/message/633710#633710

--------------------------------------------------------------
I think I've found how to programmatically change a timer's delay/period:

With the NodeInstance reference, it's possible to check if it's an instanceof 
TimerNodeInstance, and if so it can be cast to a TimerNodeInstance that you can 
use .getTimer() to then get/set the delay/period/etc.

Even though this would work, I'm still not convinced it's the "best" way.
--------------------------------------------------------------

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

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

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to