AJO NowWithDelta using a field to set the number of days | Community
Skip to main content
June 3, 2025
Solved

AJO NowWithDelta using a field to set the number of days

  • June 3, 2025
  • 2 replies
  • 380 views

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")

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SatheeskannaK

@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?

2 replies

SatheeskannaK
Community Advisor
SatheeskannaKCommunity AdvisorAccepted solution
Community Advisor
June 4, 2025

@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
Sukrity_Wadhwa
Community Manager
Community Manager
June 18, 2025

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