Home > Mobile >  How to get pipeline id of the first pipeline if first pipeline trigger another pipeline
How to get pipeline id of the first pipeline if first pipeline trigger another pipeline

Time:12-10

In our ADF application pipeline A is invoking pipeline B. I want to capture the run ID so I used the @pipeline().RunId to capture it. But while executing the two run ID Which is as per design. But I want to capture the run ID of pipeline A from pipeline B.

Any idea how to capture these details?

CodePudding user response:

There is a system variable like TriggeredByPipelineRunId

CodePudding user response:

Just to add to Nandan points , you also have System variable named TriggeredByPipelineName . I do find name more helpful then guid :) .

enter image description here

  • Related