Sending Emails in OIM

In OIM 11.1.1.3.0 I have a resource which I am provisioning to, and workflow in place which sends an approval task to the user's manager, and a user within a certain group. How can I send emails to these individuals when a user makes a request to be provisioned to that resource?

Have you had a look at the following:
http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224/bp_designtf.htm#SOASE744
*29.7 Creating an Email Notification*
Thanks
SRS

Similar Messages

  • Notification Template  and send Email in oim 11g

    Hi All
    I need to send an email(html) format to users.I have created the a notificationtemplate through webconsole.
    I am intrested to know are there any api's available in 11 g to access this particular notification template in my java code and send email to a user using this template.
    iam referring to the class <oracle.iam.notification.vo.NotificationTemplate> and <Thor.API.OperationsInterface tcEmailOperationsIntf> classes but iam unable to access the notifcation template and send email.
    Edited by: Bipin Patil on Jul 1, 2011 12:34 AM

    Hi Rajiv Dewan
    Your link was helpful iam able to connect the the notification template.
    Now iam able to get the Template name,Subject,ID,Locale etc.
    I have one small question how to get the message from the template using this api,
    I referred the NotificationEvent,NotificationTemplate api's still iam not able to get message from my template and set message in my template.
    Is there any other API's i need to explore to get message from notification template.
    Thanks and Regards
    Bipin patill
    Edited by: Bipin Patil on Jul 1, 2011 5:29 AM

  • Sending email notifications in oim 11g approval flow dynamically

    Hi,
    I have 4 level approval workflow in oim 11g and developed custom composite to get all the approver ids and and assigning these ids into 4 variables.
    And used these variables in my custom 4 level sequential workflow. This workflow is working fine. Now I need to update this composite to send email notifications to the approver. So updated code to retrieve email ids and to store them in 4 more vairables. I cannot send all emails at a time thru the code. I need to send email only to the corresponding approver only when the flow reaches to that particular level.
    Subject and body will be same but the email address will vary.
    Can you please let me know the step by step process to implement notifications to these many levels.
    If you think, this is not correct approach (storing all email ids in variables and then sending notifications), please let me know correct approach.
    Thanks,
    Mary

    The way to do it would be to put your human task inside a while loop. This while loop would set a variable to the approver's userid and would continue till all the four approve it. In your human task you need just one approver and that would be the variable which the while loop sets.
    If you do it this way, then you can use the OOTB notification tab in the .task and select the 'Assignee' as the email notification receiver and you won't have to worry about getting the email ids as well.
    As for the current approach which you have, that is of using the sequential approvers in the human task, I haven't tried it, but just try setting the notification tab in the .task to 'Assignee' and event 'On Assignment'. That should do it as well.
    -Bikash

  • 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 .

  • Sending email reminders in OIM 11g

    Hi,
    I am trying to investigate on the OIM's capabilities to send email reminders on pending approval tasks. Say for example i want emails to be sent to the approver every two days to remind the approver about the pending approval task. Is OIM capable of supporting this functionality OOTB?
    Any help or guidance is greatly appreciated.
    Regards
    Deepa

    Yes
    It sends reminders OOTB in 11g version. You just need to configure these in Approval Workflow.
    Go to Notification Tab > Advanced

  • Sending email to user using the notification template in OIM 11g

    Hi all
    I have created a Notification Template using web console in OIM 11g.
    Iam able to access the contents from notification template in my java code.
    But iam not able to find the correct api's to send email to user using the notification template
    (like tcEmailNotificationUtil using this class we can connect to email template created in design console and creating IT resourse we can send email to user using the method sendEmail).
    Waiting for your help and pointers
    Thanks and Regards
    Bipin patil

    Thanks GP!.
    But i have the same doubt here.
    "The Notification Event is defined through a XML file that must be loaded into MDS database." - in which path and in what name it should be.
    Because under /metadata/iam-features-notification, i couldnt see any event Xml present. I thought atleast we could see the existing OOB notification template's event xml files.
    Please let me know if you are aware.
    Thanks,
    Amudha

  • Send email notification from outside of OIM

    Hi,
    I have a code which i am running out of OIM. The code does the following things:
    1. Updates user's end date of the basis of end date given as input.
    2. Send email notification once user's end date is updated.
    I am able execute point 1 successfully-getting user's key, manager key, updating user's end date in usr table But I am facing issues while sending mail notification to user's manager. If anybody have worked on this type of scenario, then please let me know.
    Thanks,
    Kalpana.

    Sending Text file as an attachment to email.

  • Want to send email notification to xelsysadm/OIM superadmin

    Hi,
    I have a requirement, that if the return value of the Flag is true, then send out email notification to OIMsuperadmin which is nothing but xelsysadm. I have written the code till the return flag value, now I want to send out email notification to xelsysadm.
    Please help me with the code.
    Thanks.

    Hi,
    OIM provide a send email utility, you can those API to send email to xelsysadm...
    Regards
    Alabhay Goel

  • OIM - Send email to approver not working

    Hi,
    I have to send a notification email to approver when the approval task goes in pending status. I think I have done all that is required however the mail is to being sent. Please let me know where I might be wrong.
    I Created an email Defintion of type request. My task name is "Manager approval" and all it does is "request target users manager". So I go to notification tab, set the status as "P" and tick the "assignee" check box (i.e. the approver). The approver is present in OIM and his email "user def" field has a valid email adress (my test adress). I have also created a IT resource of type "mail server" and set server name, user login and password (all my test details). I havent set anything in authentication though. Dont know if that could be the problem.
    The task is now in pending status but no mail is sent. Nothing is logged in jboss logs as well. Please lemme know if I am missing something.
    Thanks, M

    Hi,
    The language and region are same as in system config. I tried sending the mail from the assignment tab and it gives me a error. "cannot send - MAIL requires AUTH". The mail server i am using requires authentication. Looks like I need a open mail server to be able to send mail through OIM. When I defined a IT resource of type "Mail Server", it has one tab of the type "Authentication", which is just one text box. What needs to be filled in here? For my mail server it says, 'authentication required, and use same credentials as the incoming server'.
    Please let me know what needs to be defined in this 'authentication' text box and what needs to be done if a open mail server is not available.
    Thanks, M

  • Send email notification after unlock account in OIM 11gr2

    Hi,
    there is OOTB email notification is availabe for sending email notification after unlock aacount.
    could anyone please provide a way to do that...

    any suggestion...

  • Could not able to send email notification through approval workflow

    Hi,
    I am trying to send an email notification to the requester and approver on request creation and when the approver approves the request then an email should get triggered to the request with approve/reject outcome. All the SOA configuration has been done and also able to send test email through SOA console but could not able to send email through SOA composite.
    For configuring an email notification, I am using notification tab in ApprovalTask, but still problem is not resolved.
    Please help me in resolving the issue.
    Thanks.

    Use this link to check again whether you have configured the Email driver properties properly. http://www.iamidm.com/2012/09/oim-11g-r2-lab-6-managing-notifications.html
    Also check whether any firewall issue is there which is preventing OIM to contact the email server in sending out emails. Check the logs if there are any issues.
    Also check this system property 'RequestNotificationLevel'. This property indicates whether or not notification is sent to the requester and beneficiary when a request is created or the request status is changed. If the value is 0 for this system property, make it 1.
    I was facing a similar type of issue due to two reasons:
    1. System property
    2. Firewall
    Check both of them and try again.
    Edited by: Durgaprasad on Apr 15, 2013 2:08 AM

  • Creating events without sending email - 2005Q4

    I would like to create events (admin function) for groups of users and NOT have any mail sent. Is there a way to do this? Thanks

    Rajiv, i am not using any adapter . I am writing the code directly in the Custom UI service class.
    I am able to get the database connection and even i am able to print the body of my email template . But at the last stage in sendEmail method error occurs. Will it be possible to achieve my requiremnet through task adapter as i do not store the password in OIM. I thought of getting the value directly from the jsp page when GIA analyst enters the password for accessing the application and calling the 5 lines of code for sending email after that. Please let me know whether my approach is correct.

  • 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.

  • Send email with API

    Hi,
    I need to send an email with the OIM user password in it...which can only be done by the API functions, right?
    Has anyone ever used tcEmailNotificationUtil to send emails?
    (I've read that java mail can be used...but I rather use Thor API...)
    thanks!

    Hi,
    I'm facing the same problem in this moment. I've found two ways for doing this:
    1) Developing a simple class that sends those emails containing the password field (using OIM APIs, or just a Java utility that you could use in an adapter). This way you can pass the password on a Runtime Variable.
    If you want to send your notification when creating an OIM User, I think this is the best approach, becouse you won't be able to modify the Xellerate User Provisioning Process properly to do it, so an Event Handler or Entity Adapter attached to the Users Object would work.
    2) Using an Email Definition. In this form there is no "password" variable for the email body as the Users.Password field is not available in the dropdown menu. The only way I found in the forums to solve this is to change the mapping for the Users.Identity lookup definition, wich is pointing to the USR_FSS column of the USR table to the USR_PASSWORD column. As this lookup is a system-protected object I did the update manually in the LKU table. At this point the "Identity" Field is correctly replaced with the password when the emails are sent.
    As I don't know where is this lookup used at all, I have no idea if this change damages the OIM system in any way, or if it generates any security weakness. If Oracle did'nt include the password field in form, I guess there has to be a reason for it.
    Is the first one the best approach? Does anybody know other way for using the password field in the Email Definition form?
    Thanks,
    Bye

  • Send Email for manager of the user with Login and Password the user.

    Hello everyone,
    I need to send an email to the manager of the user with login and password when it is created in AD.
    I already have a mail server configured in the IT Resource. It has some component of the IDM that solve this issue?
    Anyone you help me with the next steps?
    Thank you.

    Thank you for your attention.
    It did not work, I did another test to send email notifying you when the User change password.
    The following error message appears in oim_server1-diagnostic.log:
    [2011-08-08T19:21:30.865-03:00] [oim_server1] [NOTIFICATION] [] [oracle.iam.passwordmgmt.impl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Resetting password
    [2011-08-08T19:21:30.936-03:00] [oim_server1] [NOTIFICATION] [IAM-0080013] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Kernel executing default validation with process id, event id, entity and operation 59,612.0.User.RESET_PASSWORD
    [2011-08-08T19:21:31.155-03:00] [oim_server1] [NOTIFICATION] [IAM-3050013] [oracle.iam.identity.usermgmt.impl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Searching for users with the specified criteria.
    [2011-08-08T19:21:32.018-03:00] [oim_server1] [WARNING] [] [oracle.iam.passwordmgmt.impl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Sending Reset Password Notification is not successful
    [2011-08-08T19:21:32.639-03:00] [oim_server1] [NOTIFICATION] [IAM-0080046] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Completed orchestration with action result - oracle.iam.platform.kernel.vo.EventResult@4fe0d018
    [2011-08-08T19:21:32.642-03:00] [oim_server1] [NOTIFICATION] [IAM-0080011] [oracle.iam.platform.kernel.impl] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: 88a924181f586e03:-25ab9c82:131aa884464:-8000-0000000000008862,0] [APP: oim#11.1.1.3.0] Orchestration process with id 59,612 started running in a new thread.
    Edited by: Piza on 08/08/2011 15:24
    Edited by: Piza on 08/08/2011 15:26

Maybe you are looking for

  • Database connection error with JSP

    I'm having problems connecting to a mysql database via a helper object in my jsp pages. I've researched this for the last two days and nothing I have tried is yet to make a difference. My java code is essentially the following (minus try/catch for re

  • RRI to a Transaction me23 in R/3

    Hi, I have to implement an RRI from BW report to an R/3 ME23 transaction. In the BW report I have an I/O 'Object key' which refers to the R/3 field 'OBJKY' of the NAST table. I have done all the settings in the RSBBS like - 1.sender-receiver assignme

  • Problems with planning function in sneak preview J2EE

    Hi all, I have a 2 systems environment with sneak preview J2EE and ABAP on my notebook. I configured SLD, JCo and in the 2004s with ta SPRO the planning function. I can connect with ta RSPLAN to the J2EE server, but I get the error message: com.sap.t

  • Disappearing MobileMe galleries in Aperture library

    I created several MobileMe galleries over the past few days, and was successful in publishing them (although this took a couple of tries). Last night I added a few more photos to one of the galleries and tried to resync. After a couple of minutes, it

  • Portal monitoring and alerting - Industry standard

    Hi All, We wanted to put up alert system for Portal. We have the standard set of alerts set which is being taken care by CCMS, also have the solution manager diagnostics set for portal and other systems. What we want is the client side monitoring whi