Email notifications in OIM

Hi OIM Gurus
Please guide me for the following OIM queries.
1. How can we disable the notifications for disabled users while keeping the notifications enabled for normal users.
2. When a request is re-assigned, how can we configure the mail notification to notify the user to which the request is re-assigned.
Thanks

1. How can we disable the notifications for disabled users while keeping the notifications enabled for normal users.
Answer - This cannot be achieved by OIM OOTB functionality. You need to create custom handle for this as mentioned in the post above.
2. When a request is re-assigned, how can we configure the mail notification to notify the user to which the request is re-assigned.
Answer - Again custom handler.

Similar Messages

  • 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

  • Delayed email notification in OIM

    We want OIM to send an email notification to the user that a new account was created for that user on the target system, but there are some instances when we will not know the email address until after the account on the target system is created. Once the email address is known to OIM then we want it provisioned to the target system and the email notification to be sent. What options are there for doing this in OIM? We plan on using a pre-populate adapter to supply the process form with the email address obtained from the OIM user data.
    thanks,
    jay

    You mean that after an account gets created in target system then only you can generate the EmailId for that user because you might have dependency like in case of AD-Exchange or your Email ID has to be dependent on some other attribute of the target system. If that is the case then:
    - Create an initial account at the target.
    - On completion of the Create Type process tasks, call another task which generates or know about this Email Id and put in the OIM User Profile. Not to mention that lookup USR_PROCESS_TRIGGER should have an entry.
    - Attach a Change Email type task in the process definition of your target system. This transfers the Email to Process Form 'Email' attribute.
    - Email Updated type task calls and transfers this Email value to the target.
    - On the response C of this task, send an Email to to end-user about the successful account creation.
    Thanks
    Sunny

  • How to enable email notification in OIM 11g

    Hello,
    I am currently working in a stock 11.1.1.3.0 environment, and am trying to enable email notifications when a user requests to be provisioned to AD.
    The default approver is Xelsysadm, and I have put my email address in this account's slot. However, I'm not receiving any emails during the request process.
    How do I enable emails to be sent to the approvers?
    Thanks!

    try below
    1. set the value of system property RequestNotificationLevel=1 (1=enable, 0=disable) bydefault it is 0
    2. create An IT resource of name "Email Server" and type "Mail Server" must be configured for sending notifications
    3. provide the server detail(IP address will be enough) in above it resource
    there are the default request template "Request Creation" which will trigger in this scenario.
    for configuring custom notification template and details follow below links
    http://docs.oracle.com/cd/E28389_01/doc.1111/e14308/notification.htm
    --nayan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Triggering Email notification in OIM 11g R2

    Hi All,
    Is there a way to trigger email notification only when all retry counts configured for a particular task is completed. In short I need to defer the failure notification untill all retry counts are completed for a task.
    Thanks in Advance.

    Hi All,
    Is there a way to trigger email notification only when all retry counts configured for a particular task is completed. In short I need to defer the failure notification untill all retry counts are completed for a task.
    Thanks in Advance.

  • Email Notification from OIM 11g

    Hi ,
    Can anyone please explain in detail steps , how to configure /send notification from SOA . As i need to send notification to end user/manager etc..when an approval workflow is finished .
    Regards
    Sid

    Assuming that you already have an SMTP Server stood up, it's fairly easy. I would visit this site: http://www.orafmwschool.com/gmail-notification-service/
    From there, you can skip the whole configuration of the certificates since the example configures Gmail which is over SSL. Since you are only sending email out, just fill out the outbound information.
    Sunny Tsang

  • OIM Email Notification

    I am Trying to do the Email Notification in OIM .I have specified an Instance of the mail Server,Server Name with User Login password in IT Resources Form and have Created the email definition in the Email definition form with a Request Related Type.Please suggest me whether it is the correct way to do and How to Trigger the mail......................Plesase help me as soon as possible

    Hi Kevin,
    Thanks for Ur Response...But still no mail is Generating ....Let me Know some things that When I create the Email definition I am Leaving the Object name and Process name blank ....that means Email will be generated for any type of resource ....but in the Process definition form I am not able to leave the Type and Object name Blank as I am not able to save that form ....Is it neccasary that I have to create Email for Provisioning process.........and Please let me know How will the Assignee will complete the process task.

  • OIM 9.1.0.2 - Email notification

    Hi experts,
    When resource is provisioned, I need that OIM send the Email Notification (Provisioning Accounting Complete) for Requester or User's Manager depending of requetee's attributes.
    If requestee's User Type is Employee, User's Manager should receive the notification, now if requestee's User Type is Vendor, Requester should receive it.
    Any tip on how I can do this???
    Best regards,
    Carlos

    - Store Requestee User ID somewhere in the Object form, populate it through to a process form hidden field.
    - Do all the logic checks as required and send notifications through provisioning Process tasks

  • OIM 11g - email notification

    Dear All,
    I need to create quick POC that will involve provisioning to multiple resources during OIM profile creation. One consolidated e-mail notification should be sent as a result.
    1. I never used simulated/fake/manual resource. If you used it in the past maybe you can guide me through as for how to create it?
    2. How to make sure that centralized e-mail is sent at the end (all resources are provisioned)?
    I was planning to create default role or use ALL USERS role that will be attached to access policies for different resources. When HR record comes, OIM user profile is created and default role (ALL USERS, for example) is assigned.
    This role will trigger execution of access policies that will create accounts on the target platforms.
    My challenges are:
    1) ONE consolidated email notification upon SUCCESSFUL completion (default event that somehow should be triggered maybe by job?, custom task that sets the flag in custom table upon successful completion? or maybe I overengineering .....)
    2) send user to manual queue if creation of the user account on any of the target resources fail.
    If you can provide any guidance as for how this could be done I would appreciate it very much
    Thank you for your time

    1. The process is outlined here: http://iamreflections.blogspot.com/2010/08/oim-howto-leverage-standard-connector.html
    2. There are two parts to this question.
    The first part is to figure out the triggering event. If you know what resource will be last provisioned you can simply put a task that is fired on completion of the final provisioning task that then checks the result of all other resources using the APIs. If you don't know which resource will be last you could let the final provisioning task in each resource have a follow up task that sets a variable on the user form, then have another folllow up task that checks if all values are set and if so do the appropriate thing (if not just exit)
    Traditionally you would assign a task to the sysadmin using the API if you wanted a manual intervention (http://otndnld.oracle.co.jp/document/products/id_mgmt/idm_904/doc_cd/javadocs/operations/Thor/API/Operations/tcProvisioningOperationsIntf.html#reassignTasksToUser(long[], long)) but there is the new concept of queues that I actually haven't worked with (http://otndnld.oracle.co.jp/document/products/id_mgmt/idm_904/doc_cd/javadocs/operations/Thor/API/Operations/tcQueueOperationsIntf.html) that may be what you are looking for.
    Email sending tends to be easier using Javamail than trying to leverage the email framework once you want something that isn't very basic.
    Hope this helps
    /Martin

  • OIM 9102: Send Email Notification to other user in a task

    I created a process in OIM. In this process exist a Task: Manager Process. When this task will be completed for the user that be assigned. In the Notification Tab are able to send a email notification to a Assign User, Requester User, User or User Manager. But i need to send a email notification a other user different to them, for example: juan.perez, this user is in OIM.
    I have read the following documents:
    1.- http://docs.oracle.com/cd/E10391_01/doc.910/e10363/promgt.htm#BCECFGEJ
    2 .- How to Send an Email Notification Upon User Creation via the Admin Console [ID 780394.1]
    3.- OIM: An Example of Email Notification and Configuring it With a Resource Object Provisioning [ID 457836.1]
    4.- Sending an Approval Notification Email with a Link Directly to the Approval Request? [ID 748447.1]
    Or exist some way to do this, through java code.
    I'm using oim 9.1.0.2 BP18 running on OC4J 10.1.3.5 on AIX 6.1 64-bit clustered install with two nodes, Oracle Database 10.2.0.4 on AIX 6.1 64-bit on RAC.

    Hi
    You can use OIM email API to send an email from the java code. You can attach code on post creation user using entity adapter. Every time a user is created the email is triggered.
    Here is the sample:
    public EmailUtility(tcDataProvider dataProvider) {
              this.dataProvider = dataProvider;
              emailOper = new tcEmailNotificationUtil(dataProvider);
              System.out.println("Email API instantiated successfully...");
         public String sendEmail(String fromAddress, String toAddress, String body,
                   String subject) {
              emailOper.setBody(body);
              emailOper.setFromAddress(fromAddress);
              emailOper.setSubject(subject);
              emailOper.sendEmail(toAddress);
              System.out.println("Email sent!" + subject);
              return SUCCESS;
    Regards
    user12841694

  • Email notifications for multi level approvals in OIM 11g

    Hi,
    I am using OIM 11g.
    And in my current environment, we have 4 levels of approvals and need to send a different type of email notification in every level to the corresponding approver.
    Can you please let me know how to implement this in SOA composite. first two approvals are sequential and the remaining two approvals are parellel.
    Thanks,
    Swathi

    You have to use combination of switch and if task. In if block you have provide the condition. This conditon will be predicted over some variable. This variable you will set in payload where approver will be decide.
    You can have multiple mail notification or you can set the body content dynamically(set the variable data in payload where the approver is being manipulated) use this variable in body content.
    Kuldeep

  • Email notification for user created through reconciliation in OIM

    Hi..
    I have done the following configurations for email notification when user is created through reconciliation in OIM
    Configuring IT Resource     
    Name     Email Server
         Type      Mail Server
         Authentication     FALSE
         Server Name     *.*.*.*
         Username     
         Password     
    Creating email definition with the following values     
    Name     Create User Email Notification
         Type     Provisioning Related
         Language     en
         Region     US
         Object Name     Xellerate User
         Process name     Xellerate User
         From     User
         User Login     Xelsysadm
         Subject      User Created
    Add Email notification in a new process task with name Notify     
    Process definition     Xellerate User
         Task     Notify
         Disable Manual Insert     Enable
         Required for Completion     Enable
         Allow Cancellation while Pending     Enable
         Handler Name     tcComplete Task
         Assignment Rule     Default
         Target Type     User
         User     Xelsysadm
         Email name     Create User Email Notification
         Send Email     Enable
         Notification Assignee     Enable
         Email      Create User Email Notification
         Status     Completed
    Xelsysadm has a valid email id. Now when I am reconciling any user, two mail notifications are being sent. Not able to know from where these two notifications are being triggered.
    Am i suppose to make any changes in the configurations?
    Edited by: Amruta Agarwal on Sep 28, 2011 4:21 AM

    Sorry re-read your issue again. I believe there are two notifications because you have added your notify task in the process definition and OIM OOTB sends a notification when a user is recon'd. Thus remove your task or disable the OOTB notification. The property is Recon.SEND_NOTIFICATION
    HTH,
    BB
    Edited by: bbagaria on Oct 7, 2011 9:13 AM

  • Email Notification after User Self Registers in OIM

    Hello there,
    Can you please tell me how can send an email notification to users as soon as they register themselves in OIM using the OOTB OIM Self Registration.
    Actually I am generating a unique User ID as a Post Insert in Create User Event Handler. By real question is to actually send this particular generated User ID to the user in an email - how can I do that?
    Thanks.

    The exact scenario is an end-user directly self registers himself providing all the necessary values of User ID, First Name, Last Name, Email, Password (mandatory fields). But I want this request to be directly completed/approved. I don't want any kind of administrator intervention in creating these users in OIM such as providing approval details, etc. So I have added the remaining necessary fields on self registration page itself for users to be filled out - Organization Name, User-Type, Employee Role. The user provides all these details on OIM self registration and it directly gets created in OIM.
    I have made an email definition of type "provisioning related" and included the necessary UDF's in it. And I have added this email defn to the "Email Notify" task of "Xellerate User" process. I have already checked the "Assignee", "Requester", "User" option box in the "Notification" tab. So now the problem is after user creation - the administrator is receiving an email containing the UDF values but the user is not receiving that. But the user is receiving the "Self Registration" email definition email which I don't want to send.
    So really speaking I want to send an email on User creation containing the UDF values - but it is not sending it. I have integrated the "Email Notify" task with "tcCompleteTask" system adapter. Am I missing anything?
    Please let me know as this func. needs to be in place asap.
    Thanks.

  • Notification from OIM(11gR2) after email id update

    Hi ,
         I have requirement to implement an use-case in OIM as follows.
    OIM has one target resource integrated - Say Resource1 . When ever email id is updated in OIM it will get propagated to Resourc1 and and if email is updated at Resource1 it will get reconciled to OIM. And we have a another system which was not integrated with OIM say Resource2 . Our requirement is to send an email notification to Resource2 admin(s) when ever users email update event occurs in OIM . What was the best way to implement this usecase. As far as I understood this could be implemented using event handlers. I there any other approach/design to address this usecase.
    I mean by using design console approach.
    -Satyendra

    The "Send Notification to Resource Admin task" should get called on the success of "Reconciliation Update Received" task.
    Inside process task adapter (Send Notification to Resource Admin task), you can read the value of old email/new email (using old checkbox, just give a try) or u can compare the User profile Email & Process Form Email Id ( inside your code) and trigger the update on User profile.
    The below post also had similar kind of requirement:
    Re: How to update OIM user profile fields after AD user target reconciliation
    Or to avoid any confusion, just use the cleaner approach of Event Handler to trigger notification.
    ~J

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

Maybe you are looking for