ServiceNow to ServiceNow integration using import set API.

niveditakumari
Mega Sage

Hi All, 

 

Can anyone please tell me step by step setup that how I can achieve ServiceNow to ServiceNow integration using import set API with coalesce field and transform map script. 

ex- When I create incident in instance A it should create incident in instance B. 

 

Regards, 

Nivedita

 

 

9 REPLIES 9

Hi, 

 

I have to use import set api. 

Please help me with import set api to configure it. 

 

Regards, 

Nivedita

 

 

niveditakumari
Mega Sage

Hi, 

 

I have created import set api to create incident in instance B. 

Import set api don't support methods for update. 

Can anyone please suggest code for update using coalesce field and transform script. 

 

Regards, 

Nivedita

 

 

Hi @niveditakumari 

Update of records should be handled with coalesce field defined in your transform map.What is the issue you are facing?

Updating records using coalesce 

 


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

Hi @Voona Rohila , 

 

We can update fields with using coalesce. Do we need to write any script also to update fields? 

 

Regards, 

Nivedita

 

 

Yes coelace will update the record if the target table that has the same value in the Target field as the import set row Source field, Script is not required.

 

check below link for more details on transform script.

Transform Event Scripts


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP