--- title: "Branch For Each (Chunking)" slug: "branch-foreach-chunking" updated: 2023-01-16T20:30:28Z published: 2023-01-16T20:30:28Z canonical: "documentation.decisions.com/branch-foreach-chunking" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Branch ForEach (Chunking) | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Modified in Version** | 7.12.0 | | **Location** | Flow Management > Branching | The **Branch ForEach (Chunking)** step takes in a list of items of a data type and creates a branch for each iteration. This is different from a normal ForEach step because instead of a Next outcome path, the Branch ForEach step automatically asserts that each item in the list will be output on the For Each outcome path. If the result type is set to ListofItems, the size of the outputted lists can be configured. --- ## Properties #### Collection | Property | Description | Data Type | | --- | --- | --- | | Type | Allows a user to select a data type | --- | | Fail If Empty | Creates an outcome path for an empty value | Boolean | | Result Type | Determines whether the step will output each item individually or as a list | --- | | Output List Size | Enabled if ListOfItems is chosen as the result type. This sets the max size of entities each list created by the ForEach step can hold. This size can be increased can be greater than the inputted list size. | --- | #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Collection | List of the specified Data Types | List of [DataType] | ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1673900829520.png) --- Related Information Forum Posts: [Using Branch For Each Step And Getting Errors](https://support.decisions.com/forum/topic56-using-branch-for-each-step-and-getting-errors.aspx) [Running Branch For Each Step Asynchronously](https://support.decisions.com/forum/topic1975-running-branch-for-each-step-asynchronously.aspx)