Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderators: ArturoRobles, ArturoRobles

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
I just have a basic checkbox. I am trying to add a rule based on if it is checked. No matter what I put in the condition, when I runn the process I get an error that all outcomes return false. I'm assuming I am overlooking something easy
rule.PNG (14.09 KiB) Viewed 1359 times
What version of PM are you using? You can either access a checkbox through its checkbox or its label. By default the labels for a checkbox are "true" or "false", but you can redefine them with the list of options in the properties for the checkbox.

I recommend that you use these conditions in your gateway:
isset(@@SwipeCard_label) and @@SwipeCard_label == "true"
!isset(@@SwipeCard_label) or @@SwipeCard_label == "false"

If you have redefined the labels in your options list as "On" and "Off", then you can use these options:
isset(@@SwipeCard_label) and @@SwipeCard_label == "On"
!isset(@@SwipeCard_label) or @@SwipeCard_label == "Off"

See: ... x_with_PHP

I have a suggest where user have to select some do[…]

The 500 Internal Server Error is the general catch[…]

Really very nice blog information for this one and[…]

This is a long, lengthy and cumbersome process. T[…]