- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
21 hours ago
When you store something in a flow date/time variable, it's converted into instance-time!
See the example below where i:
- First look up one record which i will use as reference for following "look ups"
- Use that record's datetime field in a query (it's safely converted into UTC for a correct query)
- Save the same datetime "value"/"pill" into a date/time variable, here we can see that the value is not kept as UTC but converted into server-time.
- Using that variable in a lookup will result in a totally different result
This can cause issues for delta sync designs etc, either causing overlaps or gaps in the data.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
20 hours ago
it's a known behavior
see past discussions
Flow Designer: how to use Date/Time Data Transform when not in UTC?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
20 hours ago
workaround is to create custom flow action and handle this
How to check date is greater than 24 hours in flow desinger from catalog variable -> response from @Hayo Lubbers
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
20 hours ago
This is a well-known Flow Designer nuance: Record Lookup queries automatically treat Date/Time pills as UTC, but when the same value is stored in a Flow Variable or string, it is rendered using the instance/server time zone.
You can find several posts on this topic in the community.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
20 hours ago
it's a known behavior
see past discussions
Flow Designer: how to use Date/Time Data Transform when not in UTC?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
20 hours ago
workaround is to create custom flow action and handle this
How to check date is greater than 24 hours in flow desinger from catalog variable -> response from @Hayo Lubbers
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
20 hours ago
This is a well-known Flow Designer nuance: Record Lookup queries automatically treat Date/Time pills as UTC, but when the same value is stored in a Flow Variable or string, it is rendered using the instance/server time zone.
You can find several posts on this topic in the community.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti