Hide retire button Knowledge article based on user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2025 10:26 PM
In the knowledge base table there is custom field with reference to group table
Only user belongs to this group can retire this specific knowledge articles attached to this KB.
If the user not belongs to this group should not retire i/e retire button should be invisible for them in kb article form.
How can i achieve this please help me to find the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2025 11:48 PM
So i should add this condition "new RetireButtonVisibility().checkRetireCondition(current)" in my existing Retire Ui action record?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2025 12:07 AM
yes try with 1 UI action first and then check for others.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2025 02:05 AM
I believe I have answered your question with all the details.
I hope you can enhance it further based on your requirement.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2025 02:21 AM
I am trying the solution will let you know once it worked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2025 03:09 AM
Thank you so much @Ankur Bawiskar
It didn't worked for me by adding that in my condition. Is there any other way to achieve it.