简体   繁体   中英

How to Monitor pipeline a from pipeline b in azure datafactory

I have 2 pipelines, A and B.

I want to monitor the current status of A from B. If A is currently running then do not run B, but if A is already completed or did not run then start pipeline B.

This should be done in Azure Data Factory.

How can I approach this?

you can use the REST API to check for the status:

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryPipelineRuns?api-version=2018-06-01

learn.microsoft.com/en-us/rest/api/datafactory/pipeline-runs/query-by-factory

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM