on 06-18-2015 9:49 PM
Hello,
I am attempting to pass specific support info from a failed job to the job definition alert source (alerting module) email body. I am successfully picking up things such as ${jobDefinition} and ${newStatus}.
The parameter would include a string value in the originating job definition - example "This job is critical and requires attention"
Anyone know how I achieve this?
Thanks!
As per documentation, the following should work:
To mix REL and non-REL substitution parameters, proceed as follows:
='Job ${jobId} has a parameter Param1 with the following value: '+parameters.Param1
thanks
Nanda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nanda,
When I pass this to the operator message I am able to get the param1 to show in the email subject.
='Job ${jobId} has a parameter Param1 with the following value: '+parameters.param1
I am unable howerever to get this to do the same in the email body. I am using html for the source email... here is an example -
<html>
<head>
<title>CPS Notification</title>
</head>
<p>
='Job ${jobId} has a parameter Param1 with the following value: '+parameters.param1
<p>
</body>
</html>
do I have something wrong with the syntax? This is how I see it in the email =
"Job 123456 has a parameter Param1 with the following value: '+parameters.param1"
Thanks,
Brian
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.