For each count dynamic batch count

Aditya Raj 286 Reputation points
2022-01-22T05:48:21.423+00:00

I have a scenario in which i need to have provide dynamic batch count in for each loop f. Is there any way to do it. RIghtnow , I don't see any option to give it. We need to give it as hardcoded in pipeline.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,110 questions
{count} vote

Accepted answer
  1. Vaibhav Chaudhari 38,681 Reputation points
    2022-01-22T06:10:43.54+00:00

    Yes, it can't be dynamic. You can set it to max 50 and it will execute parallel threads up to 50 only.

    This link has the workarounds given: https://learn.microsoft.com/en-us/azure/data-factory/control-flow-for-each-activity#limitations-and-workarounds

    167421-image.png

    ----------

    Please don't forget to Accept Answer and Up-vote if the response helped -- Vaibhav

    2 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. 13457320 5 Reputation points
    2023-08-28T10:34:56.6166667+00:00

    It would be perfect to pass integer value dynamically to the batchCount property of ForEach activity. I hope this will be added in future :)

    1 person found this answer helpful.
    0 comments No comments