Date to string transform in flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2025 07:49 PM
I have a sub-flow input variable that is a Date.
Need to convert this to a string in the format yyyy/MM/dd.
Using the "Date to String" transform to pass this to an Action.
Keeps the date in the format MM/dd/yyyy. Does not change the format.
Also noticed this comment in the logs:
2025-02-25 03:37:36 .....Warning.....DATE_TO_STRING with name com.glide.transform.adapter.DateToStringAdapterRule: Failed to parse input: Unparseable date: "02/24/2025"
I am also using the Key Value Map transform and that works perfectly fine. Not sure why the Date to String transform will not work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2025 10:40 PM
I am unable to see that option to convert Date to String.
Can you share how did you add that?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2025 09:25 PM
check if this helps
Error in Flow using date to string transform function
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader