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

Similar Messages

  • OIM 11g add custom role on user creation

    Hi,
    I when i create a user in OIM11g by default it gets added to "ALL USERS" role.
    I have created a new role and want to add user to this custom role while creating users. How can i do this in OIM11g
    Regards,
    Ab
    Edited by: 824473 on Jan 18, 2011 2:33 AM

    set Auto submit true. you can't set the value for ValueChangedListener property in current release of R2. This is bug and you can raise SR for same. But, this won't cause saving data into USR table. ValueChandedListener property for Modify User page only.
    As you said, data is not being saved in the USR table then verify your steps again:
    create sandbox->users->create user/edit user/view user details page->click customize->leftTopcorner->View->Source->select area->edit->Click Add Content (on left top)->Data Component catalog->scroll down and select User VO->Refresh dialogue box->select the field and click 'Add'->on dropdown select 'ADF Input test w/label/for view user page it should be output test w/label->close that window->Check if it added to create user form->save and close customization
    for user detail page select "Managed User->UserVo1 " as datacomponent
    Re: UDF creation on User form in 11gR2
    for valuechangedlistener the fixes all ready available. you have to do some workaround as other poster has given in above link:
    1.Create a sandbox and activate it. Open the page that contains the UDF, and click Customize.
    2.Select View, Source.
    3.Note the value of the valueChangeListener property of a predefined field. To do so:
    a.Click the predefined field, and then click Edit to open the Component Properties dialog box.
    b.Copy the value of the valueChangeListener property.
    4.Export the sandbox as a ZIP file.
    5.Extract the ZIP file and edit the jsff.xml file for the specific screen.
    6.Add the following attributes to the ADF tag, for example af:inputText, for the UDF:
    ◦valueChangeListener=VALUE_COPIED_IN_STEP3
    ◦autoSubmit="true"
    7.Create the ZIP file for the sandbox.
    8.Import the sandbox.
    9.Publish the sandbox.
    Edited by: Nishith Nayan on Sep 21, 2012 1:04 PM

  • 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

  • How to create a new role : Need to send notifications to multiple users.

    Hi All,
    I have a requirement where in I need to send notifications to multiple users
    and no. of users in the list is not fixed.i.e. this builds up dynamically.
    Kindly let me know how do I achieve this.
    Also wanted to know where form the Workflow roles get created i.e. who inserts data into wf_roles and wf_user_roles tables. Is there any UI to create roles and associate users with them.
    Thanks,

    Hi,
    Yes - by default all responsibilities are defined as roles in the Workflow directory. You just need to identify the role that corresponds to the responsibility (look at ORIG_SYSTEM and ORIG_SYSTEM_ID columns, IIRC) and then send the notification to the role.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://thoughts.workflowfaq.com ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Send notifications to the users whenever a template is ready or an approval

    Is it possible to send notifications to the users whenever a template is ready or an approval is recorded when we use the work status.  Is there any SAP "How to"  documentation available on this ?  What are the limitations of this process ?

    Hi Sumit
    Yes it is possible.
    In BPC Microsoft Version we can design Business Process Flow (BPF) with the required Start date and time.
    Through BPF (using step 1) we can also send E-mail Notifications for Start and closure of the Planning cycle.
    To make this E-mail notification thing work:
    1. Assign E-mail ids to the Owner/ Reviewer property in dimension with Hierarchy structure.
    2. Assign Server info in the Application Set Parameter section from BPC Admin domain.
    Using WorkStatus
    This initiates emails to both the planner and the approver for any change in data for a work state change.
    This is available in link: http://help.sap.com/saphelp_bpc70sp02/helpdata/en/a1/532226947C49A5B2E2BD32450CB2D1/frameset.htm
    Hope this answers your question.
    Regards
    Abhishek

  • Send notification to all users of specific responsibility in 11i

    Hi All,
    Is there anyway to send notification to all users of specific responsibility in 11i ?
    I have a setup form for hierarchy level (e.g level 1 - 5) by which each level will be notified either by responsibility or user?
    If its setup by responsibility, notification will be sent to all users under that responsibility.
    Do i have to create role using WF_DIRECTORY.CreateAdHocRole and add all users for specific responsibility to the role?
    Also if the responsibility setup changed, how to maintain the existing notification with the old resp.
    eg. level 1 is set to resp X then later on set to resp Y.
    Regards,
    Fendy

    Use 'Expand Roles' to achieve this. Please check the WF Developers Guide to see how it works.
    Yes, you may use wf_directory.createadhocrole for this purpose too.
    What do you mean when you say the responsibility has changed? It it is end-dated no notification should be sent to any of its members. It depends on the assignments of the role/user. if the assignment is used then the user will get it. If the assignment is end-dated then the user will not get the notification.
    You can always use wf_local_synch.Propagate_user_role to change the assignment of a user/role. If you want to end-date it, you can use it. Or you can add another user to the role, etc.
    Hope this helps,
    Alejandro

  • How to send notifications to different user groups based on payload value

    Hi Gurus,
    I have a scenario in BPM where i have to send notifications to different user groups based on the payload value.
    ex:
    Payload sample:
    <employees>
    <emp1>
    <state>TX</state>
    </emp1>
    <emp2>
    <state>AZ</state>
    </emp2>
    </employees>
    Requirement: I have to send notification through Humantask to users of TX and AZ as mentioned in payload.
    Can you please help me out in achieving this in BPM?
    Thanks,
    Raju
    Edited by: user0808 on Mar 1, 2013 12:58 PM
    Edited by: user080811 on Mar 4, 2013 11:06 AM
    Edited by: user080811 on Mar 4, 2013 11:07 AM

    Hi Daniel,
    thanks a lot for your quick response.
    I went through your blog and tried implementing the same.
    But in my case i have to send parallel notifications to both the states.
    Please correct me if i am wrong, using if conditions in rules is allowing me to send to only one state.
    I also tried the following approach
    1) setting the organization units in bpm workspace
    2) passing values using human task parametric roles
    3) and looping the subprocess that has the humantask for the count of states.
    I am able to loop the subprocess but i am not able to change the parametric role value for the next iteration of the subprocess.
    Can you please help me in resolving this?
    thanks,
    Raju

  • Is there way send notifications  to portal users within weblogic portal

    Is there way send notifications to portal users within weblogic portal or we need
    to use Message broker channel or JMS for this purpose

    venks wrote:
    Is there way send notifications to portal users within weblogic portal or we need
    to use Message broker channel or JMS for this purposeI think you could do it using the portal event framework....subscribe
    the user to a custom event on login and then just raise the
    event...should be examples in the samples app....check the javadocs for
    com.bea.p13n.events.Event
    Martin

  • OIM 11g: send direct link to provisioning tasks in email notification

    Hi everyone!
    What do I want to achieve: I want to send email notification to admins in case if some task in OIM has finished with errors and this notification must have direct link to this task.
    To find direct link to task detail page I used document ID 748447.1. I found that this link must be formed in next way:
    http://ip.address:port/xlWebApp/OpenTasks.do?method=loadTaskDetails&entityKey=<TaskID>
    To create this link I must insert ID of the task to the end of the string.
    Next I created email template via design console and attached it in notification tab of the task to status ‘R’.
    The problem is next: during creation email template there are any variables that holds task ID.
    How can I obtain ID of task in an email template?

    Thanks for the quick response!
    I use a standard mechanism for sending notifications - via email template. This is a standard mechanism has a number of variables that are dynamically calculated at the time of posting. Among these available variables do not have the required me taskid.
    Is there any mechanism which would give an opportunity to expand the list of dynamically calculated variables in a way that I figured taskid?
    Or what do you mean by the phrase "+have to fetch it from the database+"?
    I do not know how to connect the logic of its own calculation of the required variables in the template notifications.

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

  • 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 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 r2 - Do we have User history in OIM?

    Hi,
    when we created a user in OIM, is there any time stamp for creation or last modification?
    It is OIM 11g r2.
    Thank in advance
    dongsu

    Hi Dongsu,
    Login to DB using OIM username and use below query and verify
    select * from usr;
    which gives all user details including modified date, creation data and all other details.
    Thanks & Regards,
    Chinni
    Edited by: chinni on 25-Apr-2013 16:50

  • OIM 11g R2 - API to validate user's password

    Hi,
    Is there any API available to validate if an user's password in OIM is valid.I have an user login and password and need to verify if the user's password in OIM is same the input password.I am not looking for the API to validate my password against password policy,for which I have the API.
    Thanks.

    One of the ways to do it would be to decrypt the current password and then compare with the new password. Where are you doing this check? Depending upon where you want to do this, you can use different ways to decrypt the current password of the user.
    There are various posts in the forum about decryting the password.
    On a side note, if your policy does not allow same password, then new password validation against the policy should suffice your requirement.
    -Bikash

  • Sending Notification to a User (common box) without attaching an employee..

    Dear all,
    I expect all of yours help on this doubt.
    I have created custom notification using wf_notification.send based on my logic, now I want to send these notification to common inbox in the Oracle. For this purpose i have created a user and attached the responsibility which includes notification inbox. I don’t want to attach an employee to this common user id because more than 5 people will be accessing this account. Because not attaching an employee, notification are not going to this common box, is there any way to solve this problem. When I am sending this notification to a user where employee already attached, it is working fine.
    Regards,
    Jojo George

    Dear Jojo,
    Can you please provide the details and procedure to create custom notifications. I need to create for oracle self service HR. i need to send the notifications of certain actions like termination, absence etc for particular persons
    Thnak you,.

Maybe you are looking for

  • Problem with BADI BADI_HU_DIALOG.

    I want to  display some customer fields in the screen 'Addit. Data' in  the Handling Units (transaction vl02n/vl03n). Therefore I use the BADI 'BADI_HU_DIALOG', method DEFINITION_SUBSCREEN. I need the subscreen in the details, so I use the flag 'IF_D

  • JPanel as TreeCellRenderer not shown

    Hello all, I'm experiencing a rather strange problem using a custom JPanel as a TreeCellRenderer for a JTree. Basically I needed to show a JLabel and an JTextArea inside a JScrollPane for each Node in my JTree. So I created a subclass of JPanel, impl

  • Split screen becoming unstable? (iMovie 11)

    Hello. I am having a problem with a split screen movie that I don't understand. I have two film clips of me drumming that were recorded on two camcorders simultaneously. I have imported them into iMovie 11, and used the split screen function to creat

  • Need JDBC 2-phase commit support

    The Oracle JDBC drivers don't support 2-phase commit. We need this for our product. Does anyone have any suggestions of third party products we might want to look at? TIA, Sandra null

  • Where is the Show menu

    Where is the "Show menu" referenced in the home sharing instructions?