Reputation: 17
I have a child pipeline on Azure Data Factory which is called by a master one by an "Execute Pipeline" activity. This child pipeline has a couple of variables which I need in my master pipeline.
On this child pipeline I even use some "Set variable" activities to change the variables values. Like in the example:
I would like to pass this final values of my variables from child pipeline to the master one. If every step run successfully, my variables would have all "true" values at the end of my child pipeline. I would like this values to be passed to the master pipeline. Like in the example:
Is it possible?
Upvotes: 0
Views: 2203
Reputation: 6114
It is not possible to pass/return variables from child pipelines to parent pipelines. We can only pass parameters from parent pipeline to child pipeline.
A work around to this problem is to write the values into a file (txt) in the child pipeline and read this file from parent pipeline
. Look at the following demonstration.
copy and set variable activity
completion, create a copy data activity.first row as header
. Here add additional columns, with your variable values.Upvotes: 1