[RESOLVED] Problem with choice button

1
0
-1

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_chose.png

I just try this also :
Example

but I can't but the "!variable"

Any hint for that's problem!

Regards
BLE

Comments

Submitted by Sean McP on Mon, 02/29/2016 - 11:28

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

Submitted by ble on Mon, 02/29/2016 - 13:29

Hi,

Thank's for your answer, but I have found the solution...

Regards
BLE

Submitted by ble on Mon, 02/29/2016 - 13:29

Hi,

Thank's for your answer, but I have found the solution...

Regards
BLE

No answers yet.
Notifications