- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2018 11:43 PM
need to create incident record from one instance to another instance using rest . Please explain steps with images
Thanks in advance
Solved! Go to Solution.
- Labels:
-
User Experience and Design
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2018 02:41 AM
Hi Shilpi,
PFA document which contains step by instructions.
Hope above answers your query.
Please mark it correct or helpful if I answered your query.
Warm Regards,
Narayan Munagala
Engineer
Board Line +91-20-6728-5000 | Direct +91-20-6728-5147 | Mobile +91-9158467666
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2018 11:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2018 02:41 AM
Hi Shilpi,
PFA document which contains step by instructions.
Hope above answers your query.
Please mark it correct or helpful if I answered your query.
Warm Regards,
Narayan Munagala
Engineer
Board Line +91-20-6728-5000 | Direct +91-20-6728-5147 | Mobile +91-9158467666
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2018 09:48 PM
Hi Narayan,
Thanks for your help but it is not creating i am using both developer instance
1. Mine
2. My Friend
and i am creating incident on my instance and then that incident must be created on my fiend instance but it is not working.
In End Point : need to mention my friend instance ?.
Please help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2018 10:50 PM
Hi Shilpi,
Yes, you need to create REST message on your instance with your friends instance endpoint.
And create Business Rule on your instance incident form. Also once REST message is create you can test the REST message with TEST option and see the results, if test succeeds the message is working and check for issue in BR.
Regards,
Narayan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2018 02:09 AM
Hi Narayan,
Thanks for your help now it is creating an incident in another instance but i am sending short description column value it is not setting that value in another instance. My business rule script is as follows.
try {
var r = new sn_ws.RESTMessageV2('Incident Creation', 'POST');
r.setStringParameterNoEscape('short_description', 'Rest Test');
var response = r.execute();
var responseBody = response.getBody();
var httpStatus = response.getStatusCode();
gs.log("51"+httpStatus);
}
catch(ex) {
gs.log("52"+ex);
var message = ex.getMessage();
}
Please do reply