--- title: "For Each in Group Step" slug: "for-each-in-group-step" updated: 2024-01-18T19:38:33Z published: 2024-01-18T19:38:33Z canonical: "documentation.decisions.com/for-each-in-group-step" --- > ## 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. # For Each in Group Step Example Lab ArticleWhile Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released. --- ## Overview | ## Example Lab Details | | --- | | **Version** | 6.9.2 | | **Root Folder** | Example Lab - For Each In Group | | **Modules** | None | | **Dependencies** | None | This Example Lab project fetches a small set of data to sort through and group based off of email. --- ## Explanation This Example Lab project contains a Flow that uses a **Get All** step to pull in the SupprtExampleStructure test data. This data is passed to the **ForEachInGroup** step, which loops through the data and groups all of the projects associated with the target email, based on the group/email that is configured in the Sub-Flow step properties. The Sub-Flow operates to receive the email address and associated list of projects, then use a **Join Strings** step to comprise the list and assign them to the correlated email address. Reference Articles[Using Sub Flows](https://documentation.decisions.com/docs/using-sub-flows) [Creating Forms](https://documentation.decisions.com/v8/docs/create-forms) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-655(1).png) --- ## Project Download The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.9.2 or later using our [Importing/Exporting](https://documentation.decisions.com/docs/importing-and-exporting-projects) article. [ExampleLab[ForEachInGroup].zip](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/ExampleLab%5BForEachInGroup%5D.zip) ---