Date is _ days ago

Dizy M
Tera Expert

Hi. 

 

Is it right to put this condition for : Date is 3 days ago or there is a correct way to do this in flow designer?

DizyM_1-1694040844668.png

 

 

 

 

1 REPLY 1

Hemanth M1
Giga Sage
Giga Sage

Hi @Dizy M ,

 

You want to compare Send date is 3 days ago from the current datetime right??

 

if you comPare it above , it would always return false since its comapring as Send date < 3+send date

 

Create a flow variable and get the current datetime 

result = new GlideDateTime();
result = result.toString();
return  result

Compare Sand date with this flow varibale by substracting 3 days 

HemanthM1_1-1694064163443.png

 

HemanthM1_0-1694064125140.png

Hope this helps.

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025