Page 1 of 1

Email Notification

Posted: Tue Oct 07, 2008 8:38 am
by somu_june
Hi,

I have sequencer job . I had two command activities, in command tab I provided command: test -s and parameter tab I provided the file name and in second command activity I did the same thing to check whether second file exists or not. And I had sequencer activity and last I had email notification activity. In attachment Iam attaching file1 and file2 . My problem here is if there is no data in file1 and there is a data in file2 . Iam getting a warning in email saying cannot open attachment file file1 and with .dat attachment. I dont want that warning and .dat extension file in my email. Is there way I can eliminate that warning.



Thanks,
Somaraju.

Posted: Tue Oct 07, 2008 9:42 am
by chulett
If you want to continue to use the Notification Activity stage, then the only way to not have that warning is to ensure both files exist. That or use multiple stages, one for each combination of existence.

That our write your own email routine that knows that one or both attachments may not exist and handles them accordingly.