cancel
Showing results for 
Search instead for 
Did you mean: 

Send a error file using the Email sender

Kullay
New Contributor III

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

6 REPLIES 6

dmiller
Admin Admin
Admin

Kullay
New Contributor III

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,

image

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

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.

20%20AM

@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.

image

Thanks,
kullayappa