cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to use a pool of resources when exposing a process as an API?

MatthewSawyer
Level 3
We've been able to expose processes with a URI that is specific to a resource machine. In those cases we are directly using the name of the resource in the URI. Is it possible to do the same with a pool of resources? We have tried this by swapping out the name of the pool with what would normally be the name of the resource in the URI, but we're getting 404 errors. This guide doesn't even mention pools - https://bpdocs.blueprism.com/bp-7-0/en-us/frmWebServiceExpose.htm?tocpath=Interface%7CSystem%7CProcesses%7C_____1
1 REPLY 1

ewilson
Staff
Staff
@Matthew Sawyer,

No, it is not possible to reference a pool, via SOAP, using the pool name. Instead, I'd suggest you look at the Process Dispatch Framework on the Digital Exchange. You don't have to use it, but it will give you an idea of how you might address this. Basically, you expose a background VBO on a single resource. That VBO can then execute whatever process on the pool using AutomateC.exe.

Alternatively, stick a load balancer in front of your resources and let it handle distribution of the requests across the available resources.

Cheers,
Eric​