How to send email notifications from a workflow?

I am having problems trying to get notification emails to work from a workflow. I have done the following:
1.Checked notification to file is commented out in waveset.properties
2.Set SMTP server and port setting in Configure > Servers > email template
3.Set SMTP and port setting in Account creation notification template.
4.I am then running the following workflow code in reconsiliation per user workflow:
<Action id='0' name='Send Notification' application='com.waveset.provision.WorkflowServices'>
                      <Argument name='op' value='notify'/>
                      <Argument name='template' value='Account Creation Notification'/>
                      <Argument name='type' value='email'/>
                      <Argument name='toAddress' value='$(email)'/>
           </Action>I am currently getting an error:com.waveset.util.WavesetException: toAddress must be specified.
Whatever I try I cannot get the email template to pick up the email address for each user from the workflow.
If I add a valid email address into the "toAddress" in the Account Creation Notification email template, the error goes away and reconsile completes, but no email is sent.
Could someone advise what I can look into to sort this and get it working.

You're running into a common IDM bug. I've hit it a few times too. I'm not sure of the root cause (sometimes using notifications as you did works for me sometimes it doesn't) but there's a workflow sub-process called "Notify" that you might look into. It's got a few extra features (such as retries) that the direct provisioning class does not.
Call it using something like the following action:
      <Activity name='Notify User'>
        <Action id='0' name='send notification' process='Notify'>
          <Argument name='template' value=Template'/>
          <Argument name="from" value="[email protected]"/>
          <Argument name='to' value='$(userView.global.email)'/>
        </Action>
        <Transition to='end'/>
      </Activity>

