Expand my Community achievements bar.

Never miss an update of the Adobe Journey Optimizer Community Lens! Subscribe now to get the latest updates, insights, and highlights delivered straight to your inbox every time a new edition drops.
SOLVED

AJO Expression Editor date check condition query

Avatar

Level 2

Hi I want to compare one of the profile field by adding 10 days to another field.below is the example.

 

ExperiencePlatform.ProfileFieldGroup.profile.person.birthDate = ExperiencePlatform.ProfileFieldGroup.profile.person.applicationdate + 10 days

Please let me know how can i do that in ajo expression editor

 

Thanks

Usha.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@UshaRa3  try something like this: 

{%= addDays(ExperiencePlatform.ProfileFieldGroup.profile.person.applicationdate, 10) %}

Assign this to your target profile field in the Expression Editor.

 

You can find more about the addDays and other date functions in the Journey Optimizer Date Time Functions documentation:

 

https://experienceleague.adobe.com/en/docs/journey-optimizer-v2/using/content-management/personaliza...

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

@UshaRa3  try something like this: 

{%= addDays(ExperiencePlatform.ProfileFieldGroup.profile.person.applicationdate, 10) %}

Assign this to your target profile field in the Expression Editor.

 

You can find more about the addDays and other date functions in the Journey Optimizer Date Time Functions documentation:

 

https://experienceleague.adobe.com/en/docs/journey-optimizer-v2/using/content-management/personaliza...