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

Be 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

Reply
BW_RFA
Helper I
Helper I

Check if a pipeline is currently running

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

1 ACCEPTED 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.

vnikhilanmsft_0-1708338889502.pngvnikhilanmsft_1-1708338984174.png


Hope this helps. Please let me know if you have any further queries.

 

View solution in original post

6 REPLIES 6
NandanHegde
Super User
Super User

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.

 

NandanHegde_0-1708339496608.png

 




----------------------------------------------------------------------------------------------
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
v-nikhilan-msft
Community Support
Community Support

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.

vnikhilanmsft_0-1708335045410.png

 

vnikhilanmsft_1-1708335093921.png

 

vnikhilanmsft_2-1708335143595.png
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.

vnikhilanmsft_0-1708338889502.pngvnikhilanmsft_1-1708338984174.png


Hope this helps. Please let me know if you have any further queries.

 

Thanks,

 

Does this work with scheduled triggers of the same pipeline?

Hi @BW_RFA 
Yes the concurrency works for scheduled triggers also.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.