- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2022 02:27 AM
Hello,
I discovered that we can still add attachment via this standard tab (attachment) even if the case is closed:
I tried the onLoad client script with disableAttachments() function, but it didn't work.
Do you have a solution to avoid adding attachment for closed cases?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 01:56 AM
Hello,
I had to create a Business Rule on sys_attachment table:
And then, this script:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2022 07:40 AM
In the Standard ticket configs, you can add a condition to the Activity Tab Configuration
instanceName.service-now.com/nav_to.do?uri=ticket_tab_configuration.do?sys_id=a3a8d94b534a10105b51ddeeff7b1266
Find your standard ticket config from this list
isntanceName.service-now.com/ticket_configuration_list.do?sysparm_query=active%3Dtrue&sysparm_view=
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2022 07:46 AM
Thank you Mike,
I went through this config too.
The problem is if the end user wants to check what were the attachments for a closed case, he can't.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2022 07:59 AM
Ok, the easiest way is to update your ACLs then. You can add an "active is true" condition to all of your write ACLs. This will ensure that the case is read only only when active. The attachments honors these same ACLs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 01:56 AM
Hello,
I had to create a Business Rule on sys_attachment table:
And then, this script: