The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I have a FOREACH activity. Sub-activity inside has an activity within that can fail at times. This is fine. However, this now causes the FOREACH activity to also be marked as failed, and follow the fail path. There is no built-in method to suppress this behavior of the internal activity. or the Foreach activity.
Solved! Go to Solution.
as seen foreach is success even if the inner activities have failed.
you need to use try catch scenario :
Blog for additional details :
Hi @P_work
May I check if this issue has been resolved? If not, Please feel free to contact us if you have any further questions.
Thank you
Hi @P_work
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.
Thank you.
Hi @P_work ,
Thanks for reaching out to the Microsoft fabric community forum.
Thank you @NandanHegde for your valuable points,
In Try-Catch approach,
When previous activity succeeds: node Upon Failure is skipped and its parent node succeeds; overall pipeline succeeds
When previous activity fails: node Upon Failure is enacted; overall pipeline succeeds
here is more information on wait activity
Wait activity - Microsoft Fabric | Microsoft Learn
I hope this information helps. Please do let us know if you have any further queries.
Thank you
as seen foreach is success even if the inner activities have failed.
you need to use try catch scenario :
Blog for additional details :