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

Similar Messages

  • OIM 11g - Email Notification with direct link to Approval Task Details

    Hi,
    We wanted to send email notifications to approver with direct link to the approval task details screen from which the user can either approve or reject the request. In OIM 11g OOTB Notification templates such as Request Creation contains the direct link to Request Detail screen which is something like
    http://localhost:14000/oim/faces/pages/Self.jspx?OP_TYPE=LOOKUP;E_TYPE=MY_REQUEST&T_ID=65
    Wondering if there is something similar for Approval Task Details screen as well.
    Any kind of help or suggestion is greatly appreciated.
    Thanks,
    Deepa

    If at all you cannot get the direct link for approve/reject then try the actionable email from SOA. Once you have that configured the emails gets approver/reject links so that approvers can directly approve/reject the task from email. If that works for you then you can look at the format of those links in the email and deduce what you need the url as.
    HTH,
    BB

  • Help required related with OIM 11g Email Notification

    Experts,
    I have a requirement where I have to pass the User's Password through autogenerated email.
    But I have a scenario where I dont have to provision any target resource for users..so i dont have access to Notification Tab for such kind of users.
    I thought of writing a custom Event Handler to send email using custom code.
    But IN OIM 11g , I found that Inside, Advanced->Notification Template-> Create User Self Service Notification … is getting triggered with UserID: $userLoginId<br> and its woking fine.
    But once I added Password: $password<br> In the same template, its not providing me the password.
    So I think the Parameters associated with this Event "Self register user" does not have $password.
    Is there any way to check which all parameters can be accessed in these Events?
    Also, what is the best way to send password to users who does not any target resources associated?
    Thanks,
    Regards,
    J

    Hi I am trying to get the Create User Self Service Notification template working but for some reason I get an error in the log saying unexpected error occured while sending notification. and I am not recieving any mails..I have done the following steps
    created an IT resource with the name same as the value of Email Server property
    have made the value of RequestNotification property 1
    is there anything else I need to do..
    Can you also give some details as to how you have created the IT Resource...is the authentication true/false if true does any username and password do..
    Thank you

  • OIM 11g - Email Notifications configured in human task is not working

    Hi,
    My requirement is to send email to the assignee whenever a request is assigned to the user. I created a custom bpel workflow and configured email notiifcation in the human task for the status 'assign'. I have configured Email driver with following properties:
    Sender Addresses = <[email protected]>
    Default Sender Address = <[email protected]>
    Outgoing Mail Server = <Exchange server host>
    Outgoing Mail Server Port = 25
    Outgoing Mail Server Security = none
    Outgoing Default From Addr = <[email protected]>
    I have also set the Notification Mode to 'Email' in Workflow Notification Properties.
    However when a request is assigned to the user, email notifications are not sent.
    I do not see any errors in the logs. In Enterprise Manager console I navigated to SOA Infrastructure Home > Human Workflow Engine > Notification Management and I could see outgoing email notifications corresponding to the workflow instance with the status showing 'Sent'.
    Also the Exchange server that is being used has already been tested for provisioning emails from OIM and it works fine for provisioning.
    Any pointers/troubleshooting tip to resolve this issue is greatly appreciated.
    Regards
    Deepa

    Hi,
    My requirement is to send email to the assignee whenever a request is assigned to the user. I created a custom bpel workflow and configured email notiifcation in the human task for the status 'assign'. I have configured Email driver with following properties:
    Sender Addresses = <[email protected]>
    Default Sender Address = <[email protected]>
    Outgoing Mail Server = <Exchange server host>
    Outgoing Mail Server Port = 25
    Outgoing Mail Server Security = none
    Outgoing Default From Addr = <[email protected]>
    I have also set the Notification Mode to 'Email' in Workflow Notification Properties.
    However when a request is assigned to the user, email notifications are not sent.
    I do not see any errors in the logs. In Enterprise Manager console I navigated to SOA Infrastructure Home > Human Workflow Engine > Notification Management and I could see outgoing email notifications corresponding to the workflow instance with the status showing 'Sent'.
    Also the Exchange server that is being used has already been tested for provisioning emails from OIM and it works fine for provisioning.
    Any pointers/troubleshooting tip to resolve this issue is greatly appreciated.
    Regards
    Deepa

  • OIM 11g email notification(request submitted, approved, reassigned, etc)

    Dear All,
    How to emplement e-mail notifications in 11g?
    It looks like there some notification templates available. But how those could be tied to different stages of the request? (request submitted, approved, reassigned, etc). Is there any authomation available or everything should be created now manually in the workflow? SOA suite has notification service. I suspect this is what should be used now.
    How notification templates are used in the workflow?
    If you can provide steps and/or example this would be very helpful.
    Maria

    I suspect article ID 457836.1 is valid for 11g as well. (FYI)

  • BPEL 11g Email Notification - Multiple SMTPs

    Hi All
    We have a requirement to send emails through alternative SMTPs based on content via BPEL. In 10g BPEL, we could do that based FromAccount configuration in nl_emails.xml. What is the equivalent steps for creating different FromAccount configuration in 11g BPEL?
    Thank you for your support.
    Regards
    Prasad Jayakumar

    Hi All
    There is something missing in 11g what was available in 10g
    In 10g, we were able to refer the following entire configuration details through FromAccount of BPEL Email Activity
    nl_emails.xml
    <EmailAccount>
    <Name>Default</Name>
    <GeneralSettings>
    <FromName>Oracle BPM</FromName>
    <FromAddress>[email protected]</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>yourdomain.com</SMTPHost>
    <SMTPPort>25</SMTPPort>
    </OutgoingServerSettings>
    Now In 11g, We are able to set only EmailFromAddress, EmailReplyToAddress & EmailRespondToAddress which is more about GeneralSettings and not different OutgoingServerSettings
    My initial request "BPEL 11g Email Notification - Multiple SMTPs" is not yet resolved. Please provide any further inputs. Thank you.
    Regards
    Prasad Jayakumar

  • OIM 11g - Mail Notification for multiple resources

    User will be provisioned to 5 target system through access policies.So instead of sending 5 different mail notifications to the manager on the Create User task about the account creation, is it possible to send one consolidated mail about the provisioned resources in OIM 11g.

    Hi,
    How abt for the following requirement for sending single mail for multiple resources provisioned.
    We have 3 Access Policies which is defined as follows.
    1) Policy 1 -> R1,R2,R3 Resources
    2) Policy 2 -> R3,R5 Resources
    3) Policy 3 -> R1,R4 Resources
    In such a case we will not be able to put dependencies on Resources and adding a task for sending email.

  • OIM 11g ootb notification

    Hi All,
    I'm new to OIM 11g.I'm trying to create user using web interface and user is successfully created but no OOTB email notification are triggering..
    I have configured Mail Server It Resource.
    IT Resource Name           Email Server      
    IT Resource Type           Mail Server
    Authentication                No
    I'm using Toolheap software to test notifications.
    Regards.
    Krish.

    find the steps here
    Enabling The Logging in OIM 11g
    Any Custom Schedule Task and Event Handlers to debug in the OIM 11g Server to enable the logging. The following way to enable the logging in Oracle Identity Manager 11g.
    Pre-Requisite
    Java Code Configuration
    Add the following line into your java code.
    Import Statement
    import com.thortech.util.logging.Logger;
    private Logger logger=Logger.getLogger("Logger-Name");
    Configuration Of Logging
    Go to the $DOMAIN_HOME/config/fmwconfig/servers/oim_server1 directory and edit the logging.xml file.
    Configure The Log Handler
    <log_handler name='logger Handel Name' level='FINEST' class='oracle.core.ojdl.logging.ODLHandlerFactory'>
    <property name='logreader:' value='off'/>
    <property name='path' value='Log File Location'/>
    <property name='format' value='ODL-Text'/>
    <property name='useThreadName' value='true'/>
    <property name='locale' value='en'/>
    <property name='maxFileSize' value='5242880'/>
    <property name='maxLogSize' value='52428800'/>
    <property name='encoding' value='UTF-8'/>
    Include The Logger Handler Logger Configuration
    <logger name="Logger-Name" level="Log Level" useParentHandlers="false">
    <handler name="logger-Handel-Name"/>
    <handler name="console-handler"/>
    </logger>
    Oracle Identity Manager 11G Log Levels
    Log Level ODL Message Type:Level
    SEVERE.intValue()+100 INCIDENT_ERROR:1
    SEVERE ERROR:1
    WARNING WARNING:1
    INFO NOTIFICATION:1
    CONFIG NOTIFICATION:16
    FINE TRACE:1
    FINER TRACE:16
    FINEST TRACE:32
    The FINEST log level will give the more debug info. If you want to debug your schedule task or event handlers, please use FINEST Log level.
    --nayan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • OIM 11g Sending Notification on OIM User creation

    Hi Gurus!
    I have the following requirement: Whenever a user is created in OIM (through the Administration Console, through Request or through trusted reconciliation) an email notification is to be sent to the user's manager, informing him/her that his/hers collaborator has a given user login (autogenerated) and a password (also autogenerated) and which has to be changed the first time the recently created user logs into OIM.
    I saw that in OIM we have Email Definitions (in the Design Console) and Notification Templates (in the Administration Console).
    I tried to use the Email Definitions but I am not able to select the usr_password field in the variables section so I could not use this solution which seemed to be very easy to use since one can directly use the email definition in the Notification tab in the process tasks.
    Afterwards I analysed the Notification Templates solution. I defined the xml of the Event Type and in the Notification Template (in the Administration Console) I was able to select usr_password as a variable of the notification. However, when I tried to develop the Java code (class implementing NotificationEventResolver), although I was able to extract most of the fields of the OIM user profile, I could not extract the usr_password field... It seems the usr_password field (which is encrypted) cannot be obtained from the UserManager service.
    How can I get the user password and inject it into the email notification?
    Many Thanks!

    Check this: Re: Xellerate User Password decrypt and look at the code posted there by me. Since you are using the notification resolver, you can use the PasswordManager to get the password for the user in your code.
    -Bikash

  • Suppress OIM OOTB email notification

    When a user is created through OIM admin console, an OOTB email notification is sent to the user's manager.
    The email details are as follows:
    "Subject: Congratulations - New Account has been created
    Body: Congratulations!! Your account has been successfully created!! Your user login is - xxxxxxxx "
    There is another mail going out as well to the user.
    The email details are:
    "Subject: New Account Information
    Body: An account has been created for you with the following details. You will be required to change your password on next login.
    UserID: xxxxx
    Password: xxxxx
    For any issues, please contact [admin email or phone] "
    Is anyone aware if we can suppress these out of the box email notifications?
    Edited by: 910571 on Jan 26, 2012 11:18 PM

    Hi,
    I believe you can suppress OOTB email notification with help of implementing oracle.iam.platform.kernel.spi.PostProcessHandler and oracle.iam.notification.impl.NotificationEventResolver. Also you need one email template created in OIM.
    I had implemented for one of my client to send email notification having some attributes with same solution.
    Thanks,
    Pradeep.
    Edited by: Pradeep Khopade on Jan 27, 2012 1:38 AM

  • OIM 11g: Email template - child table columns

    Hi All
    How can I fetch the child table (process form child table) columns in the OOTB email templates. When I select Process form data on the email definition screen on Design console, I am only able to select the main process form's columns.
    Please help. Its urgent.

    OOTB not possible you have to write code for fetching child data.
    I suggest send mail using custom code and fetch child data using OIM APIs.

  • [SOLVED]OIM: Attestation Email notification isn't working :(

    Hi.
    I'm using OIM9031@JBOSS.
    I've created a new attestation with 'Users by manager' scope, selected 'Reviewer is each user's manager' option, set 'Notify process owner if reviewer declines' check box.
    I've verified, that process owner (XELSYSADM) has a valid email adress and all predefined email templates are ok.
    I've created a IT Resource 'Email Server' of type Mail Server.
    But notifications don't even launched (according to logs). What am I doing wrong?

    Has the actual attestation event triggered? The scheduled task "Initiate Attestation Processes" must run before any attestation events get sent out, even when you click the run once.
    Looking at the documentation, can you verify this stuff?
    System Control
    Attestation has the following dependencies:
    The User Profile Audit feature must be enabled.
    Historical data must be collected at least up to the Process Form level.
    If the auditing level is set below the required levels, then clicking menu item links related to attestation generates the Attestation Feature Not Available page, and prevents the user from defining any attestation processes.
    Audit levels are controlled by the system property called XL.UserProfileAuditDataCollection and the attestation feature expects this value to be set to at least Resource Form.
    -Kevin

  • 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

  • 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

  • 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

Maybe you are looking for

  • Not able to write image in csv file

    I have tried to write JPEG file in csv but having a critical probem. The JPEG in the CSV is coming wrongly. Means whenever I open the created CSV file I can see the image has been moved upside down. Can any one please help me how to write a proper im

  • Bugs with iPhoto, what's wrong?

    So pretty much, I rename a title of a photo, and certain things happen; - They delete themselves when I try to delete a letter. - When I move to edit the description, the title deletes itself. - When I move to another photo and successfully edit its

  • DVD DL vs copy

    Hi all, is the DVD burner in a macbook able to copy up to 9.4GB dvd disk? DL? michel

  • Check against country-specific edit format

    Hi All, Currently for VAT registration number, settings for VAT registration number using transaction code OY17 is as follows, Length: 9 Checking rule : 9 i.e. Check against country-specific edit format Now the user wants to enter a registration numb

  • BI Publisher Date Formats

    Hi, I am trying to convert a date format 20100910 to DD-MM-YYYY, is it possible to change this format in the template. I have attempted to change the data model query using: to_date(date_field, 'YYYY-MM-DD') but this results with no data returned fro