How can i automatically publish an article in a knowledge base
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2017 02:42 AM
I am creating a knowledge article from a business rule but i need to publish it the instant i create it, is this possible?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2017 02:46 AM
you need to add this to the code
current.workflow_state='published';
current.insert();
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2017 02:49 AM
Hi Santos,
Please navigate to Knowledge Bases and open the required knowledge base in which you want instant publishing of article. Then select the 'Knowledge - Instant Publish' in the 'Publish Workflow' field. That is a OOB workflow available in the instance.
I hope this helps.Please mark correct/helpful based on impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2017 03:35 AM
i selected that workflow for a Knowledge Base that i created but it still wants an approval action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2017 04:59 AM
Hi Santos,
This should work. Please make sure that the Business rule is creating the knowledge under the same Knowledge base in which you have selected 'Knowledge - Instance Publish' in the 'Publish workflow' field.
I hope this helps.Please mark correct/helpful based on impact