Attaching the notification template to a approval workflow or process OIM11

Hi guys,
we have customized our approval workflow at request level, and operational level approval making default approval based on approval policy. Now the question is we need to send a mail notification to manager to approve the request and then when whole request is completed then the mail has to be sen to the user that new account has been created for that resource.
here the user is request a resource by using self-resource request template.
i have seen the notifications but how would make these notification are triggered at above events
appreciate ur responses

Your first step is to clearly define when the notifications must go out.
1. Email to Approver for task assigned - If you have built a SOA Composite and in your code, you have retrieved the user manager value and assigned to that user, then with this value, you can also code for a custom notification. From the request data, you can retrieve the beneficiary and the resource for which is requested. Using these, you can use a notification resolver class to pass those values in to your notification. See this link http://fusionsecurity.blogspot.com/2011/07/oim-11g-notifications.html for how to create a custom notification.
2. Email to user when Resource has been provisioned - This will happen on the provisioning side, and you can attach to your Create User task and use the notification tab. I do not know if these still work, but create a new email definition from the design console. Open the create user task, go to the notification tab, select the User as your target, status is C, and then select your email definition. Another option would probably be an event handler that is triggered on the status of Provisioned for that resource, but someone else might be able to provide more insight on this as i have not configured one yet.
-Kevin

