Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
pgarehte
New Member

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' but when I choose this ooption it still run the all copy activities. Is the rerun only for failed activity does not work in fabric???

1 ACCEPTED SOLUTION
Avyaktha
Frequent Visitor

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).

View solution in original post

3 REPLIES 3
v-hjannapu
Community Support
Community Support

Hi @pgarehte,

I would also take a moment to thank @Avyaktha  , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.
 

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.

Regards,
Community Support Team.

Hi @pgarehte,
I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We are always here to support you.


Regards,
Community Support Team.

Avyaktha
Frequent Visitor

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).

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 2025 Fabric update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors