UI Action Visibility Based on Assignment Group and Assigned To User

AbW
Tera Contributor

Need guidance on implementing a ServiceNow UI Action button on the Incident form with conditional visibility. The button should be visible only when the Incident is in an Active state, when the “Assigned To” field is populated, and only if the assigned user belongs to the same Assignment Group (for example, Hardware Group).

Whenever I am trying to add condition, I am not seeing the button  

 

current.active == true &&
!gs.nil(current.assigned_to) &&
gs.getUser().isMemberOf('hardware')

0 REPLIES 0