- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2025 04:20 AM
Hello Team ,
i am restricting ITIL user not to Delete attachment from manage attachment for table named "std_change_record_producer" .
To achieve this i have written a BR on sys_attachment table , everything is working fine but i am not been able to get Error info Message while removing the attachment,Please let me know where exactly i am doing wrong below are the code
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2025 05:03 AM
Hello @ABC6
If I follow this KB article and when i implemented as per requirement it worked for me do try this. https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0825743
My BR is as below:
Me as system administrator can delete it
Abel Tutor who has ITIL role cannot delete.
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2025 05:03 AM
Hello @ABC6
If I follow this KB article and when i implemented as per requirement it worked for me do try this. https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0825743
My BR is as below:
Me as system administrator can delete it
Abel Tutor who has ITIL role cannot delete.
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 04:26 AM
My lead is not approving the same he wants i need to perform the same logic from standard change table not from sys_attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 04:46 AM
Hello @ABC6
In that case you can refer below thread - Solved: How to disable add/delete attachments on some chan... - ServiceNow Community
See at the end the attachment is attached on sys_attachement table so operation need to do on this table and from standard change table on what basis it can be checked?
Happy to hear new solution from your lead.
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.