Have to create write acl for few fields which are present in scoped application using script. Table and other fields are present in Global application. Whenever i click on advance for writing the script it makes it read only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2020 02:23 AM
Not allowing to add script for ACL in scoped applications.
Have to create write acl for few fields which are present in scoped application using script. Table and other fields are present in Global application. Whenever i click on advance for writing the script it makes it read only.
Please help!
Regards,
Ajay Sharma

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2020 02:34 AM
Hello,
ACL rules in scoped applications
You can create ACL rules for objects in the same scope as the ACL rule and for tables with at least one field that is in the same scope as the ACL rule.
For tables that are in a different scope than the ACL rule record, the types of rules are limited.
- You can create an ACL rule for any table, UI page, or other object that is in the same scope as the ACL rule.
- You can create an ACL for a field that is in the same scope as the ACL rule.
- If the table is in the same scope, you can use a script to evaluate permissions.
- If the table is in a different scope, you cannot use a script to evaluate permissions.
- You cannot create or modify ACL rules for objects that are in a different scope than the application you have selected in the application picker, including adding a role to an ACL in a different scope.
- You can create wildcard table rules (*) only in the global scope.
- You can create wildcard field rules (*) only for tables in the same scope as the ACL rule.
If its useful mark correct!
Thanks,
Pratiksha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2020 02:45 AM
Hi Ajay,
If your tables and fields are in Global scope then why to create field level ACLs in custom scoped application
Please create it in global scope only as the above is not allowed
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2020 03:29 AM
Hi Ankur,
Few fields are present in scoped application on which i have to apply the ACLs.
Also, I have to apply script in those field based acls.
Regards,
Ajay Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2020 03:52 AM
Hi Ajay,
Please move those fields to the scope in which the table is created
If the table is in scoped application then create those fields in scoped app
if table is in global scope then create those fields in global scope
I believe the scenario you are having is not a valid scenario. Your table is in Global Scope but fields for that are in custom scope
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader