Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to create an API request manager in our instance

Daniel_O
Tera Expert

We want to create an api call manager in our instance. We do not want more than 5 api calls to be made at the same time in our entire instance.

 

We wanted to create a control that limits requests to 5 at the same time and stores those that could not run in a queue so that as soon as the number of requests decreases, call those that remained in the queue.

 

it is possible?

6 REPLIES 6

Hi @Daniel_O,

 

I haven't really seen or come across anything to specifically limit outbound calls in a general sense, however, if you think about it, if you create a REST API to send to X system, internally (and depending on how you implement it) you will be calling that service indirectly meaning you can throttle the eventual 'outbound' call because your script include / business rule etc will be making an internal call to that REST service in order to send to X system. Does that make sense? 

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Helpful.

 

Thanks, Robbie

 

Ben Bernardy
Tera Contributor

I'm interested in a solution for this as well. Did you find any mechanism to manage a process queue for outbound rest calls?