On Hold UI Action in SOW with mandatory Reason
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2024 01:21 AM - edited 06-12-2024 01:39 AM
Hi all,
I have the request to add a button "Put On Hold" on top of the incident form within the SOW. When clicking it, the agent should choose a Reason and then submit it. The incident should then be put on hold with the correct reason.
I found this post https://www.servicenow.com/community/developer-forum/help-with-ui-action-and-pop-up-dialog/m-p/21549... where a pop up dialog is implemented and I wrote the code accordingly. But it doesn't work. Can anyone help me?
additionally, i want to add to the on hold reason the mandatory comment field that has to be filled out by the agent in order to put it on hold.
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2024 08:05 AM
Hi GraceFi,
I think the type is the issues.
The following screenshots code works for me
HTML: