Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Join us for our next Adobe Campaign Community Q&A Coffee Break, on Thursday, February 9th @ 9.30 am IST & 9 am PT
SOLVED

invalid 'in' operand within dynamic content condition

Avatar

Level 2

Hello community,

 

i created dynamic content on an email delivery and i would like to use the "IN" operand to check if the product ID is in a list but i received an error message

 

"Error while compiling script 'DM1091[htmlfr_beContent]' line 425: invalid 'in' operand "xxx"."

 

Here is the condition :

context.targetData.product_Id in ('xxx','yyy','zzz')

 

So the question is : is it allow to use IN operand on a dynamic content condition within an email delivery ?

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @malexandre,

 

I believe IN operand is not supported on ACS java script syntax. Refer the comparison operator section on below documentation: https://experienceleague.adobe.com/docs/campaign-standard/using/managing-processes-and-data/filterin...

 

Thanks!

View solution in original post

0 Replies

Avatar

Correct answer by
Community Advisor

Hi @malexandre,

 

I believe IN operand is not supported on ACS java script syntax. Refer the comparison operator section on below documentation: https://experienceleague.adobe.com/docs/campaign-standard/using/managing-processes-and-data/filterin...

 

Thanks!

Avatar

Level 2

Thanks for your answer.

 

I already used the IN operand on a worflow with the advanced mode. That's why I though it was possible.