Azure / Azure/Azure-DataFactory

Wait Tasks are not Skipped when using ReRun from Activity

Open
#253 5 comments 0 reactions 0 assignees View on GitHub
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.

![image](https://user-images.githubusercontent.com/68955845/108071133-46618e00-705d-11eb-8d76-ec7603a78a08.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.