Azure Data Factory pass a parameter from a parent pipeline to a child pipeline

Michal Molka
2 min readMay 26, 2023

--

Here is a short instruction how to pass a parameter from a parent pipeline into a child pipeline.

Go to an ADF and create three pipelines: [ParentPipeline] — a parent pipeline,

[InvokeChildPipeline01] — a child pipeline,

[InvokeChildPipeline02] — a child pipeline.

As you see at the screen the parent pipeline runs two child pipelines.

Create a parameter for the parent pipeline:

Switch over to the same Parameters section inside the child [ChildPipeline01] pipeline.

Go back to the [ParentPipeline] and select the [InvokeChildPipeline01] task. In a Settings tab the child_pipeline_parameter appeared.

Open a Pipeline expression builder for a parameter. Reference the parent pipeline parameter: parent_pipeline_parameter.

@pipeline().parameters.parent_pipeline_parameter

And this is it. We passed a parameter.

We didn’t use the second child pipeline. A next post describes a Lookup, For each and Stored procedure activities. So, we will get back to it here:

Azure Data Factory — lookup, for each and variables

--

--

Michal Molka
Michal Molka

Written by Michal Molka

Architect | Azure | Power BI | Fabric | Power Platform | Infrastructure | Security | M365

No responses yet