Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

SncTriggerSynchronizer.executeNow(schedJob)

Naveen Velagapu
Mega Guru

hi all,

i am trying to execute a sceduled import from background using SncTriggerSynchronizer.executeNow(schedJob).

i am holding the return value of above in a variable and printing it

var schedJob = new GlideRecord('scheduled_import_set');

  if(schedJob.get('name', 'naveen_test')){

  var a =SncTriggerSynchronizer.executeNow(schedJob);

gs.print(a+'naveen');

}

each time it is printing different sys_id , but unable to identify to which table that sys_id belongs to.

i queried dynamically for all tables that have that sys_id , but i couldnt get any positive result.

any idea to which table that sys_id belongs to ???

20 REPLIES 20

reeshma
Tera Contributor

HI,

i am trying to execute a Ui action from Schedule definition using SncTriggerSynchronizer.executeNow(current);  but after execute, it always redirects to previous page.