Compare date field in flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2022 12:58 AM
HI Team,
I have requirement to check if a record is older than 12 months based on a date field.
I have scheduled a flow designer to run weekly which is fine.
But I dont see any option where I can check if the date is older than 12 months. I think this is also fine.
Similar link: community.servicenow.com/community?id=community_question&sys_id=ddaecd711b71095038739979b04bcb8f
The problematic part is is I cannot see the toggle script option for comparison?
Any info is appreciated.
Regards

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2022 01:09 AM
Hi
You can follow below thread by @olaN
It covers all the tricks:
Date difference in Flow Designer
Do you mind closing the older answered threads:
Feel free to mark correct, if your issue has been resolved, so it ends up in solved queue.
Will be helpful for others looking for the similar query.
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2022 01:27 AM
Hi Aman
So basically is it that it is not possible to compare dates in "if" without an action?
Regards

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2022 01:32 AM
Using a script you can
Follow this:
Aman Kumar