- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 11:59 AM
Can some one help me how to make comments field mandatory in agent work space
I tried g_form.setMandatory('comments', true); but not working , I am enforcing that in the workspace client script section , every other action is working fine except setting mandatory to comments section.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2021 06:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2022 11:31 AM
HI
Do you have any insights to it?
Thanks,
Nitin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2022 01:47 AM
I was also able to make it work on the left panel and not on the notes section.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2021 06:42 AM
Out of the box there is this "Reopen Incident" UI action which makes comments mandatory in Agent Workspace
Please check the code from that and update yours
https://instanceName.service-now.com/nav_to.do?uri=sys_ui_action.do?sys_id=d2d9d8110a0a3c7401bbadabed9b91db
Regards
Ankur
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-05-2021 07:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2021 07:30 AM
It will not show mandatory on the compose section, it will show it on the Incident Body section. See my screenshot.