The CreatorCon Call for Content is officially open! Get started here.

How to restrict end user to delete attachment based on HR Case state?

Sri56
Tera Contributor

Hi Team,

 

We have a requirement where we need to restrict an end users to delete an attachment on portal when the state of HR case is either draft or custom action. (attachement deletion is allowed on these states only)

I tried with ACL.

Still not working!

 

Please help!

 

Thanks,

Sri

6 REPLIES 6

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Sri56 

 

https://www.servicenow.com/community/itsm-forum/restrict-attachment-deletion-from-agent-end-user/m-p...

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0825743

 

https://www.servicenow.com/community/developer-forum/end-user-cannot-remove-the-attachments/m-p/1815...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi AG,

 

I tried both using business rules and ACL's.

Its still the same.

user can still delete the attachements.

However i have inactivated the default ACL's.

 

Please help me!

 

Thanks,

Sri

Mark Manders
Mega Patron

Can you share the ACL you tried it with? Just adding a delete ACL might not be enough, because of the OOB delete ACL's that already exist. You may need to go through all of those as well, to make sure they don't apply.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Hi Mark,

 

Please find the below screenshot:

Sri56_0-1708919844606.png

Please help me if i'm missing anything?

 

Thanks!

Sri