Clear the form field values when Reset to draft button is clicked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2025 04:27 AM
I have a requirement to clear the form field values on demand table when reset to draft is clicked ,As soon as the demand is reset to Draft they should clear to allow for the new ones created as the user works through the process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2025 07:03 AM
Hope you are doing good.
Did my reply answer your question?
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2025 05:26 AM
Hi @Sprankle ,
In the UI Action 'Reset to Draft', you can clear values before updating the record in the serverResetToDraft() function.
Thanks
Anand
