How to set the UI Action to be visible to the specific user?

Yesh
Tera Contributor

Hi guys,

I have requirement like the UI Action is to be visible to the user who got assigned to the particular task. If I have a incident table and i have assigned a particular incident to one user to take an action on it, then that particular user can able to see the Approve UI Action. No other users can see that ui action. How to achieve this?

Thanks

1 ACCEPTED SOLUTION

Voona Rohila
Kilo Patron
Kilo Patron

Hi yesh

In the condition of your UI Action, you can use below logic 

current.assigned_to == gs.getUserID()

Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

View solution in original post

5 REPLIES 5

Yesh
Tera Contributor

Thank you everyone