Azure Data Factory pass a parameter from a parent pipeline to a child pipeline
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: