OIM R2: ApprovalTask Notification

Hello.
I have a custom SOA (11.1.1.6.0) approval workflow which is sending an email notification to the approver, to approve a user identity creation (submitted via self reg to be exact), which is good.
However the part that still needs fixing is the email format: I'd like to customize this default email notification (which btw has a link called 'Worklist Applications' which takes you to some BPM Worklist login page...Not sure what that's all about...).
I believe I got this email after I enabled SOA email notification in EM:
In "Application Defined MBeans:IAMAppRuntimeMBean:SOAEmailNotificationProviderMBean", I set Enabled attribute to True. I also see the attribute called 'SOA Email Notification Provider composite ID' with value 'default/OIMNotification!1.0'.
In the workflow itself, I use a ApprovalTask.task, which has some settings for Notification: for example the Advanced tab has a checkbox called 'Make notifications secure (exclude details)'...But from there, not sure how to customize look and feel, as well as content of the email...
Moreover I expected the approval email to be in the format of one of the default Notification templates seen in System Management in OIM, for example the one called 'Request Identity Creation'...Why didn't OIM use that format, I wonder...
Thoughts?

user8663548 wrote:
Hello.
I have a custom SOA (11.1.1.6.0) approval workflow which is sending an email notification to the approver, to approve a user identity creation (submitted via self reg to be exact), which is good.
However the part that still needs fixing is the email format: I'd like to customize this default email notification (which btw has a link called 'Worklist Applications' which takes you to some BPM Worklist login page...Not sure what that's all about...).There is a property "Show worklist URL in notification" which would hide this URL from notifications. Worklist App is the default SOA application via which you can approve/rejects requests and etc.
I believe I got this email after I enabled SOA email notification in EM:
In "Application Defined MBeans:IAMAppRuntimeMBean:SOAEmailNotificationProviderMBean", I set Enabled attribute to True. I also see the attribute called 'SOA Email Notification Provider composite ID' with value 'default/OIMNotification!1.0'.
In the workflow itself, I use a ApprovalTask.task, which has some settings for Notification: for example the Advanced tab has a checkbox called 'Make notifications secure (exclude details)'...But from there, not sure how to customize look and feel, as well as content of the email...Use Notification Service: http://docs.oracle.com/cd/E12483_01/integrate.1013/b28981/notif.htm
Or use notification from within the task
http://docs.oracle.com/cd/E16764_01/integration.1111/e10224/bp_hwfmodel.htm#BABJBCAH
For HTML notifications, you would have to use XSLT transformation as per section 14.3.1.2 Formatting the Body of an E-mail Message as HTML in http://docs.oracle.com/cd/E12483_01/integrate.1013/b28981/notif.htm
>
Moreover I expected the approval email to be in the format of one of the default Notification templates seen in System Management in OIM, for example the one called 'Request Identity Creation'...Why didn't OIM use that format, I wonder...No both use different one, both applications are different and have their own architecture and etc. OIM is just leveraging SOA for approvals.
>
Thoughts?Note my response is based on my knowledge if R1, but the integration has not changed much on R2 either. Others can jump in.
-Bikash

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

  • 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 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 - 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 stopped sending notification mails after patch

    Hi all,
    We're currently developing an OIM system for a client. We patched the system using patch #8484010 from 9.1.0.1 to 9.1.0.2, after which the system wasn't able to send any task assignment notification mails to the assignee. I'm not 100% sure that it has something to do with the patch, but it seems like it has. There is nothing significant in the logs, even with relevant logging levels set to ALL. Did anyone else stumble upon such an issue? If not, does anyone have a clue?

    Try following the instructions in the below thread to fix the issue.
    https://discussions.apple.com/message/18170959#18170959

  • 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

  • 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

  • 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 - Reconciliation Events notifications

    Hi. I have a customer who is asking if it is possible to configure mail notifications for failed reconciliation events.
    As far as i know oim does not provide this functionality and a possible workaround would be to manage this through a scheduled task that reads those recon events and send the notifications. Is that correct or has oim any OoTB functionality for this.
    Thanks in advance.
    OIM version: 11g

    OIM don't have OOTB functioanlity for this. You can either configure BI publisher and using query you can extract data for failed recon events and using schedule task mail this report daily to manager.
    Or You can directly configure schedule task to find recon events, as you are already doing it.
    regards,
    GP

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

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

  • Notifications are not being sent when Bulk Load is done

    Hi All,
    I have OIM 11g setup on my machine. I use the bulk load utility for loading the user data. Now in my OIM setup, the notifications are being sent for all stuff like Reset Password. New account creation and other. However when I bulk load the users, notifications are not sent to their mail ids. I am running the scheduled job "Bulk load Post Process" which is necessary so that the users are synced to the LDAP repository. I have the LDAP Sync option checked and also the Notifications option set to yes in this scheduled job. Though the users are loaded successfully and are synced properly, the notifications are not sent. Can some one please guide me as to what could be the problem here?
    Thanks,
    $id

    The code is probably only called in the Event method of the event handler that sends the notification. You can check the mds files and find the notification you are looking for and then use a code decompiler to find the class that is called. You can then use this code as a sample, or write your own notification code and create an event handler that runs in the BulkEvent.
    And on another note there is also this System Configuration Variable: Recon.SEND_NOTIFICATION which is set to FALSE by default.
    -Kevin

  • Customize Process Task notification

    Our goal is to send a notification to group of users (members of a Role) when a Siebel Account is successfully created.
    To accomplish this task we used the legacy feature of OIM to send notification by doing the following:
    - create a custom Email Definition of Type = "Provisioning Related" using OIM Design Console - Process Management - Email Definition
    - add the above Email Definition to the provisioning task using OIM Design Console - Process Management - Process Definition - Siebel Process - Tasks - Create User - Notification
    This works as expected except the following issues:
    1. the Email Definition contains more than one field of type Date that are shown in English format (e.g. June 8, 2012) we would like to parse date values in a different format (e.g 2012-06-08).
    We have already tried to change the Email Definition attributes Language/Region from values "en/US" to "it/IT" but the notification stops to be sent until we rollback to original values "en/US"; is this a know bug or a miss configuration?
    In any case, is the Language/Region related to the date format?
    2. some attribute values in the Email Definition should be "transformed"
    Any suggestion how solve the above issues?
    As a workaround we coded a Java Plugin that sends email notifications (in this case we are able to write the email content as we want) and trigger this Plugin by an Event Handler but only for events related to the OIM User (CRETE/MODIFY/DELETE/etc..); we have no idea how trigger the same Plugin/Event Handler for the Siebel Account events. Is it possible? How?
    Thanks and regards,
    Gabriele.

    To "trigger the notification task (new task) upon Sucess response code of Siebel create user task" you mean:
    - create a Java Plugin with all the code needed to create and send the email notification?
    - create an Adapter of type Process Task that triggers the above Java Plugin passing all the required variables?
    - create a new Process Task that trigger the above Adapter and maps all the defined variables?
    - finally, set the above Process Task as of the original Create User Process Task?
    Is this correct? Did I miss some steps? Did you tried it?
    Thanks,
    Gabriele.

Maybe you are looking for

  • What speakers do I need for a X-FI Platin

    Well since I heard that the output for sound cards as the X-FI is always Digital, and not analog, what type of speakers do I need for the card? Will I be able to connect the card to a home stereo with L and R inputs? I am asking this because on my SB

  • Adding New Field and Passing Values Between Screens

    In the Oracle Projects Create Project screen, I've been asked to add a new LOV for Organization (LOV copied from a subsequent page) - and then pass the selected value to the next page and default in the value based on the selection on the first page.

  • Dynamic Queries in ABAP?

    Hi, I'm currently trying to develop an RFC FM that can create a dynamic query. I want to use the FM to query different tables without having to write n number of different cases. For example a particular application might need to query table xyz with

  • Web Rich Client Login

    Hi, I'm having problems accessing BO Web Intelligence Rich Client. Here is our setup: - SAP BO 4.1 SP2 - Two SAP BW backends - Authentication for the 2 BW backends configured, users and roles imported - Two OLAP connections configured, one for each B

  • How to execute a unix/dos command in Java

    Hi, I want to execute dos/unix commands in my java program. Can anyone tell me how to do this. Say I want to restart my httpd daemon using the command: "service httpd restart" or test my httpd.conf file using the command "testparn" thanks in advance