[RESOLVED] Problem with choice button
I have a little problem with a form with 2 buttons.
I have a form where I propose to the user to insert or update db (Welcome)
I have created 2 variables (boolean) (one for update and one for insert)
Then I put a door XOR but nothing working
I just try this also :
but I can't but the "!variable"
Any hint for that's problem!
You have to rethink your variables...
In your gateway you are testing what? V1 or V2? for which there are 4 values...your gateway should only test two values...
Your "buttons" should return, in ONE variable V1
and the gateway should then only test v1.equals(0) go via "Update DB" if it's not 0 (it must then be 1) it will go via "Add DB". Don't forget one of the arms has to be defined as default.