Forum Discussion

pgarehte's avatar
pgarehte
New Member
10 months ago
Solved

Data Pipeline - Rerun from failed activity

Hi, I have a foreach activity which have a copy activity which runs copy on multiple tables. Whenever a copy activity failed and other ran successfully I tried option 'Rerun from failed activity' bu...
  • Avyaktha's avatar
    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).