Email notification using Oracle Job

Hi,
I am trying to setup a email notification job using Oracle 11gR2. Per online documnetation I have done the following setup, but the email notification job is failing. If you guys have any ideas, please assist.
Step 1:
BEGIN
  DBMS_SCHEDULER.set_scheduler_attribute('email_server', 'oracle.kotaise.com:25');
  DBMS_SCHEDULER.set_scheduler_attribute('email_sender', '[email protected]');
END;
Step2:
BEGIN
  DBMS_SCHEDULER.create_job (
    job_name        => 'email_notification_job',
    job_type        => 'PLSQL_BLOCK',
    job_action      => 'BEGIN NULL; END;',
    start_date      => SYSTIMESTAMP,
    repeat_interval => 'freq=minutely; bysecond=0',   
    enabled         => TRUE);
END;
Step 3:
BEGIN
DBMS_SCHEDULER.ADD_JOB_EMAIL_NOTIFICATION (
  job_name   =>  'email_notification_job',
  recipients =>  '[email protected]',
  sender     =>  '[email protected]',
  subject    =>  'Scheduler Job Notification-%job_owner%.%job_name%-%event_type%',
  body       =>   '%event_type% occurred at %event_timestamp%. %error_message%',
  events     =>  'JOB_FAILED, JOB_BROKEN, JOB_DISABLED, JOB_SCH_LIM_REACHED');
END;
Step 4:
I have created the following  job that executes a package which executes a package "test_package.pdata". This package is not created yet, becuase I wanted to see whether the email notification is working or not. As expected the "TEST_JOB" is failed becuase of missing package. But the email notification job "'email_notification_job'", which runs every minute, failed to send an email notification.
BEGIN
  SYS.DBMS_SCHEDULER.CREATE_JOB
       job_name        => 'test_job'
      ,start_date      => SYSTIMESTAMP
      ,repeat_interval => 'freq=minutely; bysecond=0'
      ,end_date        => NULL
      ,job_class       => 'DEFAULT_JOB_CLASS'
      ,job_type        => 'PLSQL_BLOCK'
      ,job_action      => 'BEGIN test_package.pdata; END;'
      ,comments        => NULL
      ,enabled         => TRUE
end;
I have queried the DBA_SCHEDULER_NOTIFICATIONS table, and I see that the email notification job did not started.
JOB_NAME                                      RECIPIENT                     EVENT
EMAIL_NOTIFICATION_JOB      [email protected]      JOB_FAILED
EMAIL_NOTIFICATION_JOB      [email protected]      JOB_BROKEN
EMAIL_NOTIFICATION_JOB      [email protected]      JOB_SCH_LIM_REACHED
EMAIL_NOTIFICATION_JOB      [email protected]      JOB_DISABLED
Thanks

Hi,
The DBA_SCHEDULER_NOTIFICATIONS show the notification settings, not the notifications that were sent. To see that, run the follwoing query:
select queue,
       msg_state,
       enq_time,
       enq_user_id,
       deq_time,
       deq_user_id,
       t.user_data.event_type,
       t.user_data.object_owner,
       t.user_data.object_name,
       t.user_data.event_timestamp
  from sys.AQ$SCHEDULER$_EVENT_QTAB t;
Does it show anything for your job?

