can we execute data sources(import sets) from background

Naveen Velagapu
Mega Guru

can we execute data sources(import sets) from background ? i.e. instead creating a scheduled import and execute it from background is there any package or util which will execute data source   and transform map manually?

or else does

SncTriggerSynchronizer.executeNow('scheduled import sys_id'); has capability to execute the data source without creating scheduled   import ?

18 REPLIES 18

Geoffrey2
ServiceNow Employee
ServiceNow Employee

Yes, I have done it before with that exact function.


Hi Sage,


No , i guess because that would execute the scheduled jobs but not the data sources , i am thinking of a solution to execute /trigger datasource from background.


that method is not compatible with data sources, if you implemented , can you help me with implementation?


What's wrong with executing the Scheduled Job?   Just set it to inactive, or set the start date 20 years from now, so it doesn't run on its own.


Either that or copy the "Load All Records" UI Action.


  Thats the end option available   ... initially i am thinking of checking possibility for data source then scheduled job.