SNEAK PEAK : ServiceNow Ebonding Spoke and its extensions and the Mighty attachments
In this article you are going to learn how to transfer the incident from one ServiceNow instance to Other ServiceNow instance and keep them in sync. I have seen in my past experience that this is the most common requirement in my MNCs and large organizations where there are N number of external vendors supporting their business. So ServiceNow come up with a solution to make it easy and Low Code No code and introduced a Ebonding Spoke which is available in all ServiceNow Instance OOB.
Pre-requisite:
- Username and password (credentials) from both the instances.
- If you customize this spoke then you need REST protocol support and might need IntegrationHub support.
What are we going to do in this article?
- Learn how to setup the connection and credentials.
- How out of the box this Spoke works (Mainly 3 actions)
- How to extend this actions and how to exchange extra information between the instances.
- How to send or ebond attachments between two instances.
Case 1 & 2: Setting up credentials and connection and OOB ServiceNow Ebonding Spoke demo
In this case we will see how to setup the connection and credentials for both the instances. When i say both means two servicenow instances between which we need to do Ebonding of the incident. In this below video you will see how to achieve this two cases. I have explained the OOB actions and what fields they support which means what data is exchanged between two instances.
Note: I am using Basic authentication in this demo but you can use oAuth as well and in that case the pre-requisite might change and you need to setup the app registry for the same.
Case 3: Extend the spoke to accommodate extra fields to be transferred between two instances.
OOB below fields are supported to be transferred from one instance to other instance.
- Short Description
- Description
- State
- Caller
- Business Service
- Category
- SubCategory
- Impact
- Urgency
- Configuration Item
- Assignment Group
- Assigned To
- Contact Type
- Correlation ID: Incident number of the record passed
I have seen that this fields are not enough to be exchanged between two instances. We should have a detailed work notes and comments also to be transferred between instance. So the question is if we can do that and the answer is YES we can do that. I have explained how to do that in below video. There is a OOB script include called as PayloadBuilder which is private and cant be modified so we have to copy the script include code and create a new one and update the spoke action as show in video.
Case 4: Transferring attachments with Ebonding and IntegrationHub REST Protocol
As you know, we OOB do not send attachments using Ebonding spoke. So i create a custom action and custom flows to send attachments to the remote instance. In below video you will see the detailed explanation on how you can achieve that. This requires IntegrationHUB subscription because we need REST protocol support.
This way we have learnt to do end to end ebonding i.e. keep two incidents in sync with each other. This article has attachments which has custom flows, custom actions which i have used in my demos.
Please don’t forget to mark helpful ,bookmark this article and subscribe my YouTube channel.
Thanks and Regards,
Ashutosh Munot
https://www.servicenow.com/community/now-platform-articles/sneak-peak-servicenow-ebonding-spoke-and-its-extensions-and-the/ta-p/2320956