Issues regarding Notification Activity
Posted: Sat Apr 22, 2006 9:15 am
Hi
I have two Notification Activity in my Job sequencer- one which send mail in case of Success and one in case of Failure to different email address.
I have the option to add the job status in th email enabled:
In case of success of the Job sequencer run, I am getting this message
Question 1:
But I have two Execute Routine Activity(running a shell script) in the Sequencer along with two Job activity. Why I am not getting the status report of those two Execute Routine Activity in the above email. How can I have the status report of those two in the email notification?
Question 2:
While in failure I am getting a mail with only the text- tough I have the option to add the Log in the body of the mail. I want the status of the job which failed and the email should tell me which job failed. The Error message was like:
Question 3:
I also wanted to add in the subject the name of the job that failed in case of failure email. Is it possible? DO you think I should write my own routine for this. If so could you give some example of that.
Thanks for your help in advance. :D
I have two Notification Activity in my Job sequencer- one which send mail in case of Success and one in case of Failure to different email address.
I have the option to add the job status in th email enabled:
In case of success of the Job sequencer run, I am getting this message
Code: Select all
Description : Loads the Registry Infile >> Stg_Registry table >> Tmp_Registry table >> Registry
Success: WL_SeqRegistry ran successfully.
**************************************************
STATUS REPORT FOR JOB: WL_InpToStgRegistry
Generated: 2006-04-21 17:33:56
Job start time=2006-04-21 17:33:55
Job end time=2006-04-21 17:33:56
Job elapsed time=00:00:01
Job status=1 (Finished OK)
Stage: RegistryFrmt_Xfm, 101 rows input
Stage start time=2006-04-21 17:33:56, end time=2006-04-21 17:33:56, elapsed=00:00:00
Link: In_File_Registry, 101 rows
Link: Out_Xfm_RegistryFrmt, 101 rows
Link: Out_Xfm_Err_RegistryFmt, 0 rows
**************************************************
STATUS REPORT FOR JOB: WL_StgToTmpRegistry
Generated: 2006-04-21 17:33:57
Job start time=2006-04-21 17:33:56
Job end time=2006-04-21 17:33:57
Job elapsed time=00:00:01
Job status=1 (Finished OK)
Stage: RegistryFrmt_Xfm, 101 rows input
Stage start time=2006-04-21 17:33:56, end time=2006-04-21 17:33:56, elapsed=00:00:00
Link: In_Table_StgRegistry, 101 rows
Link: Out_Xfm_RegistryFrmt, 101 rows
Link: Out_Xfm_ErrRegistryFmt, 0 rows
But I have two Execute Routine Activity(running a shell script) in the Sequencer along with two Job activity. Why I am not getting the status report of those two Execute Routine Activity in the above email. How can I have the status report of those two in the email notification?
Question 2:
While in failure I am getting a mail with only the text- tough I have the option to add the Log in the body of the mail. I want the status of the job which failed and the email should tell me which job failed. The Error message was like:
Code: Select all
************WL_SeqLoadRegistry Failed***************
Description : Loads the Registry Infile >> Stg_Registry table >> Tmp_Registry table >> Registry
Error: WL_SeqRegistry failed to run.
I also wanted to add in the subject the name of the job that failed in case of failure email. Is it possible? DO you think I should write my own routine for this. If so could you give some example of that.
Thanks for your help in advance. :D