Développer ma barre des réalisations de la Communauté.

Join Adobe Journey Optimizer product experts for a live Ask Me Anything on October 15th at 8 AM PT about Expanding Your Mobile Reach with RCS & WhatsApp in AJO!
RÉSOLU

AJO NowWithDelta using a field to set the number of days

Avatar

Level 1

This is a two part question. I am trying to use nowWithDelta to compare todays date to another date field and the difference between the two dates should be a second field (integer). My two questions are:

 

1. Is it possible to do arithmetic within nowWithDelta or is there another way to achieve this? nowWithDelta(10-7,"days"). 

2. Is it possible to use a field within nowWithDelta or is there another way to achieve this? nowWithDelta(#field, "days")

 

The end goal is to create an expression that does the following. I am open to other ways to set this up using something other than nowWithDelta:

GenericDateField > nowWithDelta(secondDatefield - 7, "days")

1 solution acceptée

Avatar

Réponse correcte par
Community Advisor

@BenWood I don't see a way to do this using nowWithDelta. Can you provide an example of the journey scenario condition that you wanted to check?

Thanks, Sathees

Voir la solution dans l'envoi d'origine

2 Replies

Avatar

Réponse correcte par
Community Advisor

@BenWood I don't see a way to do this using nowWithDelta. Can you provide an example of the journey scenario condition that you wanted to check?

Thanks, Sathees

Avatar

Administrator

Hi @BenWood,

Were you able to resolve this query with the given solution or was this something you were able to figure out on your own or do you still need help here? Do let us know.

Thanks!



Sukrity Wadhwa