cancel
Showing results for 
Search instead for 
Did you mean: 

file name in alert email

Former Member
0 Kudos

hello,

is there any way to send the sender file name in the alert email body(Long Text)? any container or system variables to use at run time?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

Using standard alert frame work it is not possible but you can achieve this using mail adapter like add one more receiver as a mail and use dynmic confirguration udf to get file name from sender folder and pass it.

This should work.

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks Udo and Raj;

  I thought i can make use of any system variable or container in standard alert, looks like that is not possible. thanks for you help.

udo_martens
Active Contributor
0 Kudos

Hi,

this is possible with a Business Process. You ll send the message from file adapter to a Business Process and create first a mapping transformation, which is reading the header (dynamic configuration) and storing the file name inside a container variable.

Define for each critical step an exception (mapping and sending) and jump in case of errors into an exception branch, where you put a control step raising the alert. You can use dynamic container variables there for creating the alert text.

Regards,

Udo