- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2016 06:56 AM
Hi guys,
I want to use GlideRecord in ACLs. I know it is possible but is it recommended?
I have an 'ABC' table and the records go through an approval workflow. I need to create an ACL that will restrict approvers related to a particular record( to view the records which have them as approvers ). They can't view the records where they are not involved as approvers.
I am using a GlideRecord from ACL acript to read approvers from approval table and provide restrictions accordingly.
Please let me know how badly it will affect the performance.
Thanks and regards,
Arnab
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2016 06:59 AM
Hi Arnab,
While scripting in ACLs is not recommended, it is sometimes required. It will impact performance and you need to consider the ramifications. If you are just using it for a user to interactively look at a form, then it's negligible and nobody will notice. If you are using it in a transform map to import tens of thousands of records, the impact is magnified significantly.
http://wiki.servicenow.com/index.php?title=System_Performance_Best_Practices
http://wiki.servicenow.com/index.php?title=Security_Best_Practices

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2016 06:59 AM
Hi Arnab,
While scripting in ACLs is not recommended, it is sometimes required. It will impact performance and you need to consider the ramifications. If you are just using it for a user to interactively look at a form, then it's negligible and nobody will notice. If you are using it in a transform map to import tens of thousands of records, the impact is magnified significantly.
http://wiki.servicenow.com/index.php?title=System_Performance_Best_Practices
http://wiki.servicenow.com/index.php?title=Security_Best_Practices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2016 07:09 AM
Got it. Thanks Chuck

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2016 07:15 AM
If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.
If you are viewing this from the community inbox you will not see the correct answer button. If so, please review How to Mark Answers Correct From Inbox View.
Thank you