Unable to add condition or script to the ACL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2022 02:40 AM - edited ‎12-16-2022 02:41 AM
Hello. I'm unable to add a condition/script to the ACL & get the below message -
''Invalid 'Access Control' record even though the selected outside table 'Account' is allowed. A table level access control on an outside table cannot contain a script or condition. Only roles are allowed.''
Can anyone help me?
The ACL is created in Walk-up Experience & is getting applied on the Interaction table in Global application & ruining the results for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2022 03:10 AM - edited ‎12-16-2022 03:11 AM
Hello,
Cause:-
While making the change the user is not in the application scope, where the record they are creating/updating is present.
Resolution:-
1. Go to the cogwheel icon on the right corner of the instance
2. Select the developer tab and toggle the options to show the Application picker and update set picker
3. Once the application picker is visible, select the application where your choice record needs to be created
4. Make the change to the choice record and observe error is not thrown anymore.
Please find the official article for the same:-
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0824064
Please mark my answer as correct based on Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2022 03:36 AM
Hello,
I'm in the correct application scope because one can never make a change on ACL present in Walk up experience application while being in global / any other app scope. You will always see the warning message on the ACL asking you to be in the right scope.
The error message i get is different than wrong scope error message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2022 03:44 AM
Hello
The below post also refers to the exact same issue you are referring to please check the post and the correct answer:-
https://www.servicenow.com/community/developer-forum/cannot-add-conditions-to-acl/m-p/2223474
Please mark my answer as correct based on Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2022 03:49 AM
Hello!
Yeah, i read this one, however after creating another ACL in the same scope as table does not solve my problem!