[jboss-user] [jBPM] - Re: How to setup Event to stop current execution & "jump" to that node?

Chris Melas do-not-reply at jboss.com
Fri Oct 21 12:34:59 EDT 2011


Chris Melas [http://community.jboss.org/people/melc] created the discussion

"Re: How to setup Event to stop current execution & "jump" to that node?"

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

--------------------------------------------------------------
Hello,
If i have understood correctly your case, please take a look at the attached bpmn for a possible approach. It is not a fully working example.... just showing the concept.

 http://community.jboss.org/servlet/JiveServlet/showImage/17214/testWithEmails.png  http://community.jboss.org/servlet/JiveServlet/downloadImage/17214/testWithEmails.png 

So the idea is,
1. you send email to some user to do some job
2. you start the timer, to give time to the user to do the job before sending next email
3. you check if the user has done the job. This check is done by checking if the process variable jobDone has been set to true
4. if it is set, in other words if the job is done, then go down to the process for running script and ending the process
5. if the job is not done then send another email and wait for some time
6. check again if the job has been done ....
7. if not do the human task and end the process
--------------------------------------------------------------

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

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/20111021/3474358c/attachment.html 


More information about the jboss-user mailing list