Jump to content

What's the BPM "value" for a checked single checkbox.


HHH
 Share

Recommended Posts

How do I get the BPM to check if an organisation custom field, which is a single checkbox, is checked?
I tried using "is set" but if I check it and later uncheck it, it still appears to be "is set" by the BPM.
Can someone clarify this please.

Link to comment
Share on other sites

I found the answer myself by checking the database.
I look for "contains true". This works.
Before it's touched it's NULL (not set) after someones checks/unchecks the box it set to true or false respectively which is why it remained set.
It may be that the boolean true also is interpreted as a 1 as @Alberto M pointed out but I haven't tried this.

  • Like 2
Link to comment
Share on other sites

@HHH The Not Set value is, as you've found, there to cater for null values, any other value is classed as Set.

Generally speaking, 0 is classed as false and any other value as true, but it's always worth checking either in the database or by outputting to the timeline during testing.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...