Idle time on For Each File Activity

Matt Michalowski 26 Reputation points
2021-06-04T15:17:06.117+00:00

I have a pipeline configured as shown below. It checks a subdirectory for a group of flat files and based on the name of the file, it will load data into a SQL staging table. The ForEach activity has 6 If Condition activities which will run based on the file name parameter that's passed.

102581-image.png

On this particular run, all activities within the For Each complete in about 2 1/2 minutes. Then there's an additional 3 minutes while the For Each stays "in progress" before finally completing successfully. The Gannt chart is shown below. I don't understand why there appears to be 3 minutes of "idle" time after the last inner activity of the For Each completes and the entire For Each activity ends. Please advise.

102508-image.png

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,773 questions
{count} votes