XML Reader/File Reader fail when file is empty

Trying to read in a loop a lot of XML files. The node fails if the file is empty.
How do I get it to just make an empty cell, and keep the path value, so at the end of the loop I could filter the empty files and find them?

Tried Try/catch but doesn’t seem to work.


Hi @Maya -

This seems like a perfect use case for Try/catch, so it’s too bad that it’s not working for you yet. Can you upload your workflow with some dummy data so others can try to help you troubleshoot?

This workflow from @ipazin is one I’ve used to teach the concept of Try/catch in some of our courses, and seems close to what you’re attempting to do:


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.