Re-assigning approval Task - notification

Hi,
I have developed a custom task for resource request escalation notification and it works fine. The problem is that the method "*reassignApprovalTaskToUser*" automatically triggers the email notification "Notify Task Reassign" (Out of the box) after it is executed but in mycase I have to send an email using custom email notification which is defined in OIM. Any input would be appreciated.
tcRequestOperationsIntf reqIntf = (tcRequestOperationsIntf)getUtility  ("Thor.API.Operations.tcRequestOperationsIntf");
reqIntf.reassignApprovalTasksToUser(taskIntKeyArr, managerKey);
Thanks & Regards
Inbaa.
Edited by: Inbaa on Jul 21, 2009 3:22 AM

Hi Dost,
reqIntf.reassignApprovalTasksToUser(taskIntKeyArr, managerKey);
tcDataProvider dataProvider=getDataBase();
tcEmailNotificationUtil sendMail = new tcEmailNotificationUtil(dataProvider);
sendMail.constructEmail("Test-Escalation Notification");
String fromAdd = sendMail.getFromAddress();
sendMail.setFromAddress(fromAdd);
sendMail.sendEmail(escalationEmail);
The above code sends email notification 2 times.
1. method reassignApprovalTasksToUser() - automatically sends email notification using out of the box email definition "Notify Task Reassign".
2.The remaining lines of code also sends an email notification using the email definition "Test-Escalation Notification" which I have created.
So , it sends 2 times.
So how to stop the first one.
Thanks in advance
Inbaa

