- How to call api’s so that they can call multiple ext system, like api A calling system 1,api 2 B calling system 2 in parallel?
To trigger multiple APIs in Parallel
- Use Load-DataPage (async) + Connect-Wait with PoolID
- Queue Processor
Hi @RameshSangili using load data page method how can we call multiple connectors?
And in case of QP how should the configuration be?like calling three Connect-Rest methods at different processing time?
If you want to trigger multiple connectors from the Same data page, then you can use Aggregate Sources to trigger multiple connectors, however it will be sequential and then aggregate all the results.
hi @RameshSangili no i want it to happen asynchronously .
The Load data Page needs to be triggered multiple times in your activity rule for each data page.
Load Data Page - D_Customer (Step1)
Load Data Page - D_Contact(Step2)
Use Connect-Wait with the poolId to wait for the results from all the Data Page before you continue. (Step3)
Though the approach by Ramesh works and it’s probably suitable for your requirement, it’s not the only way to do asynchronous integration. There’s a specific Academy mission on this subject Asynchronous integration | Pega Academy in which other options such as asynchronous connector processing are described.
I have also seen a solution where a single datapage used an activity and then used Queue-For-Processing steps to call connectors within, if you want to avoid creating more than 1 data page as your interface.