How to overwrite the "Security does not allow the execution of that action against the specified record" message?

Venkatesh5
Tera Contributor

Hi ,

Please let me know if you have any suggestions to overWrite the  " Security does not allow the execution of that action against the specified record" with custom message.  I don't want to alter the existing condition of the UI action and if doen't met the condition it will populate the custom message but not the "Security does not allow the execution of that action against the specified record" message.

Regards,

Venkat.

7 REPLIES 7

Hi Mark, 

Is this can be done based on the specific condition for specific table?

Regards,

Venkat

Hi Mark,

Could you please help me out with the script name which is responsible triggering the above UI message?

Thank you.

 

Regards,

Venkat

Hi Venkatesh,

I doubt this can be done without changing the message in messages table which would be a global impact.

Using client script won't work here as I assume your UI action would be List Context Menu.

Also sometimes the message could be shown even when ACLs evaluate to false although UI action condition satisfies

https://hi.service-now.com/kb_view.do?sysparm_article=KB0725860

https://hi.service-now.com/kb_view.do?sysparm_article=KB0719214

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader