54
Views
3
Comments
Best way to parallelize API calls
Question

Hi,

I have a requirement to send updates to system users, consuming callback APIs exposed by them. 

Each user (companies) has their own API and I'll call it using Forge Extension Dynamic Rest API. 

How can I make calls to these APIs in parallel?

I would probably use BPT for such a requirement.

In fact, BPT is the only way to do parallelization in OutSystems.

Hi  @Julia Edwiges de Freitas 

I agree. Just create Processes and include logic to call these apis in the processes and trigger event should be same for all these processes. That way they will run in parallel. And I would suggest to create Lightweight process with just 1 automatic activity in it, as the number of threads(20 Concurrent) to run in parallel will be more to achieve higher level of parrellism.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.