Home > Net >  How to change dynamically Data Flow in pipeline ADF-AZURE
How to change dynamically Data Flow in pipeline ADF-AZURE

Time:10-12

i have question is possible to change dynamic Data Flow in "foreach", not only parameters. I need run multi Data flows in on loop.

enter image description here

enter image description here

CodePudding user response:

Currently, in ADF it is not supported to give the dynamic dataflow names or pipeline names in the activities.

As an alternative, you can try Switch to get the desired result.

First store all the dataflow names in an array like below.

enter image description here

Give this to ForEach activity.

enter image description here

Inside ForEach use the Switch activity and give the @item() as Expression.

Switch activity:

enter image description here

Cases:

enter image description here

For case names, give all dataflow names that you want to execute and inside the cases create the respective dataflows.

Inside a case(case name is dataflowA):

enter image description here

You can see the Execution of the dataflow inside ForEach activity.

enter image description here

  • Related