on 04-09-2014 11:15 AM
Hello,
I was trying to create Trigger to send email when a job was in "Canceled", "Error" , "Killed" and "Unknown" status.
However, emails were successfully sent for all statuses except "Cancel". I'm using "Before Job Post Running" as Trigger Point. Is this the correct Trigger Point for checking job with "Canceled" status?
Can somebody pls advise me on how to go about this one?
Thanks.
Does it work when you get the JobStatus output as string and check against "A", which is the String equivalent of canceled status in job status table?
thanks
Nanda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nanda,
No email send as well when i change the job Status as String for Job Post Running Trigger.
I created another Trigger using Trigger Point "Before Job On Change". When i submited a scheduled Job#A, a System_Mail_Send was created by this trigger in "Scheduled" status. When i canceled Job#A, the System_Mail_Send created by the trigger ("Before Job On Change".) was canceled as well.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.