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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

skip activity

Hi All,

 

We have multiple pipelines/notebooks to be run one after the other. However, sometimes based on condition we want to skip the activity.

 

If/Else Activity is an option to do that, but the entire visual flow is now If/Else activitie in sequence. Any better way to do it?

1 ACCEPTED SOLUTION
govindarajan_d
Super User
Super User

Hi @Anonymous,

 

I suggest you can build a small framework that reads json config files (or you can put it in some table in WH as well) and runs the activities based on json config. For example, let's say you have 15 notebooks to run and some of the notebooks have some sequential activity that is based on if condition. 

 

You could put all the 15 notebooks and their corresponding sequences in a json config file/WH Table. Have a lookup to read that metadata and then pass it to for-each. Inside for-each you can choose to have the notebook run and then the if-else condition. 

 

govindarajan_d_0-1742196126637.png

govindarajan_d_1-1742196141963.png

 

This way your pipeline becomes scalable and easier to maintain.

 

View solution in original post

4 REPLIES 4
v-pagayam-msft
Community Support
Community Support

Hi @Anonymous ,

We haven't heard back from you regarding our last response and wanted to check if your issue has been resolved.
If our response addressed your query, please mark it as Accept Answer and click Yes if you found it helpful.
If you have any further questions, feel free to reach out.
Thank you for being a part of the Microsoft Fabric Community Forum!

v-pagayam-msft
Community Support
Community Support

Hi @Anonymous ,
I just wanted to kindly follow up to see if you had a chance to review the previous response provided by community members. I hope it was helpful. If yes, please Accept the answer so that it will be helpful to others to find it quickly.
Thank you.

v-pagayam-msft
Community Support
Community Support

Hi @Anonymous ,
Thank you @govindarajan_d  for the helpful response!

I just wanted to kindly follow up to see if you had a chance to review the previous response provided by Govindarajan. I hope it was helpful. If yes, please Accept the answer so that it will be helpful to others to find it quickly.
Thank you.

govindarajan_d
Super User
Super User

Hi @Anonymous,

 

I suggest you can build a small framework that reads json config files (or you can put it in some table in WH as well) and runs the activities based on json config. For example, let's say you have 15 notebooks to run and some of the notebooks have some sequential activity that is based on if condition. 

 

You could put all the 15 notebooks and their corresponding sequences in a json config file/WH Table. Have a lookup to read that metadata and then pass it to for-each. Inside for-each you can choose to have the notebook run and then the if-else condition. 

 

govindarajan_d_0-1742196126637.png

govindarajan_d_1-1742196141963.png

 

This way your pipeline becomes scalable and easier to maintain.

 

Helpful resources

Announcements
August 2025 community update carousel

Fabric Community Update - August 2025

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