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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
Gpop13
Helper I
Helper I

Fabric Data pipeline activity dependency

Hi, I have the below dependency set in a fabric pipeline. I need the variable to be set to Failed even when one of the notebooks has failed. In the below case, the failed variable will be invoked ONLY if ALL 3 notebooks fail.

Is there any solution to this (apart from creating 3 different flow from each notebook failure)?

 

Note - for variable for 'pass' I am okay, as it will be called after ALL 3 are successful.

 

Gpop13_0-1743691041697.png

 

1 ACCEPTED SOLUTION
NandanHegde
Super User
Super User

please refer the below blog :

https://datasharkx.wordpress.com/2021/08/19/error-logging-and-the-art-of-avoiding-redundant-activiti...

 

You need to use on completion and then check whether there is any failure in any activity, if yes, then set variable else skip




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

View solution in original post

3 REPLIES 3
v-achippa
Community Support
Community Support

Hi @Gpop13,

 

Thank you for reaching out to Microsoft Fabric Community.

 

Thank you @nilendraFabric and @NandanHegde for the prompt response.

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the super user resolved your issue? or let us know if you need any further assistance.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Thanks and regards,

Anjan Kumar Chippa

NandanHegde
Super User
Super User

please refer the below blog :

https://datasharkx.wordpress.com/2021/08/19/error-logging-and-the-art-of-avoiding-redundant-activiti...

 

You need to use on completion and then check whether there is any failure in any activity, if yes, then set variable else skip




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com
nilendraFabric
Community Champion
Community Champion

Hi @Gpop13 

 

if you wire the Set Variable activity to trigger based on the failure condition of each notebook, that activity will only execute if all three notebooks fail because dependencies in Fabric pipelines are combined with an AND logic condition

 

so your requirement should be fine with your current setup 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.