SOLVED

Re: If/Then in Velocity Script

Go to solution
Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

Re: If/Then in Velocity Script

Hi @neelambakre, yes, we did see and responded back here.

 

neelambakre
Level 3

Re: If/Then in Velocity Script

Hi @Darshil_Shah1 ,

 

I will try the suggested way.

Thanks for the prompt reverts 🙂

Neelam Bakre
neelambakre
Level 3

Re: If/Then in Velocity Script

Hi @Darshil_Shah1 , @SanfordWhiteman ,

 

I tested the suggested code with the sort function, and it worked as expected.

 

Thank you so much for the help. 

 

 

Neelam Bakre
Tags (1)
Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

Re: If/Then in Velocity Script

Cool! You're very welcome. Please make sure you define the proper CO schema and add sorting logic in your velocity script as per your requirement to ensure your personalization is spot on!

 

neelambakre
Level 3

Re: If/Then in Velocity Script

Noted this point

 

Thanks again 😊

Neelam Bakre