Hi,
I am creating a process to check the inputted file based on different criteria and at the end, gather all results in one file and email the file to users to take actions.
I was able to find solutions in the community to add a logic that only output the file when there's records. It seems worked, except the email will be sent out multiple times. it looks like depending on how many records in the file... Would anyone be able to help? Thanks!

Betty