Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Create ACL Rules for tables INCIDENT for hiding fields.

Pankaj
Tera Contributor

I have a requirement to hide the 'Short Description' and 'Assigned to' fields when the assignment group is not CAB Approval. This should be implemented within a single ACL .
whenever that current record is assigned to CAB Approval. (after saving that record it should get hide)

How can I do this ? please guide



I have implemented this ACL and IT works but the problem is I have to make two different ACL's for making the requirement full fill and It will be not good practice to make . I tried with code but my code is not working .

ACL stroy fields hidden.png


Thank you!

8 REPLIES 8

MattiasJonsson
ServiceNow Employee
ServiceNow Employee

If you want to "hide" it, look in to UI Policies.

If you want to restrict access (read/write/update/delete), look in to ACL's.

 

From your description, a UI Policy can do the trick.

 

If helpful or correct, please indicate so!

Yeah right suggested UI policy .
But they only want the fields should get hide by ACL only .  

Jaspal Singh
Mega Patron
Mega Patron

Hi Pankaj,

@MattiasJonsson has hit the statements to the point. Kindly confirm what is that is needed (to hide or to restrict access)

Yes sir I confirmed , 
short description = hidden 
Assigned to = hidden