Function in condition node not worked well | Community
Skip to main content
February 26, 2025
Solved

Function in condition node not worked well

  • February 26, 2025
  • 1 reply
  • 641 views

I am using "notin" function to exclude not needed data from array column but having errors.

 

please advise

Best answer by Mohan_Dugganab

can you switch the parameters in the function ? second parameter will be a listString and the first one will be a string

 

not(in( 'DFC', <ListString> ))

1 reply

Mohan_Dugganab
Adobe Employee
Adobe Employee
February 26, 2025

You will have to use it on the following lines

 

not(

in(#{ExperiencePlatform.ProfileFieldGroup.profile.person.gender}, ["male"]))

 

https://experienceleague.adobe.com/en/docs/journey-optimizer/using/orchestrate-journeys/building-advanced-conditions-journeys/main-functions-journey/list/functionin 

chrisyanAuthor
February 26, 2025

Thank you, but still error out

Mohan_Dugganab
Adobe Employee
Mohan_DugganabAdobe EmployeeAccepted solution
Adobe Employee
February 26, 2025

can you switch the parameters in the function ? second parameter will be a listString and the first one will be a string

 

not(in( 'DFC', <ListString> ))