Trouble getting the OR operator to work

Hi all and @gdgsupport,
I’m trying to perform a test to see if either variables are true or the value 1.

My variables are %operaNoteBool% and %edgeNoteBool%
I see that in my current test they are both returning zero (0), but my ‘Perform Operation on a Variable’ using varORBool is returning 1 regardless of them both being false.

Here’s the documentation of varORBool:

My Action Properties:
image

(Please note I already tried omitting the “=1” from the value section and I tried adding “;” as my separator too.

When I run this, a messagebox tells me that %operaNoteBool% is 0, %edgeNoteBool% is 0, yet %displayMsg% is 1 anyway…

Any advice would be appreciated.

Thanks
Dan

In “Value”, enter %operaNoteBool%;%edgeNoteBool%
(beware the ; between the two variables)
In Variable, enter %displayMsg%

Then it will work as expected.

For some reason it’s still not working.

I tried it like this
image

as well as with empty separator field.
image

but the %displayMsg% is still returning true even when both variables are 0.

MY IF-THEN STATEMENT

image

image

{End If}

Should I have the 1 be in quotes, like
Operator: Equals
Variable1: %displayMsg%
Variable2: “1” or maybe ‘1’ ?

Thanks
Dan

Yes, I just made tests and could reproduce the error. I reported this to the team. Thanks!

Will be fixed in PB 2021. Thanks!