[jboss-user] [jBPM] - Re: How to execute Service Task One by One

Esteban Aliverti do-not-reply at jboss.com
Tue Jul 3 03:37:46 EDT 2012


Esteban Aliverti [https://community.jboss.org/people/eaa] created the discussion

"Re: How to execute Service Task One by One"

To view the discussion, visit: https://community.jboss.org/message/745629#745629

--------------------------------------------------------------
I'm not sure in what you mean by "One by One", but if your question is how you get some result from the first task so you can make a decision in your gateway the answer is to have a process variable (you already have 'loginStatus' variable) and then assign the output of the first task into the process variable. Then, in the flows coming out of your gateway you can write something like: "return loginStatus == true;". 
Hope it helps.

Best Regards,
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://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/20120703/5b098f55/attachment.html 


More information about the jboss-user mailing list