- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 09:26 AM - edited 02-18-2025 09:34 AM
Hi,
want to change the due date format of RITM in the input of REST api step as shown in the screen shot.
Due date:
2025-02-11 09:53:51
want due date in this fomrat 2025-02-11. and use this input variable in the request content in REST step.
How can this be achievable ? Tried many ways but coming due as empty in the pay load of the flow execution.
Can you please help me in this ?
@Ankur Bawiskar @Dr Atul G- LNG @AnveshKumar M @Riya Verma
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 10:03 AM
Use a transform function on the data pill. Specifically Date & Time > Date to String. You have an existing "ISO Format" option which meets your requirement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 09:46 AM
Hi @Thej1
You can create a flag field on the same form and update it with the date value using scripts
var dateTime = new GlideDateTime('2025-02-11 09:53:51') // replace this with due date value
var dateOnly = dateTime.getDate();
Set flag field value using BR and use the flag field in the rest api due date

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 10:03 AM
Use a transform function on the data pill. Specifically Date & Time > Date to String. You have an existing "ISO Format" option which meets your requirement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2025 10:27 AM - edited 02-18-2025 11:12 AM