March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
I have a scheduled pipeline that runs every 15 minutes.
Once a day it may ingest a lotof data and the pipeline runs for over 15 minutes, meaning the next run tries to process the same data etc.
Is there a way to automatically check whether the pipeline is currently running (from within the pipeline) so I don't run it multiple times if it currently ongoing? I would check to see if the pipeline is running and stop the current run if it is.
Thanks
Solved! Go to Solution.
Hi @BW_RFA
Apologies for the misunderstanding. Directly checking the pipeline's status within an ongoing pipeline in Microsoft Fabric isn't currently available. You can set the concurrency limit to 1 in the pipeline settings. The maximum number of concurrent runs the pipeline can have is called Concurrency. By default, there is no maximum. If the concurrency limit is reached, additional pipeline runs are queued until earlier ones complete.
Hope this helps. Please let me know if you have any further queries.
Unfortunately As of today Fabric data pipelines do not have any REST API because of which we cannot check the status of the pipeline at run time dynamically.
But you can enable the concurrency property wherein making it 1 would ensure only 1 instnace of pipeline is running and have others in queue.
Hi @BW_RFA
Thanks for using Fabric Community.
You can go to the monitoring hub in a pipeline to check the status of pipeline runs.
For more information please refer to this link:
https://learn.microsoft.com/en-us/fabric/data-factory/monitoring-hub-pipeline-runs
Hope this helps. Please let me know if you have any further queries.
Hi,
Thank you for your reply. I think you have misunderstood my question.
I want to do this automatically from within a pipeline so that if the same pipeline is still running it will stop.
Thanks
Hi @BW_RFA
Apologies for the misunderstanding. Directly checking the pipeline's status within an ongoing pipeline in Microsoft Fabric isn't currently available. You can set the concurrency limit to 1 in the pipeline settings. The maximum number of concurrent runs the pipeline can have is called Concurrency. By default, there is no maximum. If the concurrency limit is reached, additional pipeline runs are queued until earlier ones complete.
Hope this helps. Please let me know if you have any further queries.
Thanks,
Does this work with scheduled triggers of the same pipeline?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
1 |
User | Count |
---|---|
14 | |
10 | |
9 | |
5 | |
4 |