Make work notes mandatory whenever attachment is added
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2025 04:38 AM
I have to make the work notes mandatory a new attachment is added on the incident form in the instance. As of now, the attachment gets automatically save on to the save just by clicking on the paperclip icon and adding the attachment through it. We don't need to click save/update while doing so.
In this scenario, now I need to make work notes mandatory whenever an attachment is added. How do I track it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2025 10:51 AM - edited 07-07-2025 10:52 AM
Above it mentions widget and you said client script...
- Client script > backend
- Widget is for portal > frontend
- Catalog client script > frontend..
- For the Portal there is a variable type "attachment", so for that particular record producer or catalog item you can hide the "standard attachment icon" and set the catalog client script if the variable type of attachment is populated (file is added) then make some field visible and mandatory.
Let's define what part of ServiceNow are we talking about and then we can think of the design and solution.
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */