- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-27-2024 12:43 PM
How to hide UI Actions available on Incident & Request form for Business stakeholder role?
we have enabled the business stake holder role in snow and added a user to it, but few custom ui
actions are available for this role and respective user. Kindly please advise best way to hide the same
via script or any other best practice.
detailed information can help.!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-27-2024 02:10 PM
that's strange. Is it in classic view or in workspace?
Could you post screenshot of one ui actions where condition is not working?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-27-2024 01:08 PM
You need to add roles to your custom UI actions so that only the required roles have access to the UI actions.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-30-2024 06:56 AM
This is for visibility i believe, my requirement is to hide this UI action on Incident form for a role.
please advise
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-27-2024 01:13 PM
have you tried to put this: !gs.hasRole(yourRole) in UI action condition?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-27-2024 01:27 PM
Tried this but still the UI action is visible. We need hide the ui action for the role