Bidirectional Integration from 1 service now to another servicenow

ravichanduk
Mega Expert

Hi can anyone help me how to done this integration

Incident created or update in one instance that should be reflect on other snow instance also

messaged should be send for both of them

if anybody done with this please share the code and process

19 REPLIES 19

I actually found my own issue.  I needed to have record.results.sys_id.

hi ikomidar 

if you done with using rest can u share the documents of that script and steps it will helpful to all

This is the only piece of scripting that you need.  You need to set up your Outbound Rest Message.  So far, I've done post and patch.  Post to insert the record and patch to update the record.  I do not want to use put because I only want to update the fields and not rewrite the entire record. 

Also, task.opened_at needs the acl modified to allow rest_service write access.

I will be documenting the entire process at some point when my work slows down.  Until then, if you just google how to set up Outbound Rest Message for ServiceNow you will find all of the documentation and videos that you need to accomplish this. 

BTW - I created a separate patch message for updating the description because long descriptions were causing a 400 error.  Took me a while to figure that out.  So my business rule checks to see if the POST without the description was successful.  If it was, it then calls the patch_description call. 

Hi Ikomidar,

Can you please share the business rule you used for updating the incident?