cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Gateways

matteo_zanardo
Champ on-the-rise
Champ on-the-rise

Hi, I'm using Activiti 6 and I would like to understand how you choose the direction of a gateway.
In particular I would like to know if through a radio button inside a form, I can condition this choice.

1 ACCEPTED ANSWER

On the arrow "Yes" write flow condition as follows

${agree == "Yes"}  

to "No"

${agree == "No"}

View answer in original post

4 REPLIES 4

amruta_w
Star Collaborator
Star Collaborator

Hi You can use as follows(it's just an example). Refer any tutorial(https://www.omg.org/news/meetings/workshops/SOA-HC/presentations-2011/14_MT-2_Brookshier.pdf )

Hi, I tried to download the file and to create the form as you told me, only that going to create the app to test the whole, give me an error.

How can I do to solve this problem?

On the arrow "Yes" write flow condition as follows

${agree == "Yes"}  

to "No"

${agree == "No"}

Seems to work! Thanks a lot, I leave the question open for a couple of days in case I need anything, then I close it.  Friendly.