How to send Email as current response file

Hi All,

We are trying to send an email when we are getting an error. When we get an empty file we need to skip and we are not supposed to send a mail. The mail should be only triggered when we receive any error. But we are getting mails even when there is no error.

Need your guidance to resolve this issue.

image

Thanks,
kullayappa

Have you looked at this: Performing an Action when there is no data ?