Gateway condition on a File
i've tried to create a condition on a gateway to check if the file contains some uploaded files.
Condition: reportFile is not empty
When i execute that condition i get the error: Specified cast is not valid.
What's wrong with my condition? A file is a list and this list could be empty?!