Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

Unable to Compare Date Field with Today’s Date in subflow

vivek11
Tera Contributor

Hi Team,

I am working on a condition in Flow Designer / Workflow Studio where I need to compare an Employment Start Date field with today’s date.

Example condition:

Employment Start Date before Today

I tried using Data Pills as well but could not find a proper option for current date/time in this context.

Could someone please suggest the best way to achieve this comparison in Flow Designer/Subflow conditions?

Attached screenshot for reference.

Thanks in advance!

 

PFA

IMG_20260526_101747281_HDR_AE.jpg

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

@vivek11 

why not add that Before today condition in Lookup record step itself?

you can't add that in IF condition

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

7 REPLIES 7

Ankur Bawiskar
Tera Patron

@vivek11 

why not add that Before today condition in Lookup record step itself?

you can't add that in IF condition

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

 

Hi @Ankur Bawiskar 

Thank you so much for quick response

Thank you so much for the quick response.

I am able to add the “before today” condition in the Lookup Record, but I have both Candidate HR Profile and Employee HR Profile. I need to apply this condition

@vivek11 

why you are unable to add?

I am able to add

55.png

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar 

I am able to add but I need for candidate HR Profile not for employee hr profile