question

AichaBayram-9633 avatar image
0 Votes"
AichaBayram-9633 asked KranthiPakala-MSFT answered

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

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-data-factoryazure-logic-apps
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

KranthiPakala-MSFT avatar image
0 Votes"
KranthiPakala-MSFT answered

Hello @AichaBayram-9633,

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

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



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


image.png (21.0 KiB)
image.png (20.3 KiB)
image.png (27.1 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @AichaBayram-9633,

Following up to see if the above information was helpful. And, if you have any further query do let us know.

Thank you

0 Votes 0 ·