cancel
Showing results for 
Search instead for 
Did you mean: 

Comparing two flags in a decision stage

GracieDevine
Level 4

Hello,

I have a decision stage, but for it to flow in the ‘yes’ direction, both statements need to be true. If I evaluate the expression with just [Success]=True and test it, it works fine. But I was wondering if I incorrectly wrote this because it returns False no matter what combination I change the flags to be:


36617.png

1 BEST ANSWER

Best Answers

Hi @GracieDevine1

Is a syntax problem. The ampersand is used to concatenate strings, not as a logic gate (and).

You need to indicate this:
[Success] = True and [Emails Success] = True

And, is more clear if you only put this:

​[Success] and [Emails Success]

Without = True, cause the Flag is true, not need to compare it.


Hope this helps you! And if this solves the problem, remember mark as the best answer!

See you in the Community, bye 🙂

View answer in original post

2 REPLIES 2

Hi @GracieDevine1

Is a syntax problem. The ampersand is used to concatenate strings, not as a logic gate (and).

You need to indicate this:
[Success] = True and [Emails Success] = True

And, is more clear if you only put this:

​[Success] and [Emails Success]

Without = True, cause the Flag is true, not need to compare it.


Hope this helps you! And if this solves the problem, remember mark as the best answer!

See you in the Community, bye 🙂

GracieDevine
Level 4
Hi @PabloSarabia
​Thank you so much 🙂
​​​