Could somebody give me idea how to use multiple if statements in Condition Node?
Additionally has anyone used Condition Node while choosing email address?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Here is an example which can be adapted for your case.
if (#{ExperiencePlatform.ProfileFieldGroup.profile.homeAddress.city} == 'San Jose') then
(
#{ExperiencePlatform.ProfileFieldGroup.profile.personalEmail.address}
)
else
(
if (#{ExperiencePlatform.ProfileFieldGroup.profile.homeAddress.city} == 'Seattle') then
(
#{ExperiencePlatform.ProfileFieldGroup.profile.personalEmail.address}
)
else
(
if (#{ExperiencePlatform.ProfileFieldGroup.profile.homeAddress.city} == 'New York') then
(
#{ExperiencePlatform.ProfileFieldGroup.profile.personalEmail.address}
)
else
(
'default'
)
)
)
Here is an example which can be adapted for your case.
if (#{ExperiencePlatform.ProfileFieldGroup.profile.homeAddress.city} == 'San Jose') then
(
#{ExperiencePlatform.ProfileFieldGroup.profile.personalEmail.address}
)
else
(
if (#{ExperiencePlatform.ProfileFieldGroup.profile.homeAddress.city} == 'Seattle') then
(
#{ExperiencePlatform.ProfileFieldGroup.profile.personalEmail.address}
)
else
(
if (#{ExperiencePlatform.ProfileFieldGroup.profile.homeAddress.city} == 'New York') then
(
#{ExperiencePlatform.ProfileFieldGroup.profile.personalEmail.address}
)
else
(
'default'
)
)
)
Works. Thanks mate!
Views
Likes
Replies