Send a error file using the Email sender

Hi All,

When we are executing the main pipeline, we are getting an error and the same error we are storing in Error handling pipeline file writer.

We need to send an Email notification with that error file as an attachment.

Thanks,
kullayappa

See Send a error file using the Email sender as a Email Notification.

Hi dmiller,

Thanks for update, still we are facing below issues, please help me on this.
When we are using the as per the document format for attachement, we are not able to attached the file,

2 Step: When we are used this file name <<TestingEmail.json>> Its getting the old file, not current file.

Thanks,
kullayappa

@Kullay There’s a race condition in this pipeline design if the File Writer Snap is writing to TestingEmail.json. Since the File Writer and Email Sender Snaps are disconnected, their relative order of execution isn’t guaranteed. I would suggest connecting the File Writer’s output view to the Email Sender’s input view as shown below.

1 Like

@rohithmadhavan,
https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1438208/Email+Sender
as per the document, I have followed I am getting current file but it’s getting Empty files also.

We are expecting only error time only.

Thanks,
kullayappa

I don’t quite understand this, some context on what you’re trying to achieve would be helpful. An empty document will result in an empty file, are there any empty documents flowing into this pipeline?

@rohithmadhavan,

Thanks for your reply, please help me on this issue.
we are trying execute Integration pipeline, In this integration pipeline attached the Error-handling pipeline, In this error handling pipeline we are reading the error files.
we need to send the email notification only error files, not empty files.

image

Thanks,
kullayappa