Similar Messages

  • EMAIL NOTIFICATION FOR DBMS_SCHDEULER JOB STATUS IN ORACLE 10G

    Hi All,
    I want to configure email notification for the job which is running through BUMS_SCHEDULER in oracle 10g
    Please provide the steps for configuration of the email notification.
    Thanks
    Mak

    Is your problem that you do not know how to send an email from Oracle 10g? If so then you use the UTL_MAIL package.
    Here's an example of calling it as part of a scheduler chain, not strictly what you're asking for but this lets you define success and failure steps and call each one based on the status of previous steps.
    BEGIN
    DBMS_SCHEDULER.CREATE_PROGRAM (
       program_name           =>'prg_Export_Success',
       program_type           =>'PLSQL_BLOCK',
       program_action         =>q'[BEGIN
                                    UTL_MAIL.SEND (
                                       sender      => 'who_its_from',
                                       recipients  => '[email protected]',
                                       subject     => 'subject line',
                                       message     => 'the message',
                                       mime_type   => 'text/plain; charset=us-ascii');
                                    END;]',
       number_of_arguments      => 0,
       enabled                  => TRUE,
       comments                 => 'Email success');
    end;
    BEGIN
    DBMS_SCHEDULER.DEFINE_CHAIN_STEP (
       chain_name      =>  'Export',
       step_name       =>  'stp_EXPORT_SUCCESS',
       program_name    =>  'PRG_EXPORT_SUCCESS');
    END;
    /... then define appropriate rules.

  • Email notification for failed Jobs

    Hello,
    We are using Oracle Database 10gR2 (10.2.0.2.0) on AIX 5.3
    How can I setup email notifications for Failed Jobs ?
    Here is what I did:
    1. Setup email and Test mail (working)
    2. Setup email address
    3. Create schedule for notification
    4. Create rule for Failed Job Count and select Send Email
    But when the job fails, I do not get the email
    I think I am missing something here.. Can you please help ?
    Thanks a lot :)

    Hi,
    Does up to the Below Three.. are they working properly..
    1. Setup email and Test mail (working)
    2. Setup email address
    3. Create schedule for notification (Does this working..try to test then go for next step)
    Coming to Step 4:-
    4. Create rule for Failed Job Count and select Send Email
    What do you mean by Failed Job Count .. ??
    what is the Logic you are following to find the latest Failed Job.??
    - Pavan Kumar N

  • Error on Workflow email notification in oracle 11.5.10.2

    Anyone seen similiar error on Workflow email notification in oracle 11.5.10.2
    UNEXPECTED:[fnd.wf.bes.server.SystemLoader.getLocalSystem]:Caching disabled due to JTF exception: oracle.apps.jtf.base.resources.FrameworkException: CacheComponent not registered (KEY=FND_BES_SYSTEM_CACHE) (APP=FND)
    UNEXPECTED:[fnd.wf.bes.server.AgentLoader.getAgent]:Caching disabled due to JTF exception: oracle.apps.jtf.base.resources.FrameworkException: CacheComponent not registered (KEY=FND_BES_AGENT_CACHE) (APP=FND)

    I do not see any similar issues reported in MOS website that could be relevant to Workflow.
    Can you find any errors in the database log file?
    Please run the diagnostics scripts in these docs and see if it helps.
    Troubleshooting Oracle Workflow in Applications 11i [ID 262011.1]
    11i: Oracle Workflow Cartridge (WF): Workflow Java Mailer Diagnostic Test [VIDEO] [ID 1148948.1]
    11i: Oracle Workflow Cartridge (WF): Workflow Health Check Diagnostic Test [VIDEO] [ID 1148953.1]
    11i : Oracle Workflow Cartridge Workflow Java Mailer Setup Test [ID 274764.1]
    If the diagnostics scripts did not help then I would suggest you log a SR.
    Thanks,
    Hussein

  • Email Notifications Using Macro's

    Hi Experts
    What is the prerequesite for Sending email notifications using Macros in the APO DP & SNP, as we have the Document Function(Macro Element) in the Macro Builder.
    How to use Document Macro Element?
    Sai

    Hi Sai,
        We have created same macro for client requirement. Just check the following logic Take appropriate logic & apply.
    Logic:
    IF key figure 1 > ( 5% of Key figure 2 + Key figure 2) then system show warring Massage,Alert & send to Users.
    IF key figure 1 > ( 10% of Key figure 2 + Key figure 2) then system show Error Massage,Alert & send to Users.
    Macro:
    New macro
    step1: calculation : ( 1 Iterations : W 25.2008; W 25.2008 )
    Row: New macro aux. row1 ( Frm W 25.2008 ) =
    ( ( ( 5 / 100 ) *
    Row: Additional Field 2 ( Frm W 25.2008 )
    ) +
    Row: Additional Field 2 ( Frm W 25.2008 )
    Row: New macro aux. row2 ( Frm W 25.2008 ) =
    ( ( ( 10 / 100 ) *
    Row: Additional Field 2 ( Frm W 25.2008 )
    ) +
    Row: Additional Field 2 ( Frm W 25.2008 )
    step : send message : ( 1 Iterations : W 25.2008; W 25.2008 )
    IF
    New condition
    Row: Additional Field 1 ( Frm W 25.2008 ) greater than Row: New macro aux. row1 ( Frm W 25.2008 )
    IF
    New condition
    Row: Additional Field 1 ( Frm W 25.2008 ) less than Row: New macro aux. row2 ( Frm W 25.2008 )
    Information ( warning )
    MAIL WITH WARNING
    ELSEIF
    New condition
    Row: Additional Field 1 ( Frm W 25.2008 )
    greater than
    Row: New macro aux. row2 ( Frm W 25.2008 )
    Information ( error )
    MAIL WITH ERROR
    ENDIF
    ENDIF
    Hope this will help you...
    Regards
    Sujay

  • Cannot Send Email Notification Using Stored Procedure.

    Hi Friends,
    I tried to execute this job scheduler...
    begin
    dbms_scheduler.create_job(
    job_name => 'ILMS_JOB_SCHEDULE'
    ,job_type => 'PLSQL_BLOCK'
    ,job_action => 'begin ilms.check_reminder(); end; '
    ,start_date => SYSTIMESTAMP
    ,repeat_interval => 'FREQ=DAILY'
    ,enabled => TRUE
         ,end_date => NULL
    ,comments => 'Ilms job schedule for notification.');
    end;
    However, since the effect is too long I rescheduled the frequency to be every one minute in this set attribute...
    BEGIN
    DBMS_SCHEDULER.SET_ATTRIBUTE(
              name => 'ILMS_JOB_SCHEDULE'
              ,attribute => 'repeat_interval'
              ,value => 'FREQ=MINUTELY;INTERVAL=1'
    DBMS_SCHEDULER.DISABLE('ILMS_JOB_SCHEDULE');
    DBMS_SCHEDULER.ENABLE('ILMS_JOB_SCHEDULE');
    END;
    Check Reminder is the stored procedure invoked by job scheduler to check values in database columns before sending email notification to the respective recipients' email address and also the format of the email notification to be sent to the recipients...
    CREATE OR REPLACE PROCEDURE check_reminder AS
    NO number;
    CURSOR emp_cur is
    select * from pergerakan_ks where TASK_FLAG=7 and TASK_STATUS='InProgress';
    emp_rec emp_cur%rowtype;
    email_to varchar2(200);
    default_email varchar2(200);
    mesg varchar2(4000);
    no_kes varchar2(100);
    subj varchar2(4000);
    kpi number;
    crlf VARCHAR2( 2 ):= CHR( 13 ) || CHR( 10 );
    BEGIN
    default_email:='@abc.com.my';
    FOR emp_rec in emp_cur
    LOOP
    if emp_rec.PKS_TKH_TERIMA is null then
    dbms_output.put_line('count day ' || round(sysdate - to_date(emp_rec.pks_tkh_hantar)) || crlf || crlf);
    if round(sysdate - to_date(emp_rec.pks_tkh_hantar)) >3 then
    email_to:=emp_rec.pks_penghantar_id||default_email;
    select b.KS_BIL_NO into no_kes from kertas_siasatan b where b.KS_ID = emp_rec.pks_ks_id;
    subj:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    mesg:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    dbms_output.put_line('Sending email to ' || email_to || ' subject: ' || subj);
    dbms_output.put_line('update old pergerakan pks_id : '||emp_rec.pks_id);
    update pergerakan_ks set task_status='Done' where pks_id=emp_rec.pks_id;
    dbms_output.put_line('insert new pergerakan ks : ');
    insert into pergerakan_ks(pks_id,pks_ks_id,pks_km_id,pks_penghantar_id,pks_tkh_hantar,
    pks_penerima_id,pks_tkh_terima,task_name,task_owner,task_status,task_flag,fb_id)
    values(pks_id_seq.nextval,emp_rec.pks_ks_id,emp_rec.pks_km_id,
    emp_rec.pks_penghantar_id,sysdate,
    null,
    null,emp_rec.task_name,
    emp_rec.pks_penghantar_id,
    'InProgress',6,emp_rec.fb_id);
    commit;
    e_mail_message(email_to,email_to,subj,mesg);
    end if;
    end if;
    if emp_rec.PKS_TKH_TERIMA is not null then
    dbms_output.put_line('emp_rec.pks_km_id ' || emp_rec.pks_km_id || crlf);
    select c.KM_KPI into kpi from keluar_masuk_ks c where c.KM_ID = emp_rec.pks_km_id;
    no := round(sysdate - to_date(emp_rec.pks_tkh_terima))-kpi;
    dbms_output.put_line('count day - kpi' || no || crlf);
    dbms_output.put_line('kpi ' || kpi || crlf);
    if no = 1 then
    email_to:=emp_rec.pks_penghantar_id||default_email;
    select b.KS_BIL_NO into no_kes from kertas_siasatan b where b.KS_ID = emp_rec.pks_ks_id;
    subj:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    mesg:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    dbms_output.put_line('Sending email to ' || email_to || ' subject: ' || subj);
    email_to:=emp_rec.task_owner||default_email;
    subj:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    mesg:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    dbms_output.put_line('Sending email to ' || email_to || ' subject: ' || subj);
    e_mail_message(email_to,email_to,subj,mesg);
    e_mail_message(email_to,email_to,subj,mesg);
    end if;
    if no = 3 then
    select b.KS_BIL_NO into no_kes from kertas_siasatan b where b.KS_ID = emp_rec.pks_ks_id;
    email_to:=emp_rec.task_owner||default_email;
    subj:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    mesg:='Reminder untuk Membuat Tindakan Bagi No Kes '||no_kes;
    dbms_output.put_line('Sending email to ' || email_to || ' subject: ' || subj);
    e_mail_message(email_to,email_to,subj,mesg);
    end if;
    end if;
    END LOOP;
    END;
    E_mail_message is the stored procedure invoked by the check_reminder to tell scheduler information of the connection and the email address of the recipients...
    CREATE OR REPLACE procedure
    e_mail_message
    from_name in varchar2,
    to_name in varchar2,
    subject in varchar2,
    message in varchar2
    is
    l_mailhost VARCHAR2(64);
    l_from VARCHAR2(64);
    l_to VARCHAR2(64);
    crlf VARCHAR2( 2 ):= CHR( 13 ) || CHR( 10 );
    l_mail_conn UTL_SMTP.connection;
    mesg VARCHAR2( 4000 );
    BEGIN
    select a.SERVER into l_mailhost from email_setting a where a.SERVER is not null;
    select a.USERNAME into l_from from email_setting a where a.SERVER is not null;
    --UTL_SMTP.open_data(l_mail_conn);
    mesg:= 'Date: ' || TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss' ) || crlf ||
    'From: <'||l_from||'>' || crlf ||
    'Subject: ' ||subject|| crlf ||
    'To: '||to_name || crlf || '' || crlf ;
    mesg:=mesg||message;
    l_mail_conn := UTL_SMTP.open_connection(l_mailhost, 25);
    UTL_SMTP.helo(l_mail_conn, l_mailhost);
    UTL_SMTP.mail(l_mail_conn, l_from);
    UTL_SMTP.rcpt(l_mail_conn, to_name);
    UTL_SMTP.data(l_mail_conn, mesg);
    UTL_SMTP.quit(l_mail_conn);
    END;
    I tried to execute to execute the e_mail_message procedure but received this error. Also, no notification sent to the email address...
    ORA-29279: SMTP permanent error: 501 5.1.3 Invalid address
    ORA-06512: at "SYS.UTL_SMTP", line 21
    ORA-06512: at "SYS.UTL_SMTP", line 99
    ORA-06512: at "SYS.UTL_SMTP", line 241
    ORA-06512: at "ILMS.E_MAIL_MESSAGE", line 33
    ORA-06512: at line 13
    Please help so that I can receive the email notification into my email...thanks in advance for your time..

    user13281540 wrote:
    ORA-29279: SMTP permanent error: 501 5.1.3 Invalid address
    ORA-06512: at "SYS.UTL_SMTP", line 21
    ORA-06512: at "SYS.UTL_SMTP", line 99
    ORA-06512: at "SYS.UTL_SMTP", line 241
    ORA-06512: at "ILMS.E_MAIL_MESSAGE", line 33
    ORA-06512: at line 13This is not an Oracle error - this is the mail server saying "+hey, I don't like that e-mail address you are supplying, I'm not accepting it!+".
    If you look at RFC821 (Request For Comments memo 821 describes the SMTP specifications), you'll see that the sender and recipient needs to be supplied in the format +<[email protected]>+, e.g. +<[email protected]>+.
    I have found that not all SMTP servers are equal in this regard. Some may insist on the brackets around the address, some may not.
    You need to confirm the format of the addresses you use in the "+MAIL FROM+" and "+RCPT TO+" commands.. and ensure that these formats are accepted by your SMTP server - and if not, change your code to use an acceptable format.
    The easiest way to do this is using telnet - and interacting directly and manually with the server. SMTP is a clear text protocol and easy to use manually. Try it. It is the best way to test SMTP interaction and validate the approach and SMTP commands and arguments used by your code.

  • Modify Email Notifications Used in Workflow

    We are using content services with workflow and we have email notifications configured to be sent out to approvers when new document or delete requests are generated. The problem is, we are not using Oracle Mail, so the email that is generated contains links and attachments that are designed to execute in the Oracle Mail client, but do not work when opened and clicked on in our mail client.
    I have read a few posts that suggest the email contents can be edited and customized using workflow builder, but I have yet to determine how this is done, or if there is any documentation pertaining to how this accomplished.
    Anyone that can point me in the right direction? Thanks in advance!

    I tried the mentioned approach of creating a 2 step workflow which has the following steps :
    Created a criteria workflow .
    Added following steps : -Reject Notification step(Edit/reveiw Step)-- added the condition -if wfAction like reject --notify the author with the custom template else move to next step with following piece of code :
       <$if wfAction like "REJECT"$> 
      <$wfSet("wfJumpEntryNotifyOff", "1")$>    
      <$wfNotify(dDocAuthor,"user","MY_WF_REJECT_MAIL")$>     
      <$wfSet("wfJumpName", "Test")$>
      <$wfSet("wfJumpEntryNotifyOff", "1")$>
      <$wfSet("wfJumpTargetStep", wfCurrentStep(1))$>
      <$else$>                            
      <$wfSet("wfJumpEntryNotifyOff", "1")$> 
      <$wfSet("wfJumpName", "Test1")$>         
      <$wfSet("wfJumpTargetStep", wfCurrentStep(1))$>
      <$endif$>
                                              -Approval step-(Edit/reveiw Step)-- in this reviewer is notified for the approval.
    Now I'm stuck in --when the reviewer rejects the content both custom and OOTB mails are being sent though I have used <$wfSet("wfJumpEntryNotifyOff", "1")$> in each step.
    Now I'm not able to figure out what exactly needs to be done to suppress the OOTB notification.
    Thanks,

  • Automated report email notification using SCCM 2012

    For SCCM mail notification using Office365 exchange.
    Is smtp rely required.. Please suggest and provide link 

    duplicate thread.you have also asked the same question here http://social.technet.microsoft.com/Forums/systemcenter/en-US/cccd6760-0416-4fed-b5df-d19fac00035f/automated-sccm-report-send-to-email-addresssccm-2012?forum=configmgrgeneral#0e84de61-c872-44fe-8544-f6b39450a44d
    Eswar Koneti | Configmgr blog:
    www.eskonr.com | Linkedin: Eswar Koneti
    | Twitter: Eskonr

  • Drop/Create sequence using Oracle Job Scheduler

    IDE for Oracle SQL Development: TOAD 9.0
    Question: I am trying to do the following:
    1. Check if a certain sequence exists in the user_sequences table
    2. Drop the sequence if it exists
    3. Re-create the same sequence afterward
    All in a job that is scheduled to run daily at 12:00 AM.
    What I would like to know is if this is even possible in the first place with Oracle jobs. I tried the following:
    1. Create the actual "BEGIN...END" anonymous block in the job.
    2. Create a procedure that uses a dynamic SQL string using the same "BEGIN...END" block that drops and recreates the sequence using the EXECUTE IMMEDIATE commands
    But I have failed on all accounts. It always produces some sort of authorization error which leads me to believe that DDL statements cannot be executed using jobs, only DML statements.
    BTW, by oracle jobs, I mean the SYS.DBMS_JOBS.SUBMIT object, not the job scheduler.
    Please do not ask me why I need to drop and recreate the sequence. It's just a business requirement that my clients gave me. I just want to know if it can be done using jobs. If not, I would like to know if there are any work-arounds possible.
    Thank you.

    Please do not ask me why I need to drop and recreate the sequence. It's just a business requirement that my clients gave me. I just want to know if it can be done using jobs. If not, I would like to know if there are any work-arounds possible.Well, I won't ask you then, but can you ask your clients why on earth they would want that?
    Do they know that doing DDL 'on the fly' will invalidate the dependent objects?
    Best shot you can give at it is reset the sequence. And you could do it in a job, yes, as long as it's interval is during some maintenance window (no active users).
    Regarding resetting a sequence, you, (and your clients) should read this followup:
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:1119633817597
    (you can find lots more info on sequences and jobs by doing a search from the homepage http://asktom.oracle.com)
    Regarding the authorization errors: your DBA should be able to provide you the nessecary privileges.
    But in the end, this is something I'd rather not would like to see implemented on a production system...

  • Getting email notifications using EWS streaming notifications for a shared mail box

    Hi,
    I have been trying to get email notification for a shared mailbox using EWS streaming notifications. i am unable to get the notifications. Please can any one tell me how this task can be achieved.
    -Praveen

    I would recommend you to this link
    http://blogs.msdn.com/b/emeamsgdev/archive/2013/04/16/ews-streaming-notification-sample.aspx
    Mark Answered, if it solves your question and Vote if you found it helpful.
    Rohit Arora

  • Unable to send Email Notification for Oracle Identity Manager 11g for users

    Hi All,
    Can anyone please share a workaround to send email notifications when user is created through trusted recon in OIM 11G.Please Help Me out.
    \oim_user

    Hi
    Do you just create the user in OIM and not anywhere else?
    I have cofigured notification on the the target resources that i automatically assign to users as soon as they are created via trusted recon. Let say a user gets AD rersource. Ill notify whoever i want from there.
    Another way i did it was using the post eventHandler code. I call an email service to notify admins on the status of the recon and post recon eventhandlers. snippet below..
    tcEmailNotificationUtil emailNotificationUtil = new tcEmailNotificationUtil(dbReference);
    emailNotificationUtil.constructEmail(emailTemp);
    emailNotificationUtil.setBody(buildMailBody(message));
    emailNotificationUtil.sendEmail(toAddress);
    Let me know if this gives you an idea.

  • Email Notification using Gmail Server

    Hi all,
    is it possible to use a SMTP Server WITH authentication (configuring username and password) to send email notifications?
    I.e. Gmail Server.
    Thanks and regards

    for the greatest amount of control and future-proof setup, you could solve this by configuring a simple relay email server. unauthenticated requests would be sent here, and then relayed to GMail.
    However, we also released a patch to extend/override our own email service to provide authentication and other standard email configuration values.
    if you are on 6.1.0.2, you can download 6.1.0.2.13 (16315472). if you are on 6.1.0.3, you can download 6.1.0.3.2 (16738662). please check the patch list announcement for a quick link to all patches.
    This patch is not currently available in 6.1.1.0, but will be available in 6.1.1.1.
    thank you,
    -M

  • Not getting email notifications in Oracle AIA Exception handling

    We are using Oracle AIA Exception Handling feature. In the BPEL process , we have catch branches defined. From the catch brances we are invoking AIAAsyncErrorHandlerBPELProcess.
    In case of an exception , the instance of AIAAsyncErrorHandlerBPELProcess and AIAReadJMSNotification is being created. We have configured ns_emails.xml and user_properties.xml as per the documentation.
    We are not receiving any emails.
    I have tried a BPEL process with email activity. Email was sent from this process.
    Kindly let us know the issue.

    Please ensure you are following all 4 steps mentioned in this blog article, http://blogs.oracle.com/aia/2009/09/aia_error_notifications.html.
    If the issue still persists, please look for an error message in opmn log file and post it here.
    Regards
    Rohit

  • Email notification for GRID job output

    Is it possible to get the job output in the email notification? I can currently get the job status but not the output.

    it may be bit tricky to include in your email notifications, but its possible to trace back to GRID JOB output.
    1. Get job JOB execution ID
    2. Get Latest output_id from job execution ID.
    3. You can do a select from
    SELECT output FROM MGMT_JOB_OUTPUT WHERE output_id=&OUTPUT_ID
    its explained in metalink note
    Note 300690.1 - Troubleshooting Script for Problematic Job Output in EM 10g Grid Control

  • Sending email notification  using email template in OIM 11g

    HI all
    I want to send an email to the user in OIM 11 g using API's
    I have created a email template using oim 11g's design console.
    now i want to access that email template from design console and send mail to user.
    previously in OIM 9i there was class com.thortech.xl.dataobj.util.tcEmailNotificationUtil;
    which was having utilities method like send-email etc.where we were able to access the email template from design console and send mail to user.
    I want such API's to send mail to user in OIM 11g.Iam unable to find the tcEmailNotificationUtil class in OIM 11g;
    Thanks in advance
    Bipin patil

    Thanks kuldeep
    I have one single question,.
    I have gone through the 11g docs but it is not present in the oim 11g docs any reasons for it .

Maybe you are looking for

  • 512k?? Seriously?? Anyone know where I can get fas...

    Hey all, I live into the centre of Belfast and currently the max speed on the BT Broadband line coming into my home is 512k (diagnostics show an averaging out at 330kbps of actual speed). Since I do a lot of on-line gaming/ work/ attempts to watch TV

  • Problems re-installing Adobe Photoshop Elements 11

    Hello, I am having a problem re-installing my photoshop as you read above. I installed it on this computer in 2012. It worked very well, and I had no problems with it. Today I reset my computer, and it removed my photoshop, which I knew it was going

  • Need help connecting Dell U2713HM monitor to MacBook Pro

    What is the best way to connect a Dell U2713HM monitor to MacBook Pro OS 10.7.5 to maximize the resolution 2560 x 1440? I was using a VGA adapter on my old Viewsonic monitor that hooked into the Thunderbolt port, I think. When I use my old adapter wi

  • Certificate Services: CA-Xchg certificate renewal ignoring configuration settings

    Hi I'm seeing a problem with CA-Xchg renewal and I'm hoping someone can help. This is on w2k3 r2 SP2 CA machine that's attached to an HSM. The first time the CA issues itself the CA-Xchg certificate, it used all the correct settings (key length=2048,

  • SYSTEM UPDATE RUNTIME ERROR

    Hello, I can't use System Update 3.14 on my W70027584SU. I use Vista business 64 SP1 up to date on 25 june 2009. I re-install System update 3.14 (uninstall, reboot, install), in downgrade the Microsoft Net Framework 3.5 sp1  to Net Framework 3. I sti