ACL -Field to be editable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 07:10 AM - edited 10-29-2024 07:13 AM
Hi everyone..
I'm trying to create an ACL.
So we have "Assignment group" field and it needs to be editable to the "Manager" group.
The result was it still not editable to the manager group. Please help me on this . Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 07:18 AM
Hi @Dizy M ,
As per screenshot you have applied 2 condition.
So as per current setup assignment group will be editable if logged in user have the mentioned role and sate of the ticket is open.
But seems you are looking to make this editable for "Manager" group right? like if logged in user part of manager group then allow edit else make it read only, if that so then do the following.
Modify same ACL like below
1. Remove role from the list.
2. remove state condition.
3. Go to script section and write below code.
answer = gs.getUser().isMemberOf('Manager');
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 07:29 AM
Hi @Runjay Patel , thank you for your response. I tried this however, the assignment group field is still not editable for the manager group..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 07:41 AM
Hi @Dizy M ,
Check below.
1. Logged in user should be part of "Manager" group.
2. Put group name properly.
3. Your table is in global scop?
If still not working then share screenshot.
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 07:49 AM
Hi @Runjay Patel . Our table is in the scope application .. I tried to impersonate the member of the manager group and the field is still not editable