Get Folder ID with lowest Document Count GetFolderIDwithlowestDocumentCount True LearSpecSilo -1 b851717f-0083-414d-a10e-16cf30613349 BO4dpDpmhy/tsOr55v1fN4/s8Cwmk/gA vUZDxwP0eVn5ojDtHnoacejbkkOufkDtjG7zEdydFvonsWyFwBFWmB4iWSPHQJ714bolKg2xZIGa5xxkRaUHrpuTB37gDrTDyFX+Q+q4c8GFU3fUpITHYFtff1c3w7QWz44fppnW9MvHKjb7z7wT7Hg+rZCpZpXEfnw8AaclGBXGr2FX0mXY+e9q0+TfeGEA0D04hmX5KAmfj8bPkFRTJ9jRLGWUHdWBaoJOwvlnEg8Oo9c2XceYaAM/s8qyW/q0VZ7k1ENej9QRO0rSe9YZ46AZEYipLnMQP09Nadn9JZnJsWZ2iSfgVDr2S3Ndzjo/F3tlajcebqjR4T2pBDfKhiRKw2RDIQ10pcMNV+ektRpOIGyx5ZQKjPUe7DyXbu21BEabOkO2muLfAdQZ0N0HSLRzLfAdsaIIeGR1EZdIFmDCabBcWL0gZqUBcz52Dl7KA/ZumeTKkU2/BkR0xnphBY2bhkugtnbQwW8Y0acZBEZrdcc6UOGRwfmdtKQGdfoh4fz3EQCzN99xzqsmgNj+H14W+2ACoMYNbcgbGuJgmPq1t/32tv2LzrTmPoclDX/n8vuTzq9xFeRyO8SwX08KO3T8mvcr/teK3t0EwI6+4ZunIe1OmDIakL6t2qe/I/5BwEycqhzPTz7+w6B0ABOwzibcw0Rx0Ey4uOn1mmdvQcHYKoTKedkrjIHD/cqHGmkFjgjeOFctQ2K5x9DcKAxESS1NG3g4mnLDft9YxF+R3TvHPEn7PhMXvYyJiVZcSOTx/2IpedOmQu6tg96wuVyZtW/WIzPNfmn/fqSy7LgXzIPOScKXljF4yqaz5fr2PQ518mivKnkaW786s9a/3vl+yTUVC4pYVOyGDOAvhu2lzv8nV+tUqQrNL2ZQ060POeOaxdR5elRq0pxhHWZr7rW/rT2EZlU+lLPEd7yd3Kknzx5FX2QJK/6RFY5AfcYN1JC7THYjeBa9LSDvNnan7c8QJ4qb3Vx59fnF8vVfW5avnTa1B2JpAaQKiQYFt+2L1hSVHN5iDAouBCIT89MTm1qJoYfjVLw/cDqVHUtdvLWM3VScB5Ht6c36jw== Running Completed Terminated en-us csaar C:\Users\csaar\Documents\Get Folder ID with lowest Document Count.wfx Global Tokens GlobalTokens True Token "Folder ID" of Folder with lowest Document Count Token "Document Count" lowest document Count Folder ID 0 Document Count 100000000 For Each Value ForEachValue True For each folder ID 0 1 2 3 4 5 Find Entries FindEntries True Find Entries in Folder with ID = Current Value b851717f-0083-414d-a10e-16cf30613349 %(ForEachValue_Current Value) Conditional Decision ConditionalDecision True Runs the FIRST branch that has satisfied conditions. b851717f-0083-414d-a10e-16cf30613349 If Current Folder Document Count < Global Document Count IfCurrentFolderDocumentCountGlobalDocumentCount True Contains activities that will run if the branch conditions are satisfied. FindEntries %(Document Count) Update Global Document Count and Folder ID UpdateGlobalDocumentCountandFolderID True Creates new tokens and updates the values of existing tokens. Document Count Document Count GlobalTokens %(FindEntries_Result Count) Folder ID Folder ID GlobalTokens %(ForEachValue_Current Value) Else Do Nothing ElseDoNothing True Contains activities that will run if the branch conditions are satisfied. True True True True True false 1.0