Display UI action "Submit for Review" button on Knowledge for all users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2022 04:44 AM
Can anybody please help - I want to show "Submit for review" UI action for all users
Now it's only showing for User logged in is either the person who checked out the article or is a Knowledge Manager or a Knowledge Owner for that specific Knowledge Base.
(!(new KBCommonCustomSNC().isStackNameDialog()) && (new KBKnowledge().canPublish(current)))
WHAT CONDITION NEEDS TO BE ADDED??
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2022 04:47 AM
You can simply remove this condition - '&& (new KBKnowledge().canPublish(current))) ' this will start showing the button for all the users but make sure the code in the UI action can perform the actions for the user who is trying to push the article to review.
-Harneet Sital
Request you to please mark my answer as helpful or correct based on the impact
Find all my ServiceNow articles here