I have a single value in a file. I have to read that file and send an e-mail to the group if that value is not equal to '0'. I have to send the value in the e-mail body.
Thank you in advance....
send an e-mail if value is not equal to 0
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Sequence.
Execute Command activity to read the file, with a custom trigger based on the command's output leading to a Notification or Routine activity.
Execute Command activity to read the file, with a custom trigger based on the command's output leading to a Notification or Routine activity.
Last edited by ray.wurlod on Mon Aug 22, 2011 3:30 pm, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Has the 8.x version opened up the email body in the notification stage such that it can support parameters or variable data of any kind? Last I knew, if you wanted data in the body you had to write a routine to call DSSendMail() rather than use the Notification Activity stage.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Re: send an e-mail if value is not equal to 0
As chulett said, routine to call DSSendMail() is easy.
In Sever jobs you can send it inside the Transformer using built in routine to send email where as in PX we don't.
DS User
In Sever jobs you can send it inside the Transformer using built in routine to send email where as in PX we don't.
DS User