UI Action visible only when the logged in user is an admin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2024 02:16 AM
Make an UI Action visible only when the
logged in user is an admin, and has more
than 5 records where he/she is a caller.
UI Action- GlideRecord - Script Include

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2024 02:38 AM
Hi,
Rather than just posting a user story, can you provide us with detail of what support you're requiring?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2024 02:51 AM
Hi @marrikruthi ,
you can do this by adding condition in the condition field of your UI Action. Before adding the condition you'll have to create a script include to check if the logged in user is caller in more than 5 records( I assume incidents).
I'm providing the steps with the screenshots for reference below. You can follow that.
1) Create a script include.
2) Add these condition in the condition section of your UI Action.
This should fulfill you requirement.
Thanks,
If my solution helped you please mark it helpful and accept this solution. This helps me and the community both.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2024 04:55 AM
no it is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2024 05:06 AM
Hi @marrikruthi ,
Show me the script include and UI Action. you can paste the screenshot of both records below so that I can check.
Thanks.