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

Similar Messages

  • * Can We Send Email Notifications Only using User Task in Oracle BPM ?? *

    Hi All,
    Can we send any email notification to initiator, only from Oracle BPM User / Human task without using any notification activity.
    Is it possible to send email notifications using BPM User task alone.
    Any Help appreciated.
    Regards
    Satya

    Hi Satya,
    To send an email to the person who initiated the work item instance in the process when the instance reaches a human task:
    1. Ensure that the id of person who initiated the instance is stored in the process predefined variable called "creator".
    2. In the Interactive activity's input data mapping, map this "creator" process predefined variable to the corresponding "creator" attribute in the human task's execData.
    3. Open the human task -> click the "Notification" tab -> click the "+" icon in the upper right -> on the new row added to the bottom of the list, leave the task status dropdown set to "Assign" and change the recipent (the middle column) to "Initiator".
    Dan

  • Human Workflow is not sending Email notifications to AD users

    Hi,
    I'm trying to send email notification to the assigness from workflow. If I use the weblogic users with email attributes, Its sending mails. But once I switch to AD and use the AD users it's not. I have made the AD provider to be the first in the list and also able to login to the worklist app using the same user. Problem is that it's not sending mails.
    Can anyone please help soon.
    Regards,
    Thejas

    Can you explain what are AD users and how they are created(APIs)?
    Please check that the user exists in wf_local_roles table.
    select name,notification_preference, email_address from wf_local_roles where name = <AD Username>
    In order to send email notification, the user/role should have the proper email addresses and notification preference set to MAIL* i.e MAILHTMl, MAILHTM2, MAILATTH, MAILTEXT..etc

  • Auto provisioning users and send email notification to the users

    I currently have CUCM 10.5 setup to auto register phones and I use Cisco prime provisioning 10.5 to auto provision the users.
    Self provisioning is setup and users can call the IVR number enter the self service ID, which is their DN.
    what I would like to do is send an email notifying  the end user of their setup and how to use their telephony device Example (Self-service ID: 8888, auth code: 3333) is this possible from Prime Provisioning or CUCM.

    Thanks Jamie
    Wishful thinking I guess. It would have been seamless if they added that form of email notification to end users when auto provisioning. Anyways to get around that I used MS word mail merge and used the same spread sheet I used to batch provision the users to send the Self-service ID to the email contacts.

  • How to send Email Notifications to OID users?

    Hi All,
    I have a requirement where I need to send an email notification from the BPEL process. The Email notification has to be sent to a used who invoked the process the userName is provided in the initiation parameters. But I need to fetch the email id for the give userName from the OID which is integrated with the BPEL Process Manager.
    Is there any way I can fetch the email addresses from the OID in BPEL ?
    Thank you.

    Hi Folks, Finally I found the answer... If the APP server is integrated with the OID(Identity Management is set to Oracle Internet Directory and configured properly) the function ora:getUserProperty(bpws:getVariableData('myUser'),'mail') should return the mail property of the user object in OID.
    If your Identity Management is set to the File-Based system then it will get the user properties from the $ORACLE_HOME/bpel/system/services/config/user_properties.xml.

  • How can i send email notification from UCM?

    Hi
    I am new to this technology. I need to send email notification to the user's, whenever file is checked-in. What is the procedure to send an email notification let us take GMAIL from UCM.
    1) Now I have installed UCM in my machine. Do I need to install any other software to implement this feature(sending email)?
    2) I read it in a document, that configuration is needed in a config file in order to send email. What details do i need to give in these fields,
    HttpServerAddress= ?
    MailServer= ?
    SysAdminAddress=?
    SmtpPort=25
    HttpRelativeWebRoot=/idc/
    CgiFileName=idcplg
    UseSSL=No
    WebProxyAdminServer=true
    3) Do I need to install any mail server? If so which software can i go with?? Is it possible to send email to gmail or yahoo acccount without installing mail server ???
    Regards
    Raj

    You will need to have an SMTP server of some sort that you can use. I think out of the box, you may only be able to use an SMTP server that allows anonymous sending or sending unauthenticated (e.g. an internal server). Any good SMTP server (that is not an internal server) would not allow this for security reasons.
    Thus, I think if you want to use an external SMTP server such as Gmail, you will need to write custom Java code. See this thread for more information: UCM SMTP server Configuration
    Jonathan
    http://jonathanhult.com

  • Who can we send email notification

    hi,
    we had create user and provide access to the groups using the maxl scripts in the shell scripts.
    how can we send email notification for an user after access has been granted to the user using Maxl scripts in shell scripts, and if the user is not created due to error we should not send email to the user.
    the user email id will be in the table.
    Thanks ,

    Hi Rajasekar,
    Actually, when the workitem is manually forwarded to the correct agent, the mail should also be sent to the correct agent explicitly. Usually this happens quiet rarely.
    You can see the new Agent(Forwarded Agent) in the Workflow Log. I think you can even get the forwarded agent in SWWWIHEAD table. Check this out.
    You dont have to change any coding in WD Side.
    Regards
    <i><b>Raja Sekhar</b></i>

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

  • Unable to send Email Notification for Oracle Identity Manager 11g for users

    Hi All,
    Can anyone please share a workaround to send email notifications when user is created through trusted recon in OIM 11G.Please Help Me out.
    \oim_user

    Hi
    Do you just create the user in OIM and not anywhere else?
    I have cofigured notification on the the target resources that i automatically assign to users as soon as they are created via trusted recon. Let say a user gets AD rersource. Ill notify whoever i want from there.
    Another way i did it was using the post eventHandler code. I call an email service to notify admins on the status of the recon and post recon eventhandlers. snippet below..
    tcEmailNotificationUtil emailNotificationUtil = new tcEmailNotificationUtil(dbReference);
    emailNotificationUtil.constructEmail(emailTemp);
    emailNotificationUtil.setBody(buildMailBody(message));
    emailNotificationUtil.sendEmail(toAddress);
    Let me know if this gives you an idea.

  • 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

  • Can I send email invitations to local users instead of push notifications?

    I see in the documentation that "Attendees can be invited to events via email if they don’t have an iCal Server account."  Is there a way to send email invitations to local users instead of push notifications?  The server would be migrating from Exchange and everyone is accustomed to/wants email invitations for calendar events.
    I've already purchased a copy of Lion Server (10.7.4) and pretty much everything is setup.  Sadly I'm just now running into this issue.  Email invitations to non iCal server accounts work fine.
    Thanks for the help.

    Hi gracem0324,
    Go to Settings>Messages>Send & Receive, and click on your Apple ID and sign out of Messages. Then sign on again. Sometimes it needs to reset itself....
    Cheers,
    GB

  • Send email notification including file name and description, when users upload files to particular sub-folders?

    In my site collection i have a document library and document library has customer folder, each Customer folder has 4 sub-folders. i want to send email notification with file name and description to group and users, if they upload any files to Particular
    folder name "Final" not others 3 folders. would it possible to accomplish this solution? if yes please suggest which way i can do that. 
    Note: we have different groups of people, for example Team A and Team B. if files uploaded by any member of Team A, notification should sent to only Team A and specific people not Team B.
    Thanks in advanced for any help!

    Hey Rakib,
    You can add your group and those other people in To field of send mail activity. Have below snapshot for your reference.
    If Current Item URL Contains FolderName (i.e. Final) & Is Current User a member of of Team A
    Send Email to Team A; People1; People2;
    Thanks. Please mark as an answer if it helps.

  • Send email notification to user upon user creation

    Hi,
    Application : 12.1.1
    DB:11.1.0.7
    how to send email notification to user upon user creation in Oracle EBS r12
    Thanks
    Edited by: 843272 on Jun 19, 2011 5:32 AM

    You can create an alert for this requirement from 'Alert Manager' responsiblity.

  • Send email notification after unlock account in OIM 11gr2

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

    any suggestion...

  • Email notification of create user with password

    Hi all
    After creating user in oim with all details like user-id , password, user name,email....etc.
    The same information will be sent to his mail-id.
    Is OOTB template works for it, if yes which template i need to use
    Or if i go for custom which steps i have to follow
    Thanks in advance

    Hi,
    I am working on a similar use-case. It would be great if you could share the solution of this task if you have got it.
    I have figured out this much till now
    Create User Self Service Notification Template is used.
    Need to create a Mail Server IT Resource with the name Email Server as that is the default value in Email Server System Property.
    and we need to have RequestNotification system property as 1
    Let me know if i have missed out anything.
    Problem is after doin all these steps i am still not able to send the notification ...if you could help me out ...the log says unexpected error occured while sending the notification.

