Web Services Integration User Guide
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-31-2017 02:46 AM
I would like to practice the use of Web Services Integrations between our two pre-production instances. This is because we will be integrating with an external vendor who also uses service now. I would like to test thisand practice this on my internal instances frist,. Is there a user guide or something that I can follow, that will help be create a integration, bi-directional, between my two differrent instances?
I find it quite difficult to follow the service now documents and wiki that I have come through.
I would just like to get the basics known first, and I am sure, I can play around after wards. At this stage, I am not certain where and how I begin.
- Labels:
-
Integrations
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2017 04:43 AM
Did you try giving the Log Statement and check what Value you are getting in the Num variable as mentioned above?
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2017 04:46 AM
How do I do that? I dont believe any values are being pushed through from the source to the target.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2017 04:57 AM
Hi,
Place the Log Statement in your Scripted Rest configured on your Test instance as shown below:
Script:
(function process(/*RESTAPIRequest*/ request, /*RESTAPIResponse*/ response) {
var remote_number = request.u_number1; Number coming as input from Source Application
gs.log('Remote Number is' + remote_number);
Then Navigate to Script Log Statement Module as shown below and search for the message as "Remote Number" as shown below:
Can you send a screen shot for the Error you are getting while saving the form.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2017 05:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2017 05:18 AM
Can you have the same literals in Line Number 3. Currently you have given the log as below:
gs.log ('num is: " +num);
which is incorrect as you are starting with a single Quote and ending it with a Double Quote. And Also remove the space after log word and the bracket.Kindly Replace your Log statement Line as below:
gs.log('num is:' +num);
Regards,
Shloke
Regards,
Shloke