How to wait API call response while do others things in parallel?

Hello Community,

I have a foreach activity that download a PDF file and send request to OCR platform. The flow is working now but the runtime is too long because the flow have to wait API response that takes sometime. It would be great if there is a way to wait the API response while do other activity or do the next loop of for each. If you have any suggestion please tell me.

Best regards

Hi @wahid_rochman

One thing that you can try is to use a parallel activity and do some activities while response is in waiting. Give the condition for parallel activity as to complete both the tasks …then your bot will send api request and also perform other activities

Cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.