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.

UI Action condition for assignment group members

Leonel Sandroni
Tera Guru

Hi everyone,

 

I need the Screen button for demand records to be displayed only for the members of the assignment group

LeonelSandroni_0-1687977809241.png

 

The UI Action screen condition is:

LeonelSandroni_1-1687977896858.png

 

How could I add a condition in order to accomplish that?

Suggestions?

 

 




1 ACCEPTED SOLUTION

Sagar Pagar
Tera Patron

Hi @Leonel Sandroni,

Try this updated condition scripts:gs.getUser().isMemberOf('Group Name');

 

Thanks,
Sagar Pagar

The world works with ServiceNow

View solution in original post

1 REPLY 1

Sagar Pagar
Tera Patron

Hi @Leonel Sandroni,

Try this updated condition scripts:gs.getUser().isMemberOf('Group Name');

 

Thanks,
Sagar Pagar

The world works with ServiceNow