To use global task parameters to make error reporting through Next Action email messages easier, set up the following name/value pairs as global task parameters.
ERR_EMAIL = |
single email address or a comma-separated list of email addresses) |
ERR_SUBJECT = |
ERROR - [Taskname] - [hh]:[tt]:[ss] |
ERR_MESSAGE = |
At [yyyy]-[mm]-[dd] [hh]:[tt]:[ss], task '[TaskName]' encountered error #[ErrorCodeFile] - [ErrorDescriptionFile] - while transporting '[OrigName]' |
On each task you want to send this error, set up a per-file, on errors Next Action that sends email to "[PARM:ERR_EMAIL]" with subject "[PARM:ERR_SUBJECT]" and a message "[PARM:ERR_MESSAGE]".
See also: