Forum Discussion
How to do nested for loops in data factory
- Anonymous2 years ago
Hi Anonymous ,
Parent Pipeline:
Child Pipeline -
Note: Make sure to add pipeline level parameters at child Pipeline
Please check foreach iterator and parameter in pipeline expression builder.
On execution you will get the required output.
Hope this is helpful. Please let me know incase of further queries. - Anonymous2 years ago
Thank you very much, I think I get now the idea and going to implement it. If any further questions arise I will give you a touch. As of now, this solution seems to do the trick. Thank you Anonymous !
- Anonymous2 years ago
Hi Anonymous ,
We haven’t heard from you on the last response and was just checking back to see if your query was answered.
Otherwise, will respond back with the more details and we will try to help . - Anonymous2 years ago
Hi Anonymous ,
We haven’t heard from you on the last response and was just checking back to see if your query was answered.
Otherwise, will respond back with the more details and we will try to help .
Thank you for your answer Anonymous
I tried to replicate your answer and created two pipelines with a for loop in each. The parent pipeline will iterate over Fruits
And the child pipeline over Serving types
The thing is I don't understand how to incorporate the array values of the Fruits inside Serving types.
What I'm expecting is to retrieve variable values of 'Apple Sliced', 'Apple Smashed', 'Apple Shake', 'Orange Sliced', 'Orange Smashed', 'Orange Shake', and so on.
This ain't my actual data, but I'm trying to understand the logic behind it and apply it to my pipeline that, in general terms, will be something like since I'm iterating over strings.
Hi Anonymous ,
Parent Pipeline:
Child Pipeline -
Note: Make sure to add pipeline level parameters at child Pipeline
Please check foreach iterator and parameter in pipeline expression builder.
On execution you will get the required output.
Hope this is helpful. Please let me know incase of further queries.
- Anonymous2 years agoNot applicable
Thank you very much, I think I get now the idea and going to implement it. If any further questions arise I will give you a touch. As of now, this solution seems to do the trick. Thank you Anonymous !
- Anonymous2 years agoNot applicable
Hi Anonymous ,
We haven’t heard from you on the last response and was just checking back to see if your query was answered.
Otherwise, will respond back with the more details and we will try to help .- Anonymous2 years agoNot applicable
Hi Anonymous ,
We haven’t heard from you on the last response and was just checking back to see if your query was answered.
Otherwise, will respond back with the more details and we will try to help .