How do i send an Incident details across one instance to another instance using REST message?

Pavan Kumar BV
Kilo Expert

I have an instance A and Instance B. My requirement is to send a incident data(Incident number, Caller, State, Priority, Urgency etc) from instance A to instance B with the help of REST message. I have created a REST message as below but not sure how i could transfer the incident details. The connection was successful to the end point.

find_real_file.png

Can you please help me how i can acheive this? I have no knowledge on scripting.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Pavan,

please refer below links and they should help you

https://community.servicenow.com/community?id=community_article&sys_id=ad8ad908dbdc7b44a39a0b55ca961...

https://community.servicenow.com/community?id=community_question&sys_id=abfa0baddb5cdbc01dcaf3231f96...

https://community.servicenow.com/community?id=community_question&sys_id=e471afdddb123f0014d6fb243996...

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Pavan,

please refer below links and they should help you

https://community.servicenow.com/community?id=community_article&sys_id=ad8ad908dbdc7b44a39a0b55ca961...

https://community.servicenow.com/community?id=community_question&sys_id=abfa0baddb5cdbc01dcaf3231f96...

https://community.servicenow.com/community?id=community_question&sys_id=e471afdddb123f0014d6fb243996...

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Megha Padale
Giga Guru

Hi Pawan,

I found thread similar to your thread, check this it might help you:

https://community.servicenow.com/community?id=community_question&sys_id=b3a1cb69db98dbc01dcaf3231f96...

If my answer helped you in any way, mark answer as helpful and correct.

Thanks and regards,

Megha.

asifnoor
Kilo Patron

Hello Pavan,

Go to REST API explorer and there you can build the API. once the APU is build, you can click on script tab and it will give you the code which you can use in your instance, may be in Business rule after incident is created.

Kindly mark the comment as a correct answer and helpful if it helps to solve your problem.

Regards,
Asif
2020 ServiceNow Community MVP