How to call rest service using load balancer from Outsystem UI

Hi All,

Currently ,I am  calling  rest service  by using  connector(which is created  by  me) by  providing  url & token in   service center.But,I am  facing  some  issue  when  the  rest  service  is  down.How  can I implement  load balancing  when  calling  to  rest service from Outsystem UI.



You can customize the outgoing request using OnBeforeRequest handler:

In that you can also change the URL. With some logic you can create a round-robin type of load-balancing there. You'll need to save state somewhere on which URL was called earlier via BaseURL.

Alternatively, these things are usually handled at the infrastructure level on the receiving end, like an AWS ELB or F5 load-balancer.