Maybe you are looking for

  • Rolling Months - Month By Month based on month of variable ending date

    Post Author: jeffr CA Forum: Formula Hi, We want to do a rolling 3 month report, based on the ending month where the ending date is entered as a run time parameter, for example run-time parameter - {?Ending Date} entered is 15 June 2007 First month -

  • 3 People Can't see the same messages in a Shared Mailbox

    Three of us at work monitor our Boss' shared mailbox (demanding VIP).  We all have the same permissions. It has become insanely common that collectively we do not see the same "Inbox" messages for our boss. Generally we see the bulk of the email. On

  • HT2417 says my voicemailbox is full but i only have 3 saved messages

    iphone 4s my voicemail will not take any messages, says its full but i deleted all but 3 mesages. it even says your mailbox is full, you have 3 saved voicemails

  • IPhone won't work with Airport Extreme

    I got my iPhone when they were released, but I still can't get it to connect to my home's Airport Extreme Wi-Fi network. My software is updated weekly, so I don't think that can be the problem. When I switch the iPhone settings to Wi-Fi, my home netw

  • Screen nice and bright when using power thru the adapter

    Hi there I am a new macbook user and I am wondering if this is 'normal'. I have two questions about the screen on my macbook. When I use the macbook while it is plugged into the wall outlet my screen is nice and bright. If I unplug it, and the batter