ADF - Restart Pipeline - Start from Failure
On failure of a pipeline, I am trying to rerun the pipeline, by providing the run id and startFromFailure as true.
Now in my pipeline, I had a foreach activity which processed 3 files - out of which 2 files were successful and 1 file failed. When I run with start from failure, I expected the foreach to start processing only from the 1 file which failed. But it it now trying to pick all the three files and process it.
The two files which were successful in the earlier run are not longer there (as it is copy and delete). Now I get failure for the already successfully processed files.
How can I make the pipeline run only for the failed file and not pick the earlier two files which were successful.
Any pointers will be helpful, thanks.