How to update incident using import set API

String
Kilo Sage

I have created a customised import set where incident ticket is created ,but now how to update the incident using import set API from 3rd party inbound Json.

1 ACCEPTED SOLUTION

@kiranchand 

you must be mapping the coalesce field via field map under the transform map

if the incoming value matches with target table it will update; if not found then it will insert

you need to have POST method

Only POST and GET are supported for Inbound REST Import Set

refer below link

Inbound REST Scripted Web Service

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

10 REPLIES 10

As per ur ref link i have created import set for creation ,but now how to update the incident ticket .!!

 

can you please guide me

@kiranchand 

you must be mapping the coalesce field via field map under the transform map

if the incoming value matches with target table it will update; if not found then it will insert

you need to have POST method

Only POST and GET are supported for Inbound REST Import Set

refer below link

Inbound REST Scripted Web Service

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@kiranchand 

Hope you are doing good.

Let me know if I have answered your question.

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

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Prasant Kumar 1
Kilo Sage

Hi,

According my knowledge you can't update incident using import set api, why because you are hitting the staging table not the target table to create a record. but for update you have to update your data on target table. so that using import set api you can't update a record in incident table.

 

If I was able to solve your Query, please mark my answer correct and helpful.

Thanks & Regards

Prasant Kumar Sahu

Hi Prasant - FYI - That is not correct. You can update the target table via import set table.