Similar Messages

  • How to assign approval task to a person who is not a member of the site

    Hi All,
    I need to assign approval task to a person who is not a member of site but member of team site.
    I know that if a person need to approve/reject task form should have atleast contribute permission.
    Is it possible to assign contribute permission to that person through workflow using impersonate step?

    You can assign permission through workflow using impersonate step and add list item permission. Few things to note here
    1) Impersonate step actually impersonate the person who last modified the workflow. This impersonation is similar to code impersonation. So you have to be careful that person who is creating this workflow does have permission to assign permission to others.
    2) You will have to assign permission to the list item (or list) where the item is as well as the task list item (or list) where your workflow task would be created. I think that would be Association: Task List when in SPD.
    3) If user does not have any permission at the site level then the only way they can access the item and/or the task item is through the link they would have received in email. 
    I am not 100% sure how permission assignment works from SPD when you list and list items are inheriting permission from parent so please verify that part as well.
    Amit

  • OBPM 10g assigning approval tasks to a individual participant

    Hi,
    In Oracle BPM 10g, is it possible to assign approval tasks to a individual participant instead of assigning to all the participants within a role. A list of participants shall be provided to the initiator while creating the process instance. The initiator selects one of the participants and upon submission the task is assigned to only that selected participant.
    Can the selected participant set up "out of office" or vacation rule, so that the task is automatically assigned to some other participant in the same role.
    Thanks in advance

    This logic retrieves the list of participants in a certain role:
    role as Fuego.Lib.Role               
    parts as Fuego.Lib.Participant[]                         
    part as Fuego.Lib.Participant          
    role = Role.find(name : "Customer Service")
    parts = role.participantsNote that this returns an array of Participant objects and not just a list of their names or ids. Feel free to ask for help getting the list of names or ids if you need it.
    Once you've decided which participant you want to be assigned to the work item instance, you'd use logic like this to assign it to that specific participant.
    // this would make this participant the assigned one in every interactive
    //   activity everywhere downstream
    role.defaultParticipantForCurrentInstance = part
    // this simply assigns the work item instance to that person in the
    //  next interactive activity
    this.participant.next = partThere is an OOTB way to assign a replacement for a participant. Not available in Studio, but an administrator can set replacements in the Process Administrator conole.
    Dan

  • To assign approval task

    I'm using Guided Procedure
    I want to assign the approval task to the group role.
    Is that possible?
    The points are
    -is it possible to assign the approval task to more than 2 persons?
    -Or is it possible to assing the action to roles of EP or user group?
    Please let me know how to achive it.
    Best regards,
    Koji

    Hi,
    Yes.
    This can be done by assigning an iview for your process and that iview to a group or worksets. Attach this to a role and then attach the role to the set of users who can do the approval.
    So these agents will get the approval task in their UWL and who ever executes it first can do it and then it will disappear from the UWL of the other approval agents.
    Hope this helps.
    Cheers,
    Mandrake

  • Email notification in approval task not working

    Hi Experts,
    We are trying to use email templates, to trigger emails for role requests on Approval task as below.
    As if we raised request to the role, It is triggering the Notification Task, executing the Log Notification task in Provisioning frame work, but not triggering Email, From notification switch task, it is going to Else statement as Unknown notification type instead of Email.
    When I checked the table mxpv_audit_variables with the request audit id, no entry created.
    Can please suggest how to fix this,
    Many Thanks,
    Jaya

    Hi Chris,
    Thank you very much for your reply.
    We are forming the work flow like this.
    First we are setting the Manager as approver.
    If assigner=manager, it should do auto approval.
    we configured auto approval.
    but the problem is after auto approval, for notification we are writing a job, instead of using assignment notification.
    is this possible to sent autoapproval mail without writing separate job?
    Regards,
    Jaya

  • OIM 11g: send direct link to approval tasks in email notification

    Hi all!
    What do I want to achieve: I want to send email notification to assignee in case if some approval task in OIM has assigned to them and this notification must have a direct link to the page of approval task details from which assignee can approve or reject an approval task.
    The default email notification that exists in approval task “DefaultRoleApproval” has a direct link to a request details page:
    <a href="<%substring-before(/task:task/task:payload/task:url , "/workflowservice/CallbackService")%">/oim/faces/pages/Self.jspx?OP_TYPE=LOOKUP&E_TYPE=MY_REQUEST&T_ID=<%/task:task/task:payload/task:RequestID%>>
    But unfortunately from this page we can’t do any action such as reject or approve.
    To find a direct link to an approval task details page (Self Service -> Tasks -> Task Details: Approval) from which I can perform needed operation I used document ID 748447.1. But I haven’t found a direct link.
    What is the direct link to task details page for approval with exact ID which I can include in an email to satisfy my requirement?
    Thanks in advance!</a>

    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

  • Email task notifications with form attachment for approval

    I have a process that is started in Workspace and I have the preferences set for each of the users in the workflow to get task notifications via email with the form attached so they can approve/deny tasks in Reader/Acrobat without having to go back into Workspace.
    The email works fine, the form is sent to the assigned user, however I'm a bit lost as to what to do in my process so when the user clicks the submit button the XDP data is sent to the right place. Poking around here it looks like I need to set up a Complete Task with an email endpoint? My forms have the Process Fields component already attached to them and looking at the data.xdp it is populating with the task ID and other data.
    If that's that case a little bit of instructions on how to configure the Complete Task is in order for me. Do I put it on after each of the steps in the process that the form is transferred to different users, thus initiating more emails.
    Thanks,
    Mike

    I have added an Email endpoint to the process.<br />The mail gets removed from the inbox as i would expect but i get an error email.<br /><br />LiveCycle ES has tried to process your request and encountered the following error:<br />Cannot coerce object: <document state="active" senderVersion="3" persistent="false" senderPersistent="true" passivated="false" senderPassivated="true" deserialized="true" senderHostId="127.0.0.1//10.64.128.161" callbackId="0" senderCallbackId="27" callbackRef="null" isLocalizable="true" isTransactionBound="false" defaultDisposalTimeout="600" disposalTimeout="600" maxInlineSize="65536" defaultMaxInlineSize="65536" inlineSize="2326" contentType="application/xdp" length="-1"><cacheId/><localBackendId/><globalBackendId/><senderLocalBackendId/><senderGl obalBackendId/><inline><?xml version="1.0" encoding="UTF-8"?> <?xfa generator="XFA2_4" APIVersion="2.6.7120.0"?> <xdp:xdp x...</inline><senderPullServantJndiName>adobe/idp/DocumentPullServant/adobejb_server1</se nderPullServantJndiName><attributes file="form_data.xdp"/></document> of type: com.adobe.idp.Document to type: class com.adobe.idp.taskmanager.form.impl.xfa.XFARepositoryFormInstance<br /><br />I had to set the mapping to *.xfa otherwise the email would just be ignored.<br />It seems to me that livecycle is not clever enough to pick up an email that its own form sent to the server.<br />Furthermore it would seem that an inbox must be unique for livecycle to pick up any submitted forms. That makes the whole send form to user thing worthless, since the form send to the user ALWAYS has the standard livecycle submit email address. That means per livecycle server you can have exactly one process that has an email endpoint for in process form submissions/reminders.<br />An email inbox should work exactly like watched folders, i.e. email patterns per workflow.

  • Assigning a task based on an approval workflow

    Hello,
    Is there a way to create a workflow that includes the following steps without coding:
    1. A user submits an IT service request.
    2. The request is approved by a Supervisor.
    3. The IT Manager assigns the request to a technician.
    4. The technician completes the request and attaches the appropriate documentation to the request.
    5. The IT Manager sends the completed work to the user.
    Thanks in advance.

    Hi Amatullah,
    The following extention for the Workflow Activities available in SharePoint Designer will allow you to create one or more workfows that satisfy your requirements:
    http://spdactivities.codeplex.com/
    The worklfow would be configured to start when a new item is added to the list / library, which would assign an approval task (or collect approval status) from the approver (Supervisor). 
    After the manager assigns the request to a technician and the technician completes the request, the manager may want to confirm/close the request.  this would allow the worklfow to continue and/or respond by sending the completed work to the user.
    You can either "Collect data from a user" to obtain the "User" to assign the request, have the workflow "Wait for a field change" to obtain the assign to user, as well as other alternatives to get the Assign To details for each
    step of the process.  A separate field for each would probably be more suitable than re-assigning the task using the same "Assigned To" field each time, as the details each participant will be captured (not an issue if using the "Collect
    data from a user" action, as the Assigned To information will be available in the task item created by the workflow).
    The custom activities above allow you to do the following, which may assist with your solution:
    Specify the sender of an email
    Attach list items as email attachments
    Without the custom activities, you could develop a similar solution, but you won't be able to attach list items (include links instead), or specify the sender.  The approval and request delegation process can be achieved using OOB Workflow Activities
    available in SharePoint Designer.
    Learn SharePoint 2010
    SharePoint Development
    SharePoint Tutorials (Blog)

  • Custom Event Notification (email) for Approval Tasks in OIM 11g

    Hi,
    how to create event notification for approval tasks in OIM 11g. I mean how to send email notification to user who sholuld accept or reject approval task?
    best
    mp
    Edited by: J23 on 2011-05-30 04:08

    Here is the documentation http://download.oracle.com/docs/cd/E21764_01/integration.1111/e10224/bp_notif.htm#SOASE548
    Search for SOA BPEL Email Notifications for more information:
    http://soa-bpel-esb.blogspot.com/2010/01/email-notification-in-bpel.html
    http://download.oracle.com/docs/cd/B31017_01/core.1013/b28764/bpel013.htm
    There are many more search links that can help you out.
    -Kevin

  • Specify duration for each assignment stage in an approval task - sharepoint designer workflow

    HI
    I am trying to create an approval workflow in sharepoint designer. How do I configure different duration for each participant in a approval task .?

    I had a similar issue. Best way I found was to go into the 'Before a Task is Assigned' of the task and then Set Task Field Due Date - to the date needed.  If you need to get into specific time of the day, it presents additional issues.  First the
    workflow doesn't have a 'current time' function.  If the task is being created at the start of the workflow, you can use Workflow Context Date/Time started and calculate from there.  If you are adding a task, or the
    task is occurring after a previous task, you can make a workflow field and on the 'When a Task Completes - assign it the value of Current Task Last Modified.  Also, it seems their is bug where it doesn't recognize the
    time-zone correctly when you update the Due Date in the workflow process.  So if you see unexpected results for the time in the duedate value, may have to adjust for however many number of hours your timezone is from GMT.

  • Approval Task for role assignment

    Hello again,
    is there any manual for approval tasks with the SAP Provisioning Framework? There is a task group called Request new business role, but if I use this, the approver approves the request, but the status of the role assignment is "in process"and never changed to "OK".
    I only found these manuals:
    - How To... Create Approval Tasks in SAP NetWeaver Identity Management
    - Implementing role approvals
    But both documents didn't show an end-to-end role-request-and-approval workflow.
    Thanks in advance.

    Hello Matt, hello Peter,
    the web-enabled task "Request New Business Role" and the including approval task are only examples.
    To create own approval processes for your projects you have to understand how approval tasks and pending values work.
    The following document shows the basics of PVOs (pending value objects).
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0d6b459-3456-2b10-209e-9e78ec9fd97b?quicklink=index&overridelayout=true
    This is documentation of the release 7.0, which is not updated to 7.1. But basics of PVOs are still the same.
    There is also a document which describes approval task for Release 7.1:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20b67ad5-c69a-2c10-9da2-9721b1cf749c?quicklink=index&overridelayout=true
    Also a "How-To Guide" is available:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/904deabf-73b9-2c10-e8bb-8514dc3757f2?quicklink=index&overridelayout=true
    I think this is enough to learn to create workflows in SAP IdM.
    There is also a nice book available with detailed information:
    EN: http://www.sap-press.com/products/Understanding-SAP-NetWeaver-Identity-Management-.html
    DE: http://www.sap-press.de/2007
    I think this will help you.
    Best regrads,
    Christoph Reckers

  • Outlook connector: Assigned task notification message is not functionable

    Hi!
    I can easily assign task from OC to user user1.
    But user1 can not neither "Accept" nor "Decline" the task notification. Error message "The task ... cannot be sent. It may be an attachment of another message." is appear.
    Is that the bug or lack of functionality of Outlook Connector ?
    We are using Outlook Connector 7.1_233

    DarrenLCC wrote:
    I am finding the same problem, does anyone have a solution to this?RFE #6197012 - "Delegate Task is not working correctly"
    This is currently a limitation in the product which may get addressed in the next release (7.3 update 2). I highly recommend raising this issue with your Sun account manager who can then raise it with the Outlook Connector product management.
    Regards,
    Shane.

  • Is this normal? "There are currently no approval tasks assigned to you."

    Our site owners encounter the following situation:
     - We are using sites based on "Publishing site with workflow" template.
     - We have used Owners (Permission Level=Full Control) for site managers  and Visitors (Permission Level=Read) for everyone on domain. We also did not add usernames directly, but instead used an AD group (which was added to the SharePoint Owners group).
     - There is currently no users in Approvers (Permission Level=Approve) group.
    In this situation when someone from Owners grope creates a page and clicks Submit, he sees Approve and Reject buttons. However he is not able to Approve either Reject and gets "There are currently no approval tasks assigned to you".
    I have added the AD group we have used for Owners to Approvers group, the site manages still were not able to Approve (with same error message).
    The situation finally got fixed after I have added a user directly with his username to the SP Approvers group. Adding any user directly with his/her username fixes this partially: then the task is indeed created, but someone from Owner group (that was not
    in Approvers group when task was created) still can not approve by clicking on Approve button, but he can take over the Task from Task List and then approve...
    To my knowledge all this happened because there was indeed no approval task created (that is what actually error indicates). But still I am little bit confused about 2 things:
     - Why someone with Full Control permission can not approve/reject a page (in the end that is just an item from the list with a workflow activated on it)
     - Why there were no task created (I would expect that if there is no one in Approvers group, the tasks would be created for other users with Approve permissions, for example through Full Control right; also situation when there was an AD group is strange,
    why not to create a task assigned to that AD group).
    Just wondering about other thoughts on this behaviour.
    Thanks in advance!
    Tofig

    Hi Tofig,
    As you rightly said, this behaviour is by design. 
    As far as I understand, the owners need not be given the approver permission considering them to be mostly from technical background.  They may not necessarily be good at content authoring and design and keeping them away from the approver group may
    avoid any language related goof-ups (punctuations, grammatical errors etc.)
    On the other hand, if they are good at content authoring, the site owners can be included in the Approver group, to avoid getting this message.  This message also goes away once any of the user under Approver group, approves the changes.
    Cheers :)
    LM

  • 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

  • How to get the group key, which an approval task assign to

    Hi,
    When a user is assign to OIM Group (i.e. from User Detail >> Group Membership form), I will call an approval process (using Access Policy).
    In that approval process, I have defined two tasks.
    1) Assign Approval to Group -> NOT conditional
    2) Remove OIM Group From User -> conditional
    So, from the 1) task, I will assign this approval to a OIM Group.
    If the user click "Approva", a provisioning process will be fired.
    If the user click "Deny" (Reject), 2) task will be run.
    What I want is this.
    From this 2) task, I need to get the "OIM Approval group" key or name (which this approval is assigned to)......
    Note: I need to get this group info in the "Approval Process Task" -> "Integration" -> "Map"
    Regards,
    Chaturanga

    Hi,
    Yes. I have done that.
    Now what I want is this. If the approver "Deny" (Reject) the approval task, I will call another task in the approval process. From that task, I need to run a code, which remove the user from OIM Group.
    So, to do it, I have written a java code and created a adapter. So, as a input parameter for that code, I need to give the approval group name(i.e. the OIM group, above approval task is assign to).
    How can I get the OIM approval group, which the person who Deny the approval belongs to, from this new approval process task???
    Regards,
    Chaturanga

Maybe you are looking for

  • Help to create a pdf from an AutoCAD drawing

    Hi - I need to create pdf's from AutoCAD drawings using the following specifications: use an AutoCAD defined plot style maintain layers (and preferrably order them alphabetically) maintain text searchability within the document (do not change text to

  • Why can't I delete sent unread email?I have over 300 of them!!Please advise  me on how to delete!!!

    How can I delete Unread Sent emails?I have over 300...and I can't delete them!!!Please advise how to delete!!!

  • Aperture Black screen after edits...

    After upgrading to Aperture 2.1 I have a strange thing: After editing a picture the Screen turns completely black. The histogram displays only one spike. Resizing the window brings back the Image, but the histogram remains only one spike. Thanks for

  • 160gb classic Notes volume capacity?

    What is the capacity of the Notes section? I have text files of the Old Testament in alphabet order and when I view from Ruth on down they are all empty. If I put 1_Ruth at the top of the list it has data in the file. Then the lower half of the Psalm

  • Hard drives in printers

    I have a Photosmart 7510 multiple function printer. Does this have a hard drive? If so, how do I "wipe" the drive? This question was solved. View Solution.