How to auto publish knowledge article created from incident when incident is closed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023 03:45 AM
Hi,
When creating a knowledge article from incident, the article will be saved as Draft when the incident is closed, and in order to publish we need to go to the article record and press publish.
Instead, I am looking for a way to directly publish the article when the incident is closed. (skipping Draft, Review stage. )
Do I have to create a new Knowledge Base and create a new flow or is there some other way to do this?
Would appreciate it if you could provide the steps for this as I do not have much experience on those functions.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2023 11:36 PM
Hi @Sandeep Rajput
Thanks for your reply.
Based on your instructions I've edited the Incident Create Knowledge BR as attached. But the knowledge article created by incident is still saved as draft.
The workflow of the knowledge base used is the OOTB Knowledge Instant Publish.
Any ideas on why it isn't working and what I should do?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2023 04:51 AM
@E-E Did you see any errors in the log? There is another method which you could use to publish the article.
publishArticleById(tableName, articleId);
In your case you can modify the line number 18 as follows.
global.KnowledgeUIAction().publishArticleById('kb_knowledge',kbSysId);
Hope this works for you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2024 09:49 AM
@E-E Do you need any further help on this topic? If not then please select the answer as correct.