What happens to a translation of an article if the parent is retired?

Andrea Elms
Kilo Guru

Hello Knowledge Gurus 🙂

We had the logic implemented, that if a parent article is retired also the translations will be retired.

This disappeared now all of the sudden.

How is the OoB logic in this case?

Think it makes sense, to retire the translation with the parent and also being able to retire the translation itself, which also does not seem to work, as no retire button is available in the translation.

Am I missing out something?

Thank you,

Andrea

1 ACCEPTED SOLUTION

Hi you can have a custom BR on Knowledge table before update

Script:


var kb = new GlideRecord('kb_knowledge');
    kb.addQuery('parent',current.sys_id); // check parent sysid of all child articles
    kb.query(); 
    while(kb.next())
        {
            kb.workflow_state = 'retired'; // retire all child articles matching with parent
            kb.update();
        }

Regards
Harish

View solution in original post

5 REPLIES 5

jaimehonaker
ServiceNow Employee
ServiceNow Employee

Hi there Andrea, 

Not sure if you are aware, but there's a whole Internationalization & Localization forum on Community, as well. Knowledge overlaps with it, but it may be a helpful place to go if you have more translation questions. 🙂