How to retrieve ADF pipeline status in Power Apps UI screen

Vemasani Chethana 1 Reputation point
2023-01-19T07:01:10.3866667+00:00

Hi,

We are triggering ADF pipelines from Power Apps through Power Automate. We want to display the pipeline triggered status(Started, In-Progress or Completed), triggered by, triggered datetime in Power Apps UI screen.

 We have created buttons in power apps to trigger ADF pipeline. Only one pipeline should run at a time. If multiple pipelines are triggered,  subsequent pipelines should be queued and can be executed when previous pipeline run has completed.

We want to know the best feasible solution to achieve this.

Thanks in advance.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,137 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Yevhenii Tretiak 0 Reputation points
    2023-01-19T12:37:38.81+00:00

    At least you can set Concurrency setting for pipeline:

    User's image

    For more details about pipeline run, you need to store runId (from body of response for trigger) and check for status, for example by Get-AzDataFactoryV2PipelineRun or Logic Apps.

    0 comments No comments

  2. ShaikMaheer-MSFT 37,231 Reputation points Microsoft Employee
    2023-02-02T14:47:15.6366667+00:00

    Hi Vemasani Chethana,

    Thank you for posting query in Microsoft Q&A Platform.

    If you are referring to single pipeline here and make sure that pipeline runs should be queued when multiple times triggered, then consider setting Concurrency setting inside pipeline to 1.

    If you are referring to multiple pipelines and make sure other pipelines should be queued when one is running from ADF, then you need to identify order in which they can run and try to create dependencies inside trigger on each other. Using tumbling window triggers you can have dependencies between triggers. Kindly check this video to understand better.

    You can refer below video too.

    https://www.youtube.com/watch?v=4A4lv5XGI98

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


    Please consider hitting Accept Answer button. Accepted answers help community as well.

    0 comments No comments