- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2017 11:50 AM
I am attempting to modify some custom work done by someone no longer at the company. The Knowledge Management process uses a "getApprovers" javascript command in the Knowledge Management - Publish workflow. So far, only the System Administrator can approve knowledge articles; I need multiple people (preferably an established group) to have the ability to review and publish articles. Thoughts?
Solved! Go to Solution.
- Labels:
-
Knowledge Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2017 11:59 AM
That activity is calling new KBWorkflow().getApprovers(current);
Typically anything that starts with "new X" is a script include. Navigate to System Definition and search where name = KBWorkflow. There you will find a few records and one that ends with SNC. The KBWorkflow extends KBWorkflowSNC and there you will find the getApprovers function.
It is basically navigating to the knowledge base record and getting the owner and managers and adding them as approvers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2017 11:53 AM
You can Change the workflow as you required. Instead of modifying the OOB script you can add your own activities
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2017 11:59 AM
That activity is calling new KBWorkflow().getApprovers(current);
Typically anything that starts with "new X" is a script include. Navigate to System Definition and search where name = KBWorkflow. There you will find a few records and one that ends with SNC. The KBWorkflow extends KBWorkflowSNC and there you will find the getApprovers function.
It is basically navigating to the knowledge base record and getting the owner and managers and adding them as approvers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2017 12:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2017 12:09 PM
Yes that out of the box function gets the list of users from the Managers field. Of course you can complete configure this to something else as well if this doesn't work for you.