logo

NJP

How to create incident in another instance without coding | ServiceNow Ebonding with IntegrationHub

Import · Apr 02, 2020 · video

[Music] in order to subscribe to my channel please click here or click here please share comment and like my videos and channel hey guys this is Gaurav welcome to SAS word service now in this video I will show you how you can integrate to ServiceNow instances with the help of integration hub so this video is about ServiceNow a bonding with integration hub in order to do this integration we should have two different ServiceNow instances so I have this first instance that is primary instance I have which is a source instance where we will create the incident racket which will create the incident record in another instance and that destination instance I have is this one so dev 7 9 1 1 9 is our destination instance and Dev 9 9 8 4 6 is our source instance now in order to do this integration with integration hub you have to enable integration hub plug-in in your instance now it depends the kind of feature you want the kind of license you have because instan integration hub is a is a paid application so it's totally up to your organization your customer or client what kind of license they have taken with ServiceNow so let's start this integration so as we have this destination instance first we have to make sure that we have user name and the password for this particular instance so in that case I will just verify so I will quickly go to sis underscore user dot list and I have this particular account that is integrate dots as I have given two roles to this particular user that is I so that this user can create an update incident in this particular instance and rest underscore service role so I have given two roles let's go to our source instance over here so we will start with creation creating the flow so as you know integration hub is basically part of flow designer so you have to create a flow you have to create some workflow kind of a trigger points so that it can integrate and it can trigger the integration and send the call to destination instance before we start this integration we also need to put our credentials that means the instance which we are connecting to we should have saved the credentials first and we should also create the connection so for that what do you have to do but here you will see credentials so you have to first create the credentials so in that case you will click here new you will select basic auth credentials I will type pass a bond auth here I will do SAS I think we can select in T great dot SAS and I can give the password which I have I don't have to select connection alias over here so I can just quickly click on save so this credentials are saved now and then I can just quickly go to connections so I have to create some connections not some just one connection basically for this particular one so it depends on your on your integration that if you have multiple integrations that you definitely have to create multiple HTTP connections so we have to select HTTP connection here I will give it a name as SAS a Bond connection I have all I have to select the credential so we just created SAS ebon auth I will select that I have to select connection alias as well so ServiceNow is already giving me this particular alias that is e bonding so you can just select the existing one this is out of the box for now here I have to put the connection URL so if I go here in my destination instance I will select this URL I have to copy this and then I will go over there and put it here I don't have to admit server so I will just click on save so we are done so we are done with connection and credentials because those are kind of prerequisite before you initiate this integration let's create the flow so you have to click on action designer under integration hub application this will open up the flow designer then you have to click here new you have to create a new flow so in that case we will do SAS now EE bonding I will click on submit a new flow will be created its created now the important part here is you have to select the trigger point but how exactly this integration will be triggered so in that case what we will do I will select here I will select created or updated whenever data will be created or updated then it should trigger that particular integration maybe let's let's select just and create it for now because I just want to show you quick demo and how exactly it works so we will do it for created I can select the table here and that will be incident our select incident table now if I will select created and I will do I will select the table incident then what will it will do it will trigger that integration call every time and that's what we don't want because we want this integration may be for a specific incidents so in that case I will add a filter and that filter would be assignment group so if assignment group is this one so I just created a random group just to show you that how exactly this integration can be triggered so any incident will be created and it will be assigned to this particular group then this this particular integration will be triggered so this is the trigger point so I will just click on done you can see I'm not doing any kind of scripting it is just straightforward drag-and-drop selecting the configurations and values that set so it is done then I will click on here now I was directly select the action because we want to create an incident in our destination instance I will click on action you will go a little bit bottom you have to select ServiceNow a bonding example I will select here then it will show you some options so here we have create remote incident you can also look up remote incident so I think it automatically got selected but I have to delete it I will go here you can also update remote incident if you want so as of now I will select create remote incident I will select this one here I will select the racket which was created over here I will select this one insert in racket and that's it you are done so if you will click on done here you don't have to do anything else that means your integration at least primary integration is done may be phase one integration I would say you definitely want to add more functionalities but at least you are able to connect two instances now so as of now we are just creating the racket so in that case what I will do I will click on save and then I will activate it so we are already done with connections credentials the username which we have in our destination instance everything is done so this is also activated the next step is just sting so till here you are done with development so now you can understand how fast it is so I can just go to here and I will go to my incident management module and here I will click on create new I will select any any color I want may be able to turn I will select a category any service I want maybe SAP Enterprise Services configuration item I can select maybe dotnet framework and here this is create incident in now to make sure that it is selecting the same instance I will copy from here and paste it over there create incident in this and this is really important that you have to select assignment group because that's how it will trigger if you will not select the same group because you have mentioned that in the condition then this integration will not work so I will click on save now so incident is created in our source instance let's go and see in flow designer first before checking this incident in destination instance so I will just click here I think you can directly click here executions for this particular flow so you can see it says complete so I can click here it will show you whether it was completed or not if you can expand it as well and yes it was created so we have this one 0 0 3 so and I think returning values you can see the remote incident number we have is 5 1 0 0 5 7 that means it is created let's check in our destination instance I will go over there and this is our destination instance I will just quickly go to incident module maybe click on open and try to search absolutely so now you can see we have this new incident which created in our another instance there was a source in instance and it has created the new incident also in the destination instance you can see all these all these categories subcategory fields which we selected over there it automatically selected so that's a really great feature that you don't have to select the fields as well you can definitely control this that with which particular field you want to update it that's something you can definitely do there are other more features as well you can update the insulin you can look up for the incident if that incident is available in that particular instance or not I think this is really great feature and and you must have seen that I have not done a single coding while doing this integration which every developer had to do lot of coding just to integrate two instances so I hope you like my video thanks for watching and have a great day

View original source

https://www.youtube.com/watch?v=4hBpkX5XJcA