Hey Markus, If I just wanted to create a list (CSV,JSON,etc) of the folders in question that are empty instead of deleting them, what would be the best way to do so. I followed your video to create the flow and stopped adding actions after the Compose Chunk, just so I could check the raw output but I am unable to save the flow. It is giving me an error "The input parameter(s) of operation 'Do_until' contains invalid expression(s). Fix invalid expression(s) for the input parameter(s) of operation 'Do_until'"
@MarkusSchiller19 сағат бұрын
Hi! It's a bit hard to know exactly where is the problem as the error messages of PowerAutomate are not always telling you exactly the problem, but I'll try. Maybe there's just a typo somewhere. The "Do until" action has two rectangle symbols that encapsulate the whole action and unlike the other actions, you can set the parameters in the lower one at the end of this action. If you have built your flow like the one in this video then you should use the following parameters: In the "Loop until" parameter: variables('breakLoop') is equal to true In the "Count" parameter: 5000 In the timeout parameter: P1D If the "Do until" action works, then you can go on with how I built the flow, except that you will need to initialise another array variable, that will store your csv, or json entries. Let's just call it "emptyListArray" or something like that. And instead of the "Delete item" action from my flow you simply add the "Append to array variable" and insert the function "item()", which will add the current item of the chunked array.