Execute sch job from fix script, e.g. 'Populate Meta Description on KB Articles' fix script

 // Let's start the async job to populate kb_knowledge table with the meta description field

if (pm.isActive('com.snc.knowledge_serviceportal'))


function startAsyncPopulateMetaDescription(){

var rec = new GlideRecord('sysauto_script');

rec.get('name', 'Populate Meta Description on KB Articles');




Popular posts from this blog

GlideRecord setValue

variable advanced reference qualifier example

Running transform maps asynchronously