Reputation: 2513
I have set variable "Id" in main pipeline and I'm setting value in "Set Variable 1" I would like to pass variable to child pipeline. I have created parameter "Id" in child pipeline. However I cannot refer to @{variables('id')} in Lookup5 of Child pipeline.
How to pass correctly variable?
Upvotes: 2
Views: 4395
Reputation: 11
Upvotes: 0
Reputation: 1258
Azure has a added a functionality to return parameter to the child pipeline using set variable activity.
Here is the Azure Data Factory document link: Configure Pipeline Return Value in Child Pipeline
Or You can through a video for the quick help: How to Pass Values between Two ADF Pipelines
Upvotes: 0
Reputation: 15276
You should be able to pass the variable into the parameters of child pipeline.
Simply access the passed in parameter with @{pipeline().parameters.Id}
in the child pipeline.
Upvotes: 4