OIM Email Notification issue with custom E-mail user attribute

Hi All,
We have a requirement where we need to send e-mail notification programmatically after a OIM account is created for the user through trusted reconciliation. Post process event handler is being used for this. We have created our own Custom Notification Event, created new Notification Template of the type Custom Notification Event.
For storing e-mail address for every OIM user we are using custom attribute "Email Home". Now the problem is NotificationService is by default picking e-mail address from OTB attribute "Email". Is there a simple way to pick the E-mail address from custom attribute? Below is sample code that we are working on. Any ideas on this would be very helpful.
NotificationService notService = Platform.getService(NotificationService.class);
NotificationEvent event = new NotificationEvent();
String[] receiverUserIds= {"<<*Comma separated list of OIM USER IDs to whom notification is to be sent*>>" }; sets the email address in the OTB "Email" attribute as receivers
LOGGER.info("Receiver User ID set");
event.setUserIds(receiverUserIds);
event.setTemplateName(poTemplateName);
event.setSender("<<*OIM User ID of sender*>>"); /// sets the email address in the OTB "Email" attribute as sender
HashMap<String, Object> templateParams = new HashMap<String, Object>();
templateParams.put("usr_login",poUserId);
LOGGER.info("template Param set" templateParams);+
event.setParams(templateParams);
notService.notify(event);
Thanks

Hi,
any updates on this issue?
is there any possibility to resend the old notifications manually?
Thanks,
Prasad

