Azure / Azure/Azure-DataFactory
Wait Tasks are not Skipped when using ReRun from Activity
- Dominant language
- PowerShell
- Stars
- 529
- Forks
- 623
- PR merge metrics
- No merged PRs in 30d
Description
# Issue
When a pipeline is re-run from an activity, any Wait tasks that were executed in the initial pipeline run take as long as they would have even if they weren't skipped. The tasks end up with the status "Skipped" despite taking as long as the wait period.
If a While loop was used containing a wait task, every wait task that was executed in the initial pipeline run is run again, so the While loop takes as long as the initial run, even if this is hours long.
# Example
We encountered this when re-running a parent pipeline from a failed activity. The parent pipeline called a child pipeline within it which container a `while` loop that contained a `Wait 15 seconds` task. The `Wait 15 seconds` tasks were skipped as many times as they executed in the initial run but took 16 seconds each.

Contributor guide
Assessment
This issue has not been assessed yet.