Exclude delegates from specific approval records.

eglazier
Mega Contributor

I have a requirement to restrict approvals on a specific catalog item.

They do not what User Delegates to be able to approve these requests.  Sounds easy enough.

I've found the "exclude delegates" on the email notification. 

I've also added a business rule to abort the approval should a delegate try to approve this item.

Now, I need to HIDE that approval from them.   

 

So  of the approvals the delegate will see currently:

Buy Software - Approver1 - delegate 1 - **Yes delegate can approve

Grant Access to Bank Records - Approver1 - delegate 1 - **NO  delegate my not approve this

Order Mobile phone - Approver1 - delegate 1 - **Yes delegate can approve

 

I'm not finding an easy way to only show two approvals for D1 and 3 for A1.

What is the best practice for this and are they any examples?

 

12 REPLIES 12

Terje Monsen1
Giga Contributor

Surely a better alternative to "COMMA-SEPARATED-LSIT-OF-ITEM-SYSIDS" would be to add a field to the table called u_disallow_delegation and use this as basis for the filter.

There are definitely many ways to solve this issue and as mentioned above over 2 years ago best practice (that also follows out of the box apps) is to create a system property with the SysIDs: "A better solution may be to create a system property with your comma separated list of catalog item SysIDs so you don't have to modify this ACL if this changes."

While your solution of creating a custom table will definitely work, I would caution that customers should validate this will not require App Engine licensing with their ServiceNow account team.

Adam43
Tera Contributor

is the solution any simpler if I just want to prohibit delegated approval on all records on the sc_request table?