How to Separate KB Author using email script
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2024 11:08 PM
Hi Everyone,
I tried to get all inactive user which is KB Author using email script.
my question is how can we separate the authors and send 1 notification to appropriate KB owner.
this notification will be sent out to KB Owner so its should be separate sending since some KB has different KB owner.
var getKB = new GlideRecord('kb_knowledge');
getKB.addQuery('author.active', false);
getKB.query();
while(getKB.next()){
//var article = getKB.number.getDisplayValue();
template.print(getKB.number.getDisplayValue() + " " + getKB.author.name.getDisplayValue() + '<br/>');
}
0 REPLIES 0