Trying to create a validation on file size

0
Hi all, I have an entity 'expenses line' that I want to be able to associate with either an image or a document, but never both. (I'm happy to hear if there's an easier way to do this). I am making a microflow where on save it checks whether one of the two entities (image, or document) is empty -this doesn't work because I created new objects of both to initialise the dataview. I also tried retrieving both items and creating variables out of their sizes and checking if one or the other =0 -this doesn't work because I suspect the new object has a basic file size (which I can't find). So any ideas on how to accomplish this?  
asked
1 answers
3

Hi Neil,

You can use the default attribute 'hasContents' if I understand your issue correctly

answered