Page 1 of 1

Email Notification Job Run time parameter

Posted: Wed Nov 11, 2009 2:49 am
by senthilmp
Hi,

Am using Notification stage to send a mail. I need to attach the JobRunTime in the email Body. I tried to use the DSJobStartTime , but its not working.

Is there anyway we can attach the JobRunTime in the email body?

Thanks,
Senthil MP

Posted: Wed Nov 11, 2009 7:31 am
by chulett
The stage does not support parameters in the body other than the handful of error related variables as documented. You'd need to write your own DSSendMail interface routine to make the body truly dynamic.

Posted: Wed Nov 11, 2009 7:39 am
by senthilmp
Pls suggest me how to write DSSendMail interface routine,

Posted: Wed Nov 11, 2009 7:50 am
by chulett
There is a routine called DSSendMail and another called DSSendMailTester that calls it that will illustrate things for you. Copy and adapt the latter to your need.