How to create Import set table and Transform maps programmatically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2018 11:59 PM
Hi,
I have been using Table APIs to create and update change request. I have been informed to use Import sets for updating data. I am trying to find a way to automate creation of import set tables and transform maps so that by simply calling APIs we can update the table (just like we have experience with using Table APIs).
Can someone tell me what is the API to create Import set table and Transform maps?
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2018 11:43 PM
Hi,
Refer the below link
https://docs.servicenow.com/integrate/inbound_rest/concept/c_ImportSetAPI.html
Regards,
Abhijeet Bangera

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2018 11:52 PM
Hi Nishu,
Please check schedule job ,OOTB there is a scheduled job in your instance called: "Asynchronous Import Set Transformer" that does some similar actions - causes and import set to get processed. You may want to look over that script and see if there is anything that you can pull over to use as well.
Just a caution that it uses some "Packages" calls into servicenow java code. If you reuse those functions and ServiceNow deprecates or removes them, your code will break.
NOTE: Mark correct or helpful if it helps you.
Warm Regards,
Raj patel