[jboss-user] [jBPM] - Advice on how to approach CRON based BPMN2 processes
olddave
do-not-reply at jboss.com
Wed Aug 3 06:12:58 EDT 2011
olddave [http://community.jboss.org/people/olddave] created the discussion
"Advice on how to approach CRON based BPMN2 processes"
To view the discussion, visit: http://community.jboss.org/message/619044#619044
--------------------------------------------------------------
Hi,
I have the need to run Processes, with no human tasks, on a repeating basis, normally 3 times a day, weekdays and excluding holidays. But I also need to run the same tasks on an ad hoc basis. So if I code a new workitem that is a Start task that uses Quartz scheduler (thus holidays can be supported) I could not run that on an ad hoc basis. Alternately I could use a normal Start task and have a diverging gateway as the first node that tests for a boolean param that represents "run now" it could diverge to a converging gateway and thus to the actual first node that does real work in the Process, the alternate path would hit the new Timer workitem that I would have to code that also used Quartz, this would then hit a converging gateway with the direct run now path to start the actual Process that does the work I need. Another alternative is theh start task with Quartz and also an integrated parameter test for pass through.
Any suggestions on how this problem scenario is best solved?
thx.
Ed
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/619044#619044]
Start a new discussion in jBPM at Community
[http://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/20110803/3dda6750/attachment.html
More information about the jboss-user
mailing list