There is an
easy way too do that. I’ve created an example to make it easier to explain. I’ve
tested it in a v12 environment and it worked well. So far as I
know this feature is not available in v9, hopefully you have the option to go
to the latest version soon. Please have a look:
1) Add the
external file at the “Output” tab of the job:
2) Set the variable
“&UC_CAUSE_NR#” to the current RunID in the process tab and let the job
fail, for test reason I uses “exit 1”:
the notification object – which sends the external file – in the “Runtime” tab
of the job. It will be executed whenever the jobs ends with a return code greater
sure that the “&UC_CAUSE_NR#” variable is specified in the notification
object and “Externals files” is selected:
the example object attached to this post as well.
Hope that helps.