When I try to add ForEach activity inside the IF condition - it throws validation error "cannot have ForEach inside IF"
Is there a workaround/fix for this?
This is common issue across ADF & Synapse so I'm tagging both.
When I try to add ForEach activity inside the IF condition - it throws validation error "cannot have ForEach inside IF"
Is there a workaround/fix for this?
This is common issue across ADF & Synapse so I'm tagging both.
Hey,
Currently no iteration activities except Filter is supported within IF activity across ADF and synapse.
In case if you need that, then please follow the below process:
1) create a pipeline with the ForEach logic
2) use Execute Pipeline activity within the IF activity and call the pipeline that contains ForEach
Though I've accepted the answer, would like to know if there is any plans to have this restriction removed?
This is one of the basic requirements and using "Execute Pipeline" is just a workaround but not the best solution.
Hey,
I do agree that this is a limitation.
@PRADEEPCHEEKATLA-MSFT @KranthiPakala-MSFT : Do we have any idea w.r.t limitation being removed?
Hi @AbinashTumulu-5836, @NandanHegde-7720 ,
AFAIK there is no plan for PG to remove this limitation at the moment.
If you have any specific feedback regarding this, I would recommend you to please submit an idea as per the instruction provided in this article: How to send ideas and suggestions to the Synapse team. Once the suggestion/idea is posted one of our engineer will take this feedback forward to ADF product team.
7 people are following this question.