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.

Use Case

ShraddhaM475477
Tera Contributor

If there is a custom field on click of UI action I want to populate count of incident which are from same assignment group and I want to show this field to only admin or ITIL user which modules you will use for this?

1 ACCEPTED SOLUTION

Sid_Takali
Kilo Patron

Hi @ShraddhaM475477 You can try to create a Read ACL on the count field and use below script in advanced condition

answer = gs.hasRole('admin') || gs.hasRole('itil');

View solution in original post

1 REPLY 1

Sid_Takali
Kilo Patron

Hi @ShraddhaM475477 You can try to create a Read ACL on the count field and use below script in advanced condition

answer = gs.hasRole('admin') || gs.hasRole('itil');