--- title: "Folder Count Flow Behavior" slug: "folder-count-flow-behavior" description: "Learn how to display a Folder Count in the Decisions Portal and mark it as important to change its color." updated: 2026-07-02T20:21:16Z published: 2026-07-02T20:21:16Z canonical: "documentation.decisions.com/folder-count-flow-behavior" --- > ## 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. # Folder Count Flow Behavior ## Overview The **Folder Count Flow Behavior** displays a Folder Count on a Folder that is selected in a Flow using this Behavior. This Counter is displayed alongside the Folder Name within the user Portal. This behavior also allows the ability to set if the Count is **Important** or not. Setting the importance will change the color displayed on the Folder that the Count is set to. The following example demonstrates how to create a Counter for Folder to display the number of its Sub-Folders. --- ## Example 1. Navigate to a **Designer** **Project** and select CREATE FLOW, from the top Action bar. 1. Select **Flow**, provide **Name**, then click CREATE. 2. Navigate to the **Properties** tab. 3. Under SETTINGS **> Behavior Type**, select **Folder Count Flow**. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1778699002242.png) 4. Navigate to COUNTER SETUP **> Counter Type**, and select **ForFolderType** or **ForFolder**. 1. If ForFolderType, select the desired Folder Type from the dropdown.Selecting a Folder Type will display a counter on all Folders of the defined Type. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1779210041447.png) 2. If ForFolder, PICK the desired **Folder** to display the counter on.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1779210095887.png) 5. Under Change Type, select either OnTimer or OnFolderChange. (For this example, select On Folder Change.Change Type options behave as follows: - On Timer: Uses Change Time to define a TimeSpan to run this Flow.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1779210142288.png) - On Folder Change: Uses Folder Change and refresh to adjust the counter. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1779210171909.png) 6. From the INTEGRATION > INTERNAL SERVICES > FOLDERSERVICE category of the **Toolbox** tab, add a **GetSubFolders** step to the **Done** path of the **Start** step. 7. Navigate to the GetSubFolders' Properties tab; under INPUTS, **Select** **From** **Flow** map **Folder.FolderID** to **id**. The FolderID value will pertain to the Folder selected in the Flow's Properties earlier. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1779210310044.png) 8. Connect the GetSubFolders step to the **End** step; then, select the End step to navigate to its Properties tab. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1779210362628.png) 1. Map **GetSubFolders1_Output.Count** to **Folder** **Count**, and **Constant** map **Important** as **True**. Defining Important as True will change the background color to Orange. Leaving it as False will set the Counter's background to grey. 9. **Save** the Flow, then close via **X**. 10. Refresh the Portal. After refreshing the Portal, a counter will display beside the configured Folder in the Folder tree.  ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1783023670103.png)