Execute parallel async operations on a schedule
Recipe ToolsMarketing
What it does
When a scheduled time arrives every 5 minutes, this automation calls two async operations in parallel. Both run at the same time, and the automation waits for both to complete before the next cycle begins.
Who it's for
Operations teams who need to run long-running parallel processes on a schedule without blocking other workflows.
How teams use this
Run parallel data syncs on schedule
Call two data sync operations every 5 minutes in parallel, then wait for both to finish before the next cycle starts. This keeps data fresh across systems without sequential delays between syncs.
Execute batch jobs without blocking
Launch two long-running batch processes at the same time on a schedule and wait for completion. Other workflows can run independently while these async tasks finish in the background.
Add a third async operation to the flow
Include a third async call alongside the existing two so all three run in parallel on the same schedule. The automation waits for all three to complete before moving to the next cycle.
How it works
- Start on a 5-minute schedule. The automation begins every 5 minutes to initiate the parallel async operations in the Workato Recipe Function.
- Launch first async operation. Call the first async operation in the background so it runs without waiting for a response from the Workato Recipe Function.
- Launch second async operation. Call the second async operation in parallel with the first so both run at the same time in the Workato Recipe Function.
- Wait for both operations to finish. Pause until both async operations complete in the Workato Recipe Function, then the automation ends and the next cycle begins.