Integration with Servicenow instance to another instance

KottapalliR9520
Tera Contributor

Hi SN Comminity,

 

I was Struck with one of the Scenario: The records which created in source  SN instanvce to target SN instance will be reflected same data .

But when i was integrated i was encountered some issues here that Source instance Creation Incident record that  data was reflected on target instance but it was created incident with same data for record another record created for same in target with empty fields.

 

Could you please any one help me to understand what went wrong here.

 

I had created Business rule here when before any record inserted. that will be update with dynamic values entered in record creation of incident at source instance. but when i am creating its got created correctly but in target instance one record with correct data another one was empty record created. Please find the below attachments.

KottapalliR9520_0-1778003409461.png

KottapalliR9520_1-1778003554487.png

KottapalliR9520_2-1778003614812.png

KottapalliR9520_3-1778003746210.png

 

thank you in advance for your help.

 

 

4 REPLIES 4

salma98
Tera Contributor

Hi @KottapalliR9520 , I tried in my SN PDI, it works fine. Here are the few screenshots for your reference.  Are you passing the content body correctly as per the screenshots?

 

salma98_0-1778005432356.png

salma98_1-1778005502114.png

Can you also try changing your BR from before Insert to after Insert?

 

Please Mark the  answer as correct if it was helpful;

 

 

Yousaf
Giga Sage

Hi @KottapalliR9520 
In your business rule are you using current.update() ?? if yes remove that and try


***Mark Correct or Helpful if it helps.***

@Yousaf Thanks for suggestion but, In Bussiness rule i was not used current.update() .

 

Thanks for your reply.

@KottapalliR9520 
The empty record that is being created. it creates after the main record or before the main record ? 
The problems I can think of should be solved by changing before BR to After as Salma suggested


***Mark Correct or Helpful if it helps.***