ACL -Field to be editable

Dizy M
Tera Expert

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!

 

DizyM_0-1730211205759.png

 

 

DizyM_1-1730210934794.png

 

16 REPLIES 16

Can you check if there is something else that might be causing the field to be non editable , like a ui policy or client script?

-Anurag

Hi @Anurag Tripathi . We have this existing Client Script (onload) that made the assignment group field non editable... Should we remove that and create ACL (read)?

First test whether that is the issue or not, disable that and only let the write acl be on. And then see if if works as expected.

 

I'm positive this is it.

-Anurag

@Dizy M ,

 

Yes, off course, either you have to run client script or acl. Better do with ACL.

 

-------------------------------------------------------------------------

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

-------------------------------------------------------------------------

 

Kiran_45
Giga Guru

Hello @Dizy M :
This happens when you're in scoped application.

Modify the same ACL like below

1. Remove the role from the list.

2. Remove condition.

3. Go to script section and write code as below. Call a global scriptinclude which should be accessisble from all applications!

answer = new global.ScriptIncludeName().functionName(current);

  4. In the script include return as below.

 functionName : function() {
return  gs.getUser().isMemberOf(current.assignment_group);
}

 

Modify the code as per your design.

Hope this helps!
Please Accept the solution and hit thumbs up 👍  if it resolves your issue.

 

Thanks

Kiran