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/632452#632452

--------------------------------------------------------------
Hi,
You can simply add some variables to the process (unless you have some facts in 
your knowledge session that you can access within the process) and initialise 
them according to the state you are in, then use exclusive gateways by checking 
their values and acting accordingly.

For example in your case add a boolean variable to your process i.e. 
emailWorkDone, with initial value false. Then if the 2nd path is started and 
completed based on your business logic then you can make the variable true and 
by adding a gateway between each timer and sendemail you can decide whether to 
send another email, by checking the variable, or go to the human task or 
something else....
--------------------------------------------------------------

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

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
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to