[RESOLVED] Problem with choice button

Hi,

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

Button choice

I just try this also :
Example

but I can’t but the “!variable”

Any hint for that’s problem!

Regards
BLE

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

0=Update
1=Add

for example

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.

regards
Seán

Hi,

Thank’s for your answer, but I have found the solution…

Regards
BLE

Hi,

Thank’s for your answer, but I have found the solution…

Regards
BLE