onkar ruikar [
http://community.jboss.org/people/onkarruikar] created the discussion
"Re: How to set timeCycle on boundryEvent at runtime"
To view the discussion, visit:
http://community.jboss.org/message/576999#576999
--------------------------------------------------------------
Found a solution, instead of boundary event, I used Timer. And before timer placed one
Script Task.
Following script did the job:
org.jbpm.workflow.core.node.TimerNode timerNode =
(org.jbpm.workflow.core.node.TimerNode)
kcontext.getNodeInstance().getNode().getNodeContainer().getNode(237);
timerNode.getTimer().setPeriod(reminderInterval);
timerNode.getTimer().setDelay(reminderInterval);
reminderInterval is process variable and 237 is id of the timer node.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/576999#576999]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]