Boolean field in a trigger campaign | Community
Skip to main content
Kristof-2
New Participant
June 3, 2024
Solved

Boolean field in a trigger campaign

  • June 3, 2024
  • 2 replies
  • 2152 views

Hello,

 

can someone explain what the below actually means here? Any examples? I'm not sure how it needs to be interpreted please:

When using a Boolean field in a trigger campaign Smart List, you must explicitly set it to ‘false’ in order for the field to evaluate properly during execution of the campaign.

 

Thanks

 



This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

I don't think that's it. Rather, the note is referring to the difference between an explicit Boolean false and an unset or null value.

2 replies

New Participant
June 3, 2024

This means, if you are using a Boolean field in a trigger campaign then the field must have a value set, it can not be kept null.

Ex: "Is Customer" is a boolean field and you are using this in a trigger campaign to perform a certain action once "Is Customer" = "True". In this case the "Is customer" field should have set value of "False" but can not be null.

Kristof-2
Kristof-2Author
New Participant
June 3, 2024

That's what I thought @sharathkumarsh  & @sanfordwhiteman  - so it can be set either to False or True, but not anything other, right? 

I was just confused why this note is only mentioning "false" and not "true" as well. 

SanfordWhiteman
New Participant
June 3, 2024
I was just confused why this note is only mentioning "false" and not "true" as well. 

Because the 3 values are true, false, and null. There's no confusion between true and null. But people can be confused when setting a value to null doesn't trigger Data Value Changes. to false

uditmathur
Community Manager
June 3, 2024

Hi,

This implies that to use a Boolean field as a trigger the field value at the time of creating should be false & the campaign will be triggered as this value is changed to True.

For example, if you create a Boolean field for "Join The Webinar" it should initially set to unchecked, then create a campaign for all those lead who checked "Join The Webinar" to be sent a mail. So that your campaign will check if the Change Data value = True it will be triggered. 

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
June 3, 2024

I don't think that's it. Rather, the note is referring to the difference between an explicit Boolean false and an unset or null value.