I have to check the file I am uploading for e.g .txt or .doc is not empty, what is the process of checking the empty file?
Discussion posts and replies are publicly visible
Last I checked, Appian automatically disallows an empty file from being uploaded in the file upload field. Even if that's not true, all you need to do is set a validation for the uploaded file checking to see whether its size = 0.