Similar Messages

  • Sending email to user using the notification template in OIM 11g

    Hi all
    I have created a Notification Template using web console in OIM 11g.
    Iam able to access the contents from notification template in my java code.
    But iam not able to find the correct api's to send email to user using the notification template
    (like tcEmailNotificationUtil using this class we can connect to email template created in design console and creating IT resourse we can send email to user using the method sendEmail).
    Waiting for your help and pointers
    Thanks and Regards
    Bipin patil

    Thanks GP!.
    But i have the same doubt here.
    "The Notification Event is defined through a XML file that must be loaded into MDS database." - in which path and in what name it should be.
    Because under /metadata/iam-features-notification, i couldnt see any event Xml present. I thought atleast we could see the existing OOB notification template's event xml files.
    Please let me know if you are aware.
    Thanks,
    Amudha

  • How to set the conditions for item deletion approval workflow?

    Hi,
    I have created approval workflow for item modifications ie, when user try to modify an item, it will send a mail to Project Manager. For that I set the conditions in Change the behavior of the overall task: 1. When the task process starts 2 . When the task
     process completes .
    Change the behavior of the single task: 1.when a task is Pending.
    [I followed this https://www.nothingbutsharepoint.com/sites/eusp/Pages/5-Steps-to-Enhance-SharePoint-2010-Approval-Workflow.aspx ]
    My Requirement is that I want to set this same workflow for the scenario: when the user deletes an item it will send a mail (intimation mail for item deletion) to Project Manager. here i dont want to send modification mails when user deletes an item.
    When user modifies an item: 1. intimation mail, 2. Approve/Reject mail 3. intimation for approval / rejection mail.
    When user deletes an item: 1. intimation mail.
    How can we set it in one approval workflow?? where i have to set the condition for sending either item modification mails or deletion mail.
    Thanks,
    Praveen ji

    Hi,
    According to your post, my understanding is that you wanted to start approval workflow when item deleted.
    You should first make some changes to trigger the workflow when you delete the item.
    You can use the Event Receiver to achieve it.
    In order to trigger workflow on item delete you need to create event receivers and from event receiver call the workflow already attached with list.
    http://ravendra.wordpress.com/sharepoint-workflow-on-list-item-delete/
    You can also create custom action to start the workflow, you can refer to the following article, then modify the workflow as your need.
    http://blogs.sharepoint911.com/blogs/jennifer/Lists/Posts/Post.aspx?ID=50
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Parallel approval workflow, end process

    Hi everyone
    I have a approval workflow that has 3 users approvers with a parallel approval. 
    I want to end the workflow (Approved or rejected) when ONE OF THIS USERS complete your task 
    Does anyone know a way to do it ?
    Thanks in advance!
    Regards

    Hi,
    The following settings in SharePoint designer for your reference:
    More informaiton is here:
    https://social.technet.microsoft.com/Forums/en-US/2cd81250-1124-4d61-b78d-78e747f7fd64/parallel-approval-workflow-where-one-approval-completes-the-workflow?forum=sharepointcustomizationprevious
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Can I insert the name poperty of the RequestedByUser related object of the parent Change Request workitem in a review activity email notification template?

    I am working on a SCSM change control workflow driven by email. 
    A lot of my work is based on the information found in this post:
    http://blogs.technet.com/b/servicemanager/archive/2012/04/03/using-data-properties-from-the-parent-work-items-in-activity-email-templates.aspx#pi158453=4
    This is an excellent post to which my Internet searches continually return. The workflow is about 90% complete. 
    My question is can I insert the properties of a related object of the parent workitem in a workflow email notification? 
    For example, I want to include the name property of the RequestedByUser related object of the parent workitem object in a review activity notification.

    Thank you for your reply.  I have confirmed my template is using a projection that includes the parent workitem and requested by user.  Where I am having trouble is the notification template syntax used to call the properties of the related
    object of the parent workitem.  The picker in the GUI won't show that related object, so I have no example to follow.  I hope this reply makes sense!

  • OIM 11g: Adding a new tag to notification template

    Hi:
    OIM 11g comes with some pre-defined notification templates, like 'Generated Password Template', 'Reset Password Template'.
    You can see those thru the admin console, System Management, Notifications.
    I would like to add a new Tag to one of those notifications, like 'Generated Password'. It currently includes the User Login and Password. I would like to include the User Name to the notification Body.
    Can I do this?? How can I accomplish this??
    I try to edit the template, and in the documentation, they mention the Event Name and Available variables. I don't see this 'Available Variables' to select from when I edit the notification template.
    I am using OIM 11g 11.1.1.5.
    Thank you for your help..

    Modify the OOTB notification Template for including a few extra attributes
    -Identify the template and the event type which you want to modify. For example let’s assume we will modify the OOTB ‘Request Creation’, the corresponding xml for this event type is in the following MDS path:
    \metadata\iam-features-request\notification\RequestCreationEvent.xml
    Note: The path as specified in the OIM11G documentation might be incorrect
    -Modify this xml to point to a custom resolver class as follows:
    <?xml version='1.0' encoding='UTF-8'?>
    <Events xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../notification/metadata/NotificationEvent.xsd">
    <EventType name="RequestCreation">
    <Resolver class="com.iam.notification.CustomNotificationResolver">
    <Param Name="Request" DataType="X2-Entity" EntityName="Request"/>
    </Resolver>
    </EventType>
    </Events>-Import the xml back to the MDS database
    -Create a jar (custom resolver class) and a plugin.xml, bundle them up as a zip and register the plug-in using ‘ant/API’s’ as you want
    -Modify the OOTB notification templates as required
    -Send email to verify if your changes are being reflected
    You can create your own customized templates based on the OOTB one but the ‘Resolver Class’ would not be able to pick up this new template because the only purpose of the resolver class is to override a couple of methods (‘getAvailableData’ & ‘getReplacedData’), so that you can add some extra attributes to be read in your template, but the ‘Template Name’ remains the same as it is hard-coded.
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import oracle.iam.notification.impl.NotificationEventResolver;
    import oracle.iam.notification.vo.NotificationAttribute;
    public class CustomNotificationResolver implements NotificationEventResolver {
         public List<NotificationAttribute> getAvailableData(String eventType, Map<String, Object> params) throws Exception {
              return null;
         public HashMap<String, Object> getReplacedData(String eventType, Map<String, Object> params) throws Exception {
              HashMap<String, Object> resolvedData = new HashMap<String, Object>();
             resolvedData.put("requestId", params.get("RequestId"));
             resolvedData.put("requestType", params.get("RequestType"));
             resolvedData.put("userId", params.get("UserId"));
             resolvedData.put("userName", params.get("Name"));
             resolvedData.put("baseUrl", params.get("BaseURL"));
             resolvedData.put("myCustomField1", "myCustomField1");
             resolvedData.put("myCustomField2", "myCustomField2");
             resolvedData.put("myCustomField3", "myCustomField3");
              return resolvedData;
    }Credits to Sunny for coming up with the solution. Since he seems busy, I took the liberty of posting his solution here.
    HTH,
    BB

  • "Approval workflow fragment has no user assignment" while adding approver

    Hi all,
    We are on SRM 5.0 ECS.
    We are facing an issue in our quality system while this issue doesnt come up in dev system!
    if I try change a PO and then click on the ADD APPROVER button and then on the link "ADD HERE".,I get the foll pop up msg :
    "Approval workflow fragment has no user assignment".

    Hi experts,
    Any advice?

  • Approval workflow in Acrobat X Pro (FRENCH VERSION)

    Hello All,
    We just use Acrobat X pro in French version. We just want to know how it use to open an Approval workflow for a document. Is it possible with Acrobat X Pro in French version ??
    We find the way to start a online revision, but we couldn't find the way to start an Approval workflow with approbation or rejection possibilities.
    Anybody could help us (in french or english language) ???
    Many thanks.
    Pascal

    CtDave, Adobe Acrobat X Pro in Brazillian Portuguese exist?
    If yes, where I can download a trial version to test?
    Thanks.

  • Notification Template  and send Email in oim 11g

    Hi All
    I need to send an email(html) format to users.I have created the a notificationtemplate through webconsole.
    I am intrested to know are there any api's available in 11 g to access this particular notification template in my java code and send email to a user using this template.
    iam referring to the class <oracle.iam.notification.vo.NotificationTemplate> and <Thor.API.OperationsInterface tcEmailOperationsIntf> classes but iam unable to access the notifcation template and send email.
    Edited by: Bipin Patil on Jul 1, 2011 12:34 AM

    Hi Rajiv Dewan
    Your link was helpful iam able to connect the the notification template.
    Now iam able to get the Template name,Subject,ID,Locale etc.
    I have one small question how to get the message from the template using this api,
    I referred the NotificationEvent,NotificationTemplate api's still iam not able to get message from my template and set message in my template.
    Is there any other API's i need to explore to get message from notification template.
    Thanks and Regards
    Bipin patill
    Edited by: Bipin Patil on Jul 1, 2011 5:29 AM

  • Approval Workflow Task assigned behaviour

    I have a strange issue that has started recently. On a approval workflow, if the users do not add anyone to the cc line on the task assignment, there is only one email generated to notify the recipient of the task . However, if they put someone on the
    cc line as well, a email will get generated for each person on the cc list that will also include all the other recipients. So there are 3-4 emails being generated.  What could cause this and how can I fix it?

    Hi,
    Let verify the following:
    Whether you mean that when you add people to the cc line, several emails will be sent to the same recipient. if it is, perhaps your cc object 
    is a group contains the recipient.
    Whether your approval workflow created with SharePoint Designer 2010 platform. Maybe
    the following checkbox is enabled "For each group entered, assign a task to every member of that group" in the workflow.
    Best Regards,
    Lisa Chen

  • Error in Shopping cart Approval workflow

    Hi Workflow experts,
    We are on SRM 5.0 with Extended classic scenario.
    I have activated & set the start conditions for No Approval workflow.
    The workflow for shopping carts end up in Error status.
    Message "Error changing to status RELS". upon further dwelling, the message "Work item XXXXX: Object XXXXXXX method SETRELEASED cannot be executed" is displayed. How can i check the Binding between the Task container & the Method Container.
    I have no red flags in SWUD for WS10000060. I have checked the automatic customisation of workflow & every thing looks good. The workflow back ground jobs are running.
    What could be the problem?
    Your inputs in this regards are appreciated & will be rewarded!!
    Cheers,
    Akash

    Hi
    hopefully this link and the OSS note  1233774 should help
    "method SETRELEASED cannot be executed" for SC work item
    thanks

  • Need to Achieve Grand Total in the Data Template

    Hi Team
    As per the requirements i need to achieve the grand total form the various level of Total. To achieve the Total i have used the SUM function and it works fine. Could you please suggest me how can i achieve the Grand Total. For your reference i am attaching the data template here that i am using.
    <group name="G_ITEM" dataType="varchar2" source="Q_ITEMQuery" groupFilter="">
                        <element name="ITEM_ID" dataType="varchar2" value="item_id" function=""/>
                        <element name="DESCRIPTION" dataType="varchar2" value="description" function=""/>
                        <element name="DIVISION" dataType="varchar2" value="division" function=""/>
                        <element name="UNITS_APPTD" dataType="varchar2" value="apptd_unit_qty" function=""/>
                        <element name="UNITS_RCVD" dataType="varchar2" value="unit_rcvd" function=""/>
                        <element name="WEIGHT_APPTD" dataType="varchar2" value="apptd_weight" function=""/>
                        <element name="WEIGHT_RCVD" dataType="varchar2" value="receipt_weight" function=""/>
                        <element name="SUM_UNITS_APPTD" value="G_ITEM.UNITS_APPTD" function="SUM()"/>
                        <element name="SUM_UNITS_RCVD" value="G_ITEM.UNITS_RCVD" function="SUM()"/>
                        <element name="SUM_WEIGHT_APPTD" value="G_ITEM.WEIGHT_APPTD" function="SUM()"/>
                        <element name="SUM_WEIGHT_RCVD" value="G_ITEM.WEIGHT_RCVD" function="SUM()"/>
                        <group name="G_TROUBLE" dataType="varchar2" source="Q_TROUBLEQuery" groupFilter="">
                             <element name="T_CODE" dataType="varchar2" value="trouble_code" function=""/>
                        </group>
                   </group>
                   <group name="G_DEPOSIT" dataType="varchar2" source="Q_DEPOSITQuery" groupFilter="">
                        <element name="ITEM_ID1" dataType="varchar2" value="ITEM_ID1" function=""/>
                        <element name="DESCRIPTION1" dataType="varchar2" value="DESCRIPTION1" function=""/>
                        <element name="UNIT_QTY1" dataType="varchar2" value="Unit_Qty1" function=""/>
                        <element name="SUM_UNIT_QTY1" value="G_DEPOSIT.UNIT_QTY1" function="SUM()"/>
                   </group>
                   <group name="G_TRANSPORT" dataType="varchar2" source="Q_TRANSPORTQuery" groupFilter="">
                        <element name="ITEM_ID2" dataType="varchar2" value="ITEM_ID2" function=""/>
                        <element name="DESCRIPTION2" dataType="varchar2" value="DESCRIPTION2" function=""/>
                        <element name="UNIT_QTY2" dataType="varchar2" value="Unit_Qty2" function=""/>
                        <element name="SUM_UNIT_QTY2" value="G_TRANSPORT.UNIT_QTY2" function="SUM()"/>
                   </group>
    I need SUM_UNITS_APPTD, SUM_UNIT_QTY1 and SUM_UNIT_QTY2 of 3 different group to be added to generate the Grand Total. PLEASE ADVISE
    Regards
    Srikant

    Hi Domnic
    Thanks for the reply.
    I am not much aware of the XDO. Could you please let me know can i pass the field name in place of 2 and 3 as in your example.
    For example if i have field A and B and i need to add it then should it be
    <?xdofx:A+B?> in RTF.
    Else please give me the complete syntax.
    Thanks in advance for your reply.
    Regards
    Srikant

  • Email Attachment with display template

    Hi All,
        I would like to send an E-mail  with attachments like Table and the iChart.
    I have the Sql query with selected columns and the display template.
    I would like to attach the display template(iChart) and the Selected Table fields. Is it possible to do this.
    my BLT Actions are 1. PDF Document
                               2.SQL Query with selected columns
                               3. PDF Table
                               4.Email
    where can i insert the ichart in the above series?.
    Thanks
    Muvva

    Use a Chart action block with your query and display templates to generate an encoded image.  Create a PDF Document.  Use the PDF Image action block to attach the chart encoded image to your PDF.  Create your email with a PDF attachment.  And send your email.
    Good luck,
    Mike

  • Bid approval workflow - adding approvers

    Hi experts -
    We are implementing the n-level bid award approval workflow (WS14500044).  We would like the approvers to be able to add approvers/users once the workflow has started.
    We can see that you can add approvers before the bid is awarded (ie: the workflow is triggered) - but it does not appear to be possible once the workflow is underway.  I have examined the workflow, and it does not appear to have an anchor step to bring in an ad-hoc approval - but I wanted to confirm, as it didn't make sense to me that you would be able to add an approver BEFOREHAND in that case!
    Would someone who has used this workflow please confirm if it is possible to add an approver ad-hoc (a new approver added by an existing approver) once the workflow (WS14500044) has triggered!
    Thanks so much!
    Abby

    hi,
    it is correct that you should not be able to add an aprpover when the workflow has started.

  • Re-starting Item Level Shopping Cart Approval Workflow

    Hi All -
    We are implementing WS 14500015 - the Item-based n-level approval workflow for shopping carts - for certain scenarios.  In other scenarios we are using the overall approval workflow.
    I need to re-start the item-level approval workflow for certain scenarios (change in price, change in quantity, etc) - not when any and all changes are made to a line item.
    I was hoping to use the badi BBP_WFL_SECUR_BADI - which works great for the overall n-level shopping cart approval workflow.  However, I can't seem to hit it appropriately for the item level approval workflow!
    Does anyone know if this BADI or any other can be utilized for determining when to re-start the item-level shopping cart n-level approval workflow?
    Thanks so much!
    Abby

    hi,
    Have you implemented the badi BBP_WFL_SECUR_BADI ? for restarting the workflow?
    Let me know?
    Also it is possible to debug and see why the restart does not happen.
    Also let me know wether the restart happens in other cases?

Maybe you are looking for

  • When opening Lightroom, get window saying it needs to quit.

    Window comes up saying " Lightroom encountered an error reading from it's preview cache and needs to quit. Lightroom will attempt to fix this problem the next time it launches" However continually get the same result. Help please.

  • How do I get Facebook out of messaging?

    My contacts has Facebook email addresses that do not exist, and it will not let me delete them.  When I send a text message, I sometimes get an error message that the recipient has not permitted me in Facebook.  How do I undo all of this Facebook non

  • Java.sql.SQLException: Error in allocating a connection

    hi, I have developed enterprise application using net beans IDE 5.5.I created one enity bean using sql server database.When i tried deploy this project i am getting following error... Internal Exception: java.sql.SQLException: Error in allocating a c

  • 2.0.1 dropped audio with Alpine iDA-X200 car stereo

    So after about 20 minutes of playback, the iPhone will 'drop audio' for a brief moment .. enough to be annoying. When the iPhone was running 1.1.4 of the OS, I never had the dropped audio problem. But ever since I 'upgraded' to 2.0(and 2.0.1), the dr

  • Safari problems viewing javascript & more

    I am a PC user and need help configuring Safari to read our web site correctly. (Hopefully we don't have to rewrite the site). Safari doesn't read the javascript correctly and doesnt' respond to clicks on menu choices. I have similar problems with Fi