Similar Messages

  • How to send email notification in different languages in Workflow ?? Urgent Help Needed

    Gurus,
    How to send email notification in different languages in Workflow? Can anyone send me some useful guidelines or link where it is mentioned.

    There is no profile option available to specify whether send or not send email notification.
    But after login, in preferences youcan set the notification preference value by which you can configure whether to send or not
    to send email notifications.
    If you select ''Do not send me mail' or 'Disabled' it will not send.
    For other values it sends the notfication in different formats like text, html, attachments etc...
    Edited by: sarojak on Jun 27, 2011 7:18 AM

  • How to stop email notification from apple support site.

    how to stop email notification from apple support site. please inform me

    If you know the thread or community that is sending you the emails you can go directly to those and skip the rest of this however if you don't remember or are still getting email after going to the community read on.
    Stopping email from ths site can be difficult, it is a multi step procedure.  See the link Stopping emails from ASC which Neil posted for all the details.
    regards

  • ICal keeps sending email notifications from all agenda items from the last 2 years. After laptop start up this action is repeated every hour. How can I stop these 300 emails coming in every hour?

    iCal keeps sending email notifications of all agenda items from the last 2 years (then I bought my laptop). After laptop start up this action is repeated every hour. How can I stop these >300 emails coming in every hour?

    Hi,
    We have rolled out a fix for this issue.
    Please log off and log back in to your machine and the issue should be resolved automatically. In case that does not work, please manually run the msi installer posted here (may require reboot).
    For details, please refer to the KB article here: Multiple RunOnce keys created 11.0.10 and 10.1.13 Acrobat | Reader
    Please let us know if you still face any issues.
    Thanks,
    Ashu Mittal

  • 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

  • Send Email Notification - Time Based Workflow

    Hi,
    I have a requirement similar to the ones posted on this thread Re: Send notification on pre-defined date
    but have couple of questions on the logic. Can anyone please suggest a solution for this requirement
    The requirement is to send an email notification to an owner if the Opportunity remains with sales Stage = "Inquiry" for more than 90 days.
    Here's what I tried
    Work Flow Name - Opp Closure - New
    Trigger Event - When New Record Saved
    Rule Condition : Sales stage = "Inquiry" and modified date = Created date
    Action
    Wait -
    Period - 90 days
    Send Email
    Wait 7 days
    Updates Slaes Stage from " Inquiry" to "Closed/Lost"
    The above workflow will take care of New opportunties that are created and never modified
    I am having issues figuring out the logic for modified record
    Work flow Name - Opp Closure - Mod1
    Trigger Event - When Modified Record Saved
    Rule condition : sales Stage = "Inquiry" and <IndexedBoolean> IS NULL or <IndexedBoolean> = "N"
    Action
    Wait - 90 days
    Workflow Name - Opp Closure - Mod2
    Trigger Event - When Modified Record Saved
    Rule Condition : Sales stage = "Inquiry" and <IndexedBoolean> IS NULL or <IndexedBoolean> = "N" and (today()-<LastUpdate>) > 89
    Action
    Wait - 0 days
    Send Email
    Wait 7 days
    Updates Slaes Stage from " Inquiry" to "Closed/Lost"
    Update IndexedBoolean = 'Y'
    But here I am confused about a scenario where after waiting for 90 days when it exceutes Opp Closure - Mod2 and if its been 20 days since the record was last modified, the condition fails and actions do not get executed which is fine but what if the record is never modified after that period and remains in Inquiry status , how will I capture that scenario and execute the workflow actions. Please advise
    Regards,
    SKJ

    Hello SKJ
    Your requirement is to send an email notification to an owner if the Opportunity remains with sales Stage = "Inquiry" for more than 90 days.
    New Record Saved.
    This means even the opportunity can be modified but the sales stage should not change. For e.g. when i create a new record, I can have the sales stage as "Inquiry" and save. At a later date I can modify the description of the opportunity (this would change the modified date), but the sales stage remains at Inquiry. Thus the notification should go 90 days after the sales stage has been set and not since last modified date. Keeping this in mind the condition the rule condition "Rule Condition : Sales stage = "Inquiry" and modified date = Created date" needs to be modified as Sales stage = "Inquiry".
    Coming to Modified Condition:
    Trigger Event - When Modified Record Saved
    Rule Condition : (PRE('<SalesStage>')<>[<SalesStage>] AND [<SalesStage>]="Inquiry") OR ([<SalesStage>]="Inquiry")
    Wait 90 Days
    Revaluate Conditon = 'Y'
    Action Send Email Notification
    Explanation
    When you set the sales Stage as "Inquiry", the condition (PRE('<SalesStage>')<>[<SalesStage>] AND [<SalesStage>]="Inquiry") would be satissfied and then the workflow would trigger. After 90 days if the sales stage is still in "Inquiry", the second part of the condition "[<SalesStage>]="Inquiry" would be satisfied and the email notification would be sent. If the sales stage has been changed to other sales stage, then the condition would fail and the notification would not be sent.
    Regards,
    Paul Swarnapandian

  • Sending email Notifications from BPM 11.1.1.5+FP

    Hi all,
    We're trying to send an email notifications from our process but we need to send HTML mails, not just plain text...
    Any help would be appreciated.
    Thanks in advance

    1. Configure the UMS Email Driver in Enterprise manager
    2. onfigure the SOA Suite Workflow Notification properties
    3. Restart the soa server
    4. On the BPM Process, drag the mail notification from the notification category.
    5. update the mail notification properties such as to address, title, and content etc.
    For the configuration, please refer the following url
    http://technology.amis.nl/blog/6019/configure-soa-suite-11g-for-sending-email-notifications-with-google-mail

  • 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 to get email notifications from facebook to open in the app and not in interent browser

    I receive email notifications from facebook when someone posts to my wall or share something with me and when I click the link to open it, it goes to my internet browser instead of opening the facebook app.  How do I fix this so the facebook app open automatically?

    I just started a project to use AutoCAD files and Adobe.
    For starters, I've been creating in AutoCAD LT 2015, then using the "Export" to PDF feature, then opening the pdf version in Adobe.
    I'm still learning, hope this helps.

  • How to send email notification with the help of OID

    I have a query,is there a way to send email notification (something like password change) to users from OID(Oracle Internet Directory)?
    Regards,
    Arun K M

    Macs newer than 10.7's release just need to boot with the 'D' key.  
    Otherwise you need to find the original installer disk of the Mac, or call AppleCare for it to be able to run the hardware diagnostic.

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

  • How to suppress email notifications from auto-contribute workflow step

    Hi all,
    does anybody know how to suppress the notification email that is sent from the contribution step (auto-contribute) of a criteria workflow. Now the user doing the checkin gets an email about the start of a workflow.
    regards,
    Harold

    Harold,
    few comments:
    - what is the step type of your 3rd step? Is it Review or Review/Edit-New Revision?
    If just Review, what happens if you change it to Review/Edit Revision or Review/New Revision?
    - calling just the UPDATE_DOCINFO service does not explain neither sending the email, nor changing the current step. What might be an explanation is calling a CHECKIN service in a Review step (the engine might be confused and 'restart' the workflow as it would not know whether a new, or current revision should be updated)
    Well, actually there could be one reason: updating the security group
    From whatever reason, criteria workflows are designed in such a way that security group is the mandatory parameter. This means that changing the security group might actually mean that the content item is in a wrong workflow (I was just about to ask "why on earth do you call UPDATE_DOCINFO in a Java?' and this came to my mind - custom metadata might be updated directly in iDocScript via wfUpdateMetaData http://docs.oracle.com/cd/E23943_01/doc.1111/e10726/c06_core_ref.htm#i1067045 ). If that's the case, you might have to re-design the whole stuff.
    Can you share details what is updated?

  • How to send email notifications to customers?

    Hi All,
    We have a requirement to send 'Order Acknowledgement' email notification to customers when their order is booked.
    My question is how do you set up the workflow to pick up the email address of the customer.
    Any help is appreciated!
    Thanks

    Hi
    we have already defined workflow for each order type
    u Can customize workflow after booking add notification,after booking order it will automatically send notification
    create role for email address of customer and give that role name in notification
    Thank you

  • Email Notification from a Workflow

    Hi,
    I'm trying to send an email to specific email addresses using a Workflow and in the 'To' field I'm selecting 'Specific Email Address' and am entering a value like...
    "[email protected]" + ";" + [<FieldName>] (with box brackets [] around <FieldName>)
    ...however upon saving the Workflow, I get the error 'Valid email required'.
    I tried various combinations (including uisng various non-custom/custom fields) but to no avail. I even tried simply [<FieldName>](with box brackets [] around <FieldName>), but that did not work either.
    Evidently it works only when I take out the [<FieldName>] from the expression. Would you know anything about this? What am I doing wrong?
    Thanks!
    Edited by: IR on Sep 9, 2009 4:18 PM

    Hi IR,
    According to My Oracle Support (Doc ID 872917.1), "...you will also get this error message when entering a formula in the "specific email address" field. Currently it only works with one or two email addresses within single or double quotes. This has been logged as CR 12-1UFAJBV and will be fixed with patch 1080.0.01."
    I would recommend asking Customer Care to add you to the notification list for updates on CR 12-1UFAJBV if you wish to be advised when the status changes.
    Regards,
    Cameron

  • How to stop email notifications from this site??

    I signed up here a while ago because I needed some help with software on my macbook. As it happens, ever since, I´ve been receiving approximatly one hundred email a day from this forum, general replies to peoples questions here. I have NOT signed up for that, and I have checked NO on all the email notification preferances here. WHAT can be done to stop this extremely annoing email- flow to my gmail? It can´t really be supposed to be like this??
    Thanks
    Hedda, NO

    I have done this, here are screenshots of what it actually looks like
    As you see, I only have email notifications for my own two posts.. But I still recieve between 50- 100 email every day from the support communities on varoius posts and topics from other users. How can this be? If there is no other places to stop the emails, I need somebody to tell me how to leave this site all together, I can´t have my mailbox filled every day anymore, it´s very annoying.
    Please say any of you can help, do you know if there are anyone that actually runs and manages this site that can be contacted about my issue?

Maybe you are looking for

  • Jabber for Windows 10.5 shows contacts from Address Book multiple times?

    What would cause Jabber for Windows 10.5.1 to show a contact multiple times from the address book when searching?  See attached screenshot. 

  • Error while saving service order?

    Dear SAPIENTS, While saving service order system is throwing error in commitment check message number  CO634 can anybody tell where i need to check to resolve this problem? Regards, Kaushal Rai

  • Restricting P.O output from ECC to  Sus component of SRM

    Hi, I do have a requirement of Restricting the output of P.O document created in ECC to SRM-Sus. When a P.O is created and saved in ecc system it mustnot be shared with SUS provided it has no indirect materials . I do have the logic with me . I creat

  • Can't find transferred file on PB

    I feel incredibly stupid, but I transferred a file to my PB and now I can't find it.  I followed the very good instructions on how to transfer files from my computer via WiFi, and I know the document transferred because I can see it in my media\docum

  • Pdf not opening in browser

    Just starting yesterday I am unable to open a PDF file with my browser (Chrome) . It wants me to download the file.  Until yesterday I was able to open any file and just view it with the browser with out downloading it as a file. What do I need to do