Similar Messages

  • E-Mail notification issue with date

    Hi All,
    i am facing following email notification issue, could please clarify.
    E-mail notification that was sent to employee this morning, March 17, 2009, but actually the email is dated February 3rd and refers to the January timecard, but she received it today, for the February timecard.
    Please let me know why this was happening. I don't know if this issue on email server or workflow design.Thanks.
    Regards,
    Prasad

    Hi,
    any updates on this issue?
    is there any possibility to resend the old notifications manually?
    Thanks,
    Prasad

  • Email notification issue in some schemas

    Hi,
    My problem is almost identical as here DBMS_SCHEDULER send email notification issue
    One privileged scheduler user - user1 receive email notifications while two another (user2, user3) no.
    More plot is below i know 'what' resolve the problem but don't know how to do it :-)
    I want to execute code below on user3 schema, we tried this successfully on user2 (code executed directly on schema with temporary sys.dbms_aq access) so he receive his notifications.
    Problem is - we do not have direct access to second account (user3) how to execute this code as user3 ?
    declare
      reginfo1    sys.aq$_reg_info;
      reginfolist sys.aq$_reg_info_list;
    begin
      reginfo1    := sys.aq$_reg_info('SYS.SCHEDULER$_EVENT_QUEUE:SCHED$_AGT2$_X',
                                      1,
                                      'plsql://SYS.SCHEDULER$_JOB_EVENT_HANDLER',
                                      null);
      reginfolist := sys.aq$_reg_info_list(reginfo1);
      dbms_aq.register(reginfolist, 1);
    end;
    Already tried create procedure on user3 and execute immediate annonymous block but it still register with USER# 1 not 3 in  DBA_QUEUE_SUBSCRIBERS.
    More detailed plot:
    Jobs for user2 and user3 was created by user1, so JOB_CREATOR was user1 but OWNER was user2 or user3.
    We started with notifications configuration witch was ended with error on both user2 and user3 accounts:
    ORA-24093: AQ agent SCHED$_AGT2$_XX not granted privileges of database user1
    W get rid wit this using
    dbms_aqadm.enable_db_access(SCHED$_AGT2$_2, user1);
    dbms_aqadm.enable_db_access(SCHED$_AGT2$_3, user1);
    So user1 get privilege on agents for user2 and user3
    I believe error was already there because DBMS_SCHEDULER.add_job_email_notification is more automatic it probably registered subscriber that belongs to user2 and user3 with wrong USER# ID that belongs to user1.
    Database is 11.2.0.3

    it doesn't work because notifications are set from user1 account so USER# is still 1 even when I removed record first.
    This is my aproach based on Ask Tom: On Becoming Others, Limits, and Restoration
    >sqlplus user1
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    SQL> grant execute on sys.dbms_aq to user1;
    Grant succeeded.
    SQL> alter user user3 grant connect through user1;
    User altered.
    SQL> connect user1[user3]
    Enter password:
    Connected.
    SQL> create or replace procedure sched_not_add_q as
      2    reginfo1    sys.aq$_reg_info;
      3    reginfolist sys.aq$_reg_info_list;
      4  begin
      5    reginfo1    := sys.aq$_reg_info('SYS.SCHEDULER$_EVENT_QUEUE:SCHED$_AGT2$_3',
      6                                    1,
      7                                    'plsql://SYS.SCHEDULER$_JOB_EVENT_HANDLER',
      8                                    null);
      9    reginfolist := sys.aq$_reg_info_list(reginfo1);
    10    dbms_aq.register(reginfolist, 1);
    11  end;
    12  /
    Procedure created.
    SQL> exec sched_not_add_q;
    PL/SQL procedure successfully completed.
    SQL> drop procedure sched_not_add_q;
    Procedure dropped.
    SQL> connect user1
    Connected.
    SQL> revoke execute on sys.dbms_aq from user3;
    Revoke succeeded.
    SQL> alter user user3 revoke connect through user1;
    User altered.
    SQL> exit;
    >
    So it works now.

  • Email form script with custom text field and drop-down menu?

    Hey, I'm building a website in iWeb - http://dl.dropbox.com/u/19707357/Website/craftpackage.html
    And I was looking for a script that could possibly send an email to me with the info a user chooses from/puts in 1. dropdown menu 2. text field 3. another text field. I'd be awesome if the fields could have a custom background or a transparent background.The drop-down menu could have any background, but it would be awesome if it could be made with custom images !

    Basic question.
    What have you yourself done to find out?
    Nothing?
    Start here :
    http://www.google.com/search?q=how+to+make+a+mail+form
    http://www.google.com/search?q=dropdown+menu+with+transparent+background
    Unfortunately, it has no dropdown menu :
    http://www.wyodor.net/blog/archives/2010/01/entry_301.html
    Btw, dropdown menus in forms at select menus. These are not the same.
    http://www.google.com/search?q=select+menu+form
    http://http://www.w3schools.com/html/html_forms.asp
    So start practicing and once everything works the way it should, display it in a html snippet.

  • Android 2.2 update coming in early September- Will it address the email notification issues??

    The upcoming Android 2.2 update for Droid X. Will this update address the email notifications issues?? I don't have a corporate email account, but use my Droid X for my personal business. I love this phone but the email is annoying. The emails are not coming through quick enough, I don't get notified when new email arrives. I have to do a refresh to lear that I have new emails in my inbox.
    I want like to know if the upcoming 2.2 update will address these issues for personal email like aol, yahoo etc. I know they mentioned something about exchange servers being faster. This is a disappointment for me, I thought I have push email with Droid X but not really. Can Verizon comment on this?
    Thanks,

    I did all those, ie. set my email config to push email, battery on performance mode, check my outgoing and incoming servers and ports. All are corect settings, I even configured all my aol accounts with gmail settings to see if that would work but still not getting push emails. I even did a factory reset. I know this is an issue because I also checked Motorola support forums, a lot people were experiencing what I am going except that I think most them have corporate email and exchange issues.
    I don't know whether this could be addressed with the upcoming 2.2 update not just for corporate but personal emails as well, VERIZON ? Motorola??
    Thanks

  • The Java plugin has created a time unfriendly issue with my e-mail account, I can not open or send any e-mail without using this plugin, how can I eliminate this problem without dropping m. firefox?

    A few days ago I tried to e-mail a friend, when I started A box came up and it required me to add a plugin..Java. I contacted my e-mail courier and microsoft, they told me that is was a plugin from Mozilla Firefox. Since then I must go through Java to send or open an e-mail... this is NOT to my satisfaction, it takes too long for all of this to open and if it is not cleared , I am dropping Mozilla and going elsewhere. Why has this occurred? Is this a result of the last update? If so can I delete the last update and continue on the other version?
    == This happened ==
    Every time Firefox opened
    == last week

    Sorry, I have no idea what you mean by '''"The Java plugin has created a time unfriendly issue with my e-mail account, I can not open or send any e-mail without using this plugin,"'''.
    If you think your problem is caused by the Java plugin, you should visit the Java support forum for assistance.
    http://forum.java.sun.com/index.jspa
    If you could explain what you mean by '''"time unfriendly''' issue with my e-mail account", maybe we'll be able to help you solve that issue.
    It might be helpful for us if we knew exactly which web-mail provider you are using. It seems strange to me that viewing or sending web-mail would actually "need" Java for operation, its more likely that some other item on the web page needs Java to run some advertising or other garbage that isn't a necessary part of the web-mail functionality you want to use.

  • Email Notifications problem with iphone 4

    I can't seem to turn of my email notifications sound for either mbox mail or "iphone mail" (googlemail account), unless the phone is on silent. For the mbox mail I've gone to settings>mbox mail>sounds and turned them off for new mail and sent mail, but I still get an alert sound when new mail comes through. The only way I can stop it is to turn off push mail notifications in the mbox mail program itself, but then obviously I have to then manually fetch my mail which is not ideal.
    For the "iphone mail" i've gone to settings>sounds>new mail and turned it off, but I still get a notification sound.
    Has anyone else found this or am I doing something wrong?

    Ok, so now I've managed to turn the sounds off for "iphone mail", but now push mail is not working for mbox mail. Do I need to turn the phone off and on for changes in mbox mail to take effect?

  • Comcast Issues with Mountain Lion Mail Client (v.6)

    I am having same issues receiving my e mail in Mail in my comcast account.  I did have google but deleted the e mail and even my entire google account to hopefully resolve problem.  Problem remains.  I have tried so many things and am waiting to hear from a tech.  Was on phone with Apple for hours on Sat. morning but no resolution yet.  I am wondering if it is an i cloud issue. 
    <Edited by Host>

    Hi,
    This thread was created by someone who had issues with their Google Mail not being fetched by the Mail app in Mountain Lion.
    Their presumption was that it was the Mail App.
    It turns out Google have had a problem and it not only effects Macs using Mountain Lion.
    This Google Issue should in no way effect the fetching or sending of Mail via your ISP (Comcast) Login.
    I don't see any info in your post that links your Comcast account to iCloud so it is difficult to follow your reasoning that iCloud is involved.
    This means you have a different issue to the Original Poster.
    Unfortunately it is not likely to get addressed here  (Broadly speaking the presumption is that a different question should have it's own thread)
    It can be difficult to judge sometimes if you have a different issue or not.
    I would suggest starting your own thread.
    8:08 PM      Tuesday; August 14, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Issues with Custom Chart

    Hi,
    I am facing some issues with custom charts.
    1. X Axis value is getting cut off. Given date as x axis parameter and last 2 digits of date is getting cut off. (format like 19-Apr-2011T00:00:00). And this value cut of happening only for custom chart.
    2. On right click of the custom chart, when i am selecting Preview, it opens a new pop up window with and error as Error: "Application error occurred during the request processing.". No preview is being generated.
    3. In Server Scaling, i checked Use global auto scaling, and many times it is showing improper y axis or mutiple y axis values with the same value or it is displaying improper global range
    kindly help
    Regards
    Muzammil

    Muzammil,
    Without seeing your data and your chart configuration, it is difficult to understand exactly the issues you are encountering.  I have the same JRE and the same version and build of MII as you.  I have no difficulty with the scaling or with Global Range, but problems displaying the date in my tests.
    I would suggest the you enter a ticket into the SAP Support System, and enclose a  copy of your data (run the query, use Browser with Content Type = text/xml) and export a copy of you display template.
    Lastly, what type of query are you using - sql, tag?
    Kind Regards,
    Diana Hoppe

  • Issues with Custom Settings

    Is anyone else having issues with custom settings on 10.8.2?
    I am trying to configure basic office 2011 settings based on the keys located at http://afp548.com/mediawiki/index.php/Office_2011_Settings using a device group.
    However, when I log into an authenticated user's machine and load pref setter I can see that the customizations are not found on the newly managed machine.  I know the push updates are working, but for custom settings I seem to be getting nothing.
    My questions:
    - Am I just flat our doing it wrong? (meaing, should the plist files be copied over)
    - Are there common issues to look out for?
    - Can anyone share basic custom settings they have that work?
    Thanks!

    Thats a bad idea. Office dos not react well to having it's prefences copied from one machine.
    Check out: http://www.officeformachelp.com/office/administration/mcx/
    It's a good guide for MS Office prefs.

  • Email notification is not sent to the user and admin

    Hi gurus ,
    We have a incident  that user and admin is not received the email notification to lotus notes id.other users receiving the notifications from the same application.Same user and admin  receiving mails from other applications
    SWI1 no error but in SOST there is no record of a mail sent.
    Have checked SU01 the user has an email address maintained both in ESS and R/3.
    As per config SO16 - home address is selected.
    In the profile his external email id is selected as home address.
    what should i check next to sort out the issue.
    Please help .
    Sampada .
    Edited by: Siri Sampada on Jan 15, 2011 11:11 AM

    This was a workflow issue

  • When will Apple resolve its issue with Adobe so iPad users can use flash?

    When will Apple resolve its issue with Adobe so iPad users can access flash?

    That isn't going to happen. Adobe has not only given up on iOS, they have given up on all mobile device now.
    Why do you think you need Flash?
    Allan

  • TS3899 iOS email notification bug with exchange mail server

    Hi,
    Recently I noticed that my iPhone often plays new email notification sound but there is no new emails shown in notification centre and unread numbers on the email icon stays the same.
    I have an email account set up and its connected to Microsoft exchange mail server, I have some sub-folders under my Inbox, I also have some rules set up to automatically move some non-impotrent emails to those sub folder.
    Under fetch new data settings I choose push my inbox as default, but I didn't tick those sub-folders under my inbox.
    Also under notification settings I have enabled everything for Mail app.
    After some invistgation I found out that everytime this happens I have a new email in one of those sub-folders under my inbox, although it should only be updated manually..
    Anyone have any Idea on how to prevent this from happening??

    While this is only a guess, I suppose that you have these rules set up at the server. The mail hits the inbox, and then is filtered to the sub-folder. I'm guessing that your notification comes from the mail arriving at the inbox, but before it is counted there, it has been moved to the sub-folder. Your opening mail allows the folder to get populated on the phone. I'm not sure if there is a cure for that, and again, that is pure conjecture on my part. Better than anything anyone else has posted.

  • IOS email notification bug with exchange mail server

    Hi,
    Recently I noticed that my iPhone often plays new email notification sound but there is no new emails shown in notification centre and unread numbers on the email icon stays the same.
    I have an email account set up and its connected to Microsoft exchange mail server, I have some sub-folders under my Inbox, I also have some rules set up to automatically move some non-impotrent emails to those sub folder.
    Under fetch new data settings I choose push my inbox as default, but I didn't tick those sub-folders under my inbox.
    Also under notification settings I have enabled everything for Mail app.
    After some invistgation I found out that everytime this happens I have a new email in one of those sub-folders under my inbox, although it should only be updated manually..
    Anyone have any Idea on how to prevent this from happening??

    While this is only a guess, I suppose that you have these rules set up at the server. The mail hits the inbox, and then is filtered to the sub-folder. I'm guessing that your notification comes from the mail arriving at the inbox, but before it is counted there, it has been moved to the sub-folder. Your opening mail allows the folder to get populated on the phone. I'm not sure if there is a cure for that, and again, that is pure conjecture on my part. Better than anything anyone else has posted.

  • Oracle iLearning 5.0 on Windows and email notifications issue

    Hi!
    We are upgrading from iLearning 4.3 to iLearning 5.0 on Windows 2000 server and I have a question related to that.
    iLearning 5.0 is certified for Windows.
    The accompanying release.txt states that:
    --'Email', 'Email and Web' notifications options for Learner Rating and Authorized Enrollment/Unenrollment are not available on Windows platforms. Only web-based notifications should be used.
    Through a Technical Assistance request (TAR Number 4439000.992 ) I've found that this problem is due to the use of Workflow 2.6.2 stand-alone which requires sendmail, which is not available on Windows.
    This worries me because I want the system to be able to:
    * notify admin when authorization is needed for enrollment
    * notify course participants about changes or a cancelled course.
    * Certification reminder and expiration
    * Assessment submission
    * Notification to all learners currently enrolled in an offering
    The suggested workaround from Metalink is to use a Unix/linux server.
    Metalink suggestion:
    "you can set up a notification mailer on UNIX to work with stand-alone Workflow
    hosted on Windows. The following MetaLink article is a step-by-step guide on how
    to do this: Note:254973.1 How To Configure UNIX Sendmail To Work With Oracle Workflow Running On Windows
    This would be useful if UNIX was an option for me. It is not.
    I have some questions:
    1)Can I use WorkFlow 2.6.3.5 on windows with iLearning 5.0?
    I know Workflow 2.6.3.5 is working with MS Exchange.
    2)Can I use sendmail in some form or shape?
    IIS 5.0 (or 4.0) has a mail gateway that can be utilized by a sendmail program.
    Sendmail software for windows:
    http://www.glob.com.au/sendmail/
    http://www.indigostar.com/sendmail.htm
    http://www.ntsendmail.com/
    http://www.windowsitpro.com/Windows/Article/ArticleID/5289/5289.html
    Has anyone tried any of theese?
    I'd like to make a suggestion to my IT department on how to solve this issue.
    Thanx for any help in advance :-)
    Kristian Amlie, Bergen Norway

    There are a couple of patches available that allow a customer to upgrade their Oracle iLearning database to 10g and with that, upgrade Oracle Workflow to version 2.6.3 which supports email notifications through workflow on windows.
    Patch #s are 4321769 and 4485520
    Thanks!
    Scott

Maybe you are looking for