Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Not able to Excute Scheduled Job from the Script

Nikhil63
Tera Expert

Hi All,

 

I need to run a Scheduled job from the Workflow(by RunScript). 

 

I am using the below script to run my Scheduled job. but it's not working seems like 'SncTriggerSynchronizer'  Method is not supported here. 

 

var grJob = new GlideRecord('sysauto');
grJob.get('sys_id', ' ');
if (typeof SncTriggerSynchronizer != 'undefined') {
SncTriggerSynchronizer.executeNow(grJob);
//gs.info('entitlementsGK1 ' + scheduleid +'-- '+bankEntitlement);
}

 

 

2 REPLIES 2

Maik Skoddow
Tera Patron

Jagadish Sanadi
Kilo Sage

Hello Nikhil,

 

Please try below code

var rec = new GlideRecord('sysauto_script');
Can you please try to glide on this table and check

Please mark useful if I have helped you