Hi Guys,
======CONTEXT=======
I have an indexing app that is working in the background. I needed some kind of identification that says when the indexing is done.
I've prepared a flow that checks all files in the folder (FileList) > counts total file size (FolderSizeA) > repeats last step (FolderSizeB) > compares if A is not equal B > if true, then it means that the indexing is still in progress and files are getting bigger > if false, then it means that folder size is still equal and indexing finished.

======ERROR======
It always works for a couple of items but sometimes it gives me this error: Property 'Size' of variable 'File' couldn't be evaluated.
Correlation Id: d0074118-27d8-44f0-8a37-9bf6be8dd556


=====QUERIES=====
- Any idea what might be causing this issue?
- Can you somehow count folder size so I don't have to loop through each file?
- Do you think of a better solution to identify if the indexing is still running?
Thanks!