In a Parallel activity containing three branches, Branch A completes in 2 seconds, Branch B completes in 10 seconds, and Branch C completes in 5 seconds. When does the workflow proceed to the activity immediately following the Parallel container?
Because Branch B is the longest-running task, it determines the total duration of the Parallel activity. The container waits for the completion of every branch, including the slowest one, before it is considered finished. This behavior is fundamental to the 'Join' logic of parallel processing in UiPath, ensuring that no background tasks are left dangling before proceeding.
Why this answer
The Parallel activity is designed to execute multiple child activities simultaneously in a non-blocking manner. However, the container itself is synchronous regarding the main workflow. It will only pass control to the subsequent activity once all internal branches have finished their execution.
This ensures that all parallel tasks are fully synchronized before the automation moves forward to steps that might depend on their outputs.