Conditions - multiple if statements while choosing email address | Community
Skip to main content
Michael_Soprano
Level 10
September 13, 2025
Solved

Conditions - multiple if statements while choosing email address

  • September 13, 2025
  • 1 reply
  • 276 views

Could somebody give me idea how to use multiple if statements in Condition Node? 

 

Additionally has anyone used Condition Node while choosing email address?

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 Mohan_Dugganab

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' ) ) )

1 reply

Mohan_Dugganab
Adobe Employee
Mohan_DugganabAdobe EmployeeAccepted solution
Adobe Employee
September 13, 2025

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' ) ) )
Michael_Soprano
Level 10
September 15, 2025

Works. Thanks mate!