How to insert the record in Import Sets table using script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2020 01:47 AM
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
Thanks
Ramesh R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2023 10:29 PM
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2020 09:37 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader