Forum Discussion
Data Pipeline - Rerun from failed activity
- 10 months ago
Hi pgarehte
In Microsoft Fabric, the “Rerun from failed activity” option restarts the pipeline from the point of failure, but it doesn’t support rerunning only the failed iterations inside a ForEach loop. When used, the entire loop runs again, including iterations that previously succeeded. This is the current design, though not explicitly documented.To run only the unsuccessful iteration, you would need to maintain a log table and change a flag for a successful iteration at the conclusion of each one.
AND rerun the pipeline again it would now use the iteration that failed the last time ( the one where the flag was not modified).
Hi pgarehte
In Microsoft Fabric, the “Rerun from failed activity” option restarts the pipeline from the point of failure, but it doesn’t support rerunning only the failed iterations inside a ForEach loop. When used, the entire loop runs again, including iterations that previously succeeded. This is the current design, though not explicitly documented.
To run only the unsuccessful iteration, you would need to maintain a log table and change a flag for a successful iteration at the conclusion of each one.
AND rerun the pipeline again it would now use the iteration that failed the last time ( the one where the flag was not modified).