User is not able to see the Ui action even though the condition satisfies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 02:14 AM
Hi,
User is not able to see the Ui action even though the condition satisfies.
current.state == '18' && ((current.assigned_to == gs.getUserID()) || gs.hasRole('admin'));

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 02:23 AM
Hi Kranthi,
Try below
current.state == 18 && ((current.assigned_to == gs.getUserID()) || gs.hasRole('admin'));
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 02:26 AM
Actually it is working for all the users but only one user is facing the issue. until unless i am pretty much sure can't able to modify the script.
Please suggest.
Thanks,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 02:27 AM
Are you sure the conditions are satisfied? Is the Assigned To same as logged in user or has 2 different profiles?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 02:34 AM
Yes condition has been already satisfied.
logged in user same as the assigned to