Hi,
I developed a job which creates a file with date appending its name.
something like filename_2008-01-15.txt filename_2008-01-08.txt so on..
I have used a notification activity stage in sequence job and would like to attach these files.
how do I do that ?
I tried using Job parameter pram1 with value filepath/filename_#DSJobStartDate#.txt
and mentioned this param1 as file attachment i.e #param1#
but its not recognizing #DSJobStartDate#.
where did I went wrong ?
Email Files From scheduled jobs
Moderators: chulett, rschirm, roy
Email Files From scheduled jobs
Thanks & Regards,
Sri
Sri
Try giving the following as the parameter value inside the job activity stage.
Code: Select all
filepath/filename_:OCONV(Date(), "D-YMD[4,2,2]"):.txt
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.