SEARCH
Showing results for 
Search instead for 
Do you mean 
Reply
Occasional Advisor
Posts: 7
Registered: ‎02-17-2016

Creating a webService request using Javascript

Hi Team,

 

I am working on a project where a workflow demands that output of a webservice operation becomes input to another operation. 

I ran the first operation, got the result, created a custom property and got all the output values in an array.

Next by using Javascript, I could able to print the values of array.

 

Now I have two pending issues:

1) To post the second opeartion of webservice using Java Script (Question is how to do it and an example would be a great help)

2) In the body section of the request, I want to put all the values I got from first operation (count can vary depending upon the data used in first operation)

 

Occasional Advisor
Posts: 7
Registered: ‎02-17-2016

Re: Creating a webService request using Javascript

One more addition to the problem:

3) Second operation can take only 200 values at a time as a input. So if first operation returns 500 values then second operation will have to run 3 times in a batches of 200, 200 and 100.

 

Any help in solving above mentioned 3 problems will be greatly appreciated.

 

Regards,

Hrishi

 

Highlighted
Occasional Advisor
Posts: 7
Registered: ‎02-17-2016

Re: Creating a webService request using Javascript

I could able to find the solution to this problem. Please consider this post as closed. Thanks!