How to Connect a pipeline run Action to Logic app Workflow ?

Aicha Bayram 61 Reputation points
2022-05-12T11:22:05.9+00:00

Hello,

Currently I have Few Concerns Regard to Data factory pipeline run task read via logic app , Could you please help me on this ?

1 - Can I Use Get a Pipeline Run Connector to Read run event read for logic app.?

2- when I am tring to configure that connector there, have a mandatory field called Pipeline Run ID, How Can I extract define Run ID Because Run ID is dynamic and its change with every run time ?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,251 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,991 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. KranthiPakala-MSFT 46,597 Reputation points Microsoft Employee
    2022-05-13T18:00:57.63+00:00

    Hello @Aicha Bayram ,

    Thanks for the question and using MS Q&A platform.

    1. Can I Use Get a Pipeline Run Connector to Read run event read for logic app.?

    When you say Get a Pipeline Run Connector, are you referring to Pipeline Runs - Get REST API? If that is the case then it will need a pipeline runID to the get the run details. And If you are not aware of the runID then it won't be useful

    1. When I am tring to configure that connector there, have a mandatory field called Pipeline Run ID, How Can I extract define Run ID Because Run ID is dynamic and its change with every run time ?

    In order to get the pipeline runID then you will have to use Pipeline Runs - Query By Factory REST API by which you can query pipeline runs in the factory based on input filter conditions.

    Below is the expected request body:

    201883-image.png

    Below are query filter options for listing the runs

    201864-image.png

    Below are parameters that can be used to filter the runs specific to your requirement.

    201848-image.png

    Once you have the specific pipeline runID's list then you can leverage Pipeline Runs - Get REST API to get specific run details.

    Hope this info helps.


    Thank you


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.