Removing an article from Pending Retirement

DavidReynolds
Tera Contributor

Several knowledge articles that require management approval were skipped. They are now in the "Pending Retirement" state. While I can update the Valid To date and save them, I cannot restore to the Draft workflow required to add missing knowledge blocks and then resubmit for approval.

 

The only option I can think of is using Insert and Stay then making a new copy of the article. The drawback is that breaks any links to the older, "Outdated" articles.

 

Does anyone have any other suggestions?

 

FYI: I am using the modern instance of Zurich.

 

Thank-you.

 

1 REPLY 1

Sachin_Nasa
Tera Guru

Hi @DavidReynolds ,

You can move the article back to Draft using a background script, which allows you to retain the same record
BG Script:
var gr = new GlideRecord('kb_knowledge');
if (gr.get('SYS_ID_HERE')) {
    gr.workflow_state = 'draft';
    gr.valid_to = ''; // optional, if you want to reset expiry
    gr.update();
}
If you found this helpful, please mark it as Helpful and Accept as Solution so it can reach others too.
Thanks & Regards,
Sachin Narayanasamy