Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
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.
#794294
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
rule.PNG (14.09 KiB) Viewed 3192 times
#794361
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: http://wiki.processmaker.com/3.1/Checkb ... x_with_PHP

Hello. For rental housing, there are software solu[…]

Experience heightened pleasure with Cenforce 100 M[…]

Get an instant solution to move emails to MBOX for[…]

Most Demanding OST to PST Converter

The most demanding OST to PST Converter is TrijaT[…]