Hide the "Post Additional Comments" button on the SOW form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2025 04:38 AM
Hi Everyone,
I successfully hidden the "Post" buttton on the Classic form. But I am not able to hide the "Post Additional Comments" button on the SOW form.
Code I used for Classic Form:
UI Policy -- When Assigned to Is empty & runs on Desktop
@Ankur Bawiskar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2025 07:23 AM
that script won't work in workspace as it used DOM manipulation
If you use UI policy which makes comments or work notes mandatory then that button will be gone
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
05-23-2025 07:30 AM
Is it possible to do for a particular table when the conditions are met.
Like, in the Interaction form when the "Assigned to is Empty" in the "Serivce Operations Workspace" the Post Additional Comments button needs to hidden.