- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2022 02:35 AM
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
Solved! Go to Solution.
- Labels:
-
Multiple Versions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2022 02:40 AM
Hi yesh
In the condition of your UI Action, you can use below logic
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2022 02:39 AM
In the UI Action condition field use the below code:
current.assigned_to == gs.getUserID()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2022 02:40 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2022 02:43 AM
Hi,
Should be simple enough.
Members have already shared approach.
Let us know if you are stuck
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2024 12:16 AM
Hi Ankur,
What if I dont want to show the perticuler UI action to assigned to or additional assignee