SncTriggerSynchronizer.executeNow(schedJob)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2016 07:07 AM
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 ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2018 04:48 AM
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.