Change the Author of the article

Joyal Robert
Tera Contributor

There a list of knowledge articles whose author is inactive and it is published state. The requirement is to change the author to a active user using script. The publish workflow is Knowledge article - Instant Publish. When we change the author the version should also change

The script contains:

1.The published one changes to Draft 

2.The author name name changed to active user

3.The version should change or updated

4. In portal the article should be revised by new active user

 

Please help on the requirement

 

3 REPLIES 3

Community Alums
Not applicable

Hi @Joyal Robert ,

One way is to add the Author field to the knowledge form, then it can be changed. If article versioning is activated the article needs to be checked out first.

https://hi.service-now.com/kb_view.do?sysparm_article=KB0852951

 

You can also refer to this thread: https://community.servicenow.com/community?id=community_question&sys_id=47b2fdebdbce67009540e15b8a9619e1

 

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

 

There are about more that 200 articles which need to be change the author to that particular active user i.e "avd". So instead of manually changing by checking out and publishing again after changing the author for all the articles mentioned above. We need to change them at a time. The articles which i mentioned all are under one knowledge base "XYZ". It should not effect other articles from different knowledge base and only change when the author is inactive for those articles.

 

Joyal Robert
Tera Contributor

There are about more that 200 articles which need to be change the author to that particular active user i.e "avd". So instead of manually changing by checking out and publishing again after changing the author for all the articles mentioned above. We need to change them at a time. The articles which i mentioned all are under one knowledge base "XYZ". It should not effect other articles from different knowledge base and only change when the author is inactive for those articles.