- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2020 10:37 PM
Integration hub ebonding spoke is enabled, now how to create trigger condition, action to integrate another instance incident module.
Any script is required to configure ebonding spoke? Please provide the step by step document.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2020 08:16 AM
You can see the script being called by the Action by clicking the highlighted part
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2020 09:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2020 12:34 AM
I just checked and there are few fields and only those seems to be copied over to other instance during creation and updating using ebonding.
Work notes is not present in that so it might not get copied over.
Create Remote Incident Action -
Update Remote Incident Action -
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2020 11:35 PM
Hope you are doing good.
Let me know if I have answered your question.
If so, please mark appropriate response as correct & helpful so that this thread can be closed and others can be benefited by this.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2020 07:04 AM
Payloadbuildercustom, is this script available on the link which you have shared?
can i get the sample script for the ebonding spoke.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2020 07:14 AM
Hi,
I was able to locate it as script include
PayloadBuilder
You can try include work_notes in the script if required by updating this function.
Then test whether work_notes gets updated in other instance or not
Note: I haven't tested it yet
createIncidentPayload:function(incident_sys_id){
var incidentSysId = incident_sys_id;
var incidentRec = new GlideRecord('incident');
incidentRec.get(incidentSysId);
var incidentValues = {
correlation_id: incidentRec.getDisplayValue('number'),
short_description: incidentRec.getDisplayValue('short_description'),
description: incidentRec.getDisplayValue('description'),
state: incidentRec.getDisplayValue('state'),
caller_id: incidentRec.getDisplayValue('caller_id'),
business_service: incidentRec.getDisplayValue('business_service'),
category: incidentRec.getDisplayValue('category'),
impact: incidentRec.getDisplayValue('impact'),
urgency: incidentRec.getDisplayValue('urgency'),
cmdb_ci: incidentRec.getDisplayValue('cmdb_ci'),
assignment_group: incidentRec.getDisplayValue('assignment_group'),
assigned_to: incidentRec.getDisplayValue('assigned_to')
work_notes: incidentRec.work_notes;
};
var contactType = incidentRec.getDisplayValue('contact_type');
if(contactType)
{
incidentValues.contact_type =contactType;
}
var subcategory = incidentRec.getDisplayValue('subcategory');
if(subcategory)
{
incidentValues.subcategory =subcategory;
}
return incidentValues;
},
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader