How to insert the record in Import Sets table using script

ramesh_r
Giga Sage

Hi All,

I want to get record using import set and I want to do it using a script,

so I have used the below script and its interesting the record but its not processing and pulling the data.

Please guide me where i need to change the script.

Inserting record in 'sys_import_set' table

var imp =  new GlideRecord('sys_import_set');
imp.initialize();
imp.state = 'loaded';
imp.data_source  = '0e2d4f4cdba690d06d438a3a489619e2';
imp.table_name = 'u_get_external_user';
imp.insert();

Records get inserted but is not processing

 

find_real_file.png

 

Thanks

Ramesh R

16 REPLIES 16

@ramesh_r 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

@ramesh.r 

Hope you are doing good.

Did you get a chance to check on the solution provided to resolve your query?

If your query is resolved please mark appropriate response as correct & helpful so that this thread can be closed and others can be benefited by this.

Regards
Ankur