Workflow notification to multiple users

Hello,
We have developed a custom workflow and XX_APPROVER is the workflow attribute where we pass UserID, to whom notification should be sent and it works fine.
But now we need to have that notification sent to multiple users. What is the best possible way to achieve this?
regards, Yora

create an adhoc role
http://download.oracle.com/docs/cd/B19306_01/workflow.102/b15855/T341351T341723.htm#I_ax2Dcrahr
procedure CreateAdHocRole
(role_name in out varchar2,
role_display_name in out varchar2,
language in varchar2 default null,
territory in varchar2 default null,
role_description in varchar2 default null,
notification_preference in varchar2 default 'MAILHTML',
role_users in varchar2 default null,
email_address in varchar2 default null,
fax in varchar2 default null,
status in varchar2 default 'ACTIVE',
expiration_date in date default null,
parent_orig_system in varchar2 default null,
parent_orig_system_id in number default null,
owner_tag in varchar2 default null);
Thanks
Ravi

Similar Messages

  • Oracle Workflow Notification to multiple users but only one response required

    Hi,
    I'd like to ask help on how I would go about this. I have a requirement using Oracle Workflow. Initially the workflow sends a notification with the option to Accept or Reject to a group of people, then if one accepts I should end the process. But if all rejects, then send a notification to the Manager.
    I used a Loop Timer to loop through the members of the group but I noticed that one needs to reply before the next one gets notified and so on.
    I thought of using adhoc role then adding all members to this role. But not sure how to catch if one accepts or all rejects.
    Appreciate any suggestions.
    Thanks,
    Allen

    Hi
    We have a similar situation and every level has multiple user to release the PO. I have tried with all possibilities using standard functionality but no good.
    Would you mind to share the design and the process will be great help.
    Thnaks
    Partha

  • How to create a new role : Need to send notifications to multiple users.

    Hi All,
    I have a requirement where in I need to send notifications to multiple users
    and no. of users in the list is not fixed.i.e. this builds up dynamically.
    Kindly let me know how do I achieve this.
    Also wanted to know where form the Workflow roles get created i.e. who inserts data into wf_roles and wf_user_roles tables. Is there any UI to create roles and associate users with them.
    Thanks,

    Hi,
    Yes - by default all responsibilities are defined as roles in the Workflow directory. You just need to identify the role that corresponds to the responsibility (look at ORIG_SYSTEM and ORIG_SYSTEM_ID columns, IIRC) and then send the notification to the role.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://thoughts.workflowfaq.com ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • #ATTACHMENTS handler in workflow notification for multiple attachments

    I would like to attach multiple documents to a workflow notification. The number of attachments are not known at design time.
    I see that #ATTACHMENTS handler is used for purpose, but I am not clear how to use it with PLSQLBLOB usage.
    How to return multiple documents to the #ATTACHMENTS special handler using PLSQLBLOB?
    Created a message attribute of Type=Document and gave internal name as #ATTACHMENTS. Now time to set a PLSQLBLOB function, but to attach multiple documents. Not sure how ....
    Note, I do seem some examples with FND:entity usage which shows attachments fine in the worklist, but the attachments are not shown in the email when using workflow mailer due to limitations with FND usage. Using PLSQLBLOB Document, I'm able to show attachments in both worklist and email, but each document attribute can handle only one attachment file. The number of attachments are not known at design time. I would like to use #ATTACHMENTS handler but for PLSQLBLOB usage.
    Can some throw more light on #ATTACHMENTS tag with PLSQLBLOB usage for multiple attachments?
    Thanks!

    hi Sanni
    please view this page.It is not direct answer. But it might help
    https://sites.google.com/site/shareapps4u/learning-topic/workflow-tutorial/how-to-attach-document-with-notification
    I have a similar requirement like yours.I need to attach the document when user sends reply to a notification.
    Can you please guide me in that.
    I appreciate your help in this. I heard that Oracle Standard functionality does not support this.
    Appreciate your help
    kp

  • GP Notification to multiple Users

    How can send email notfication to multiple Users or a group using the "Send Notifcation" Callable Object?
    How can send email to 'CC' email receipient using "Send Notification" Callable Object?
    Thanks,
    Abhay

    Because the input interface for the Notification CO is not much besides recipient email address, you might do a better job with not much effort at creating your own Notification CO with a more comprehensive input interface (To, From, CC, BCC, Subject, Body, Attachment) for creating emails.
    Or you can hope that GP Product Management (that'd be Jan I'm talking about here ) will bring that requirement back to Development so that they'll enhance their CO asap. That way you can leverage their email template feature.

  • One workflow, edited by multiple users

    Hi,
    can anyone tell me if it is possible to have one workflowtransaction that is edited by multiple users? My customer wants the transfer workflow to be initiated by the supervisor, which will fill several fields, and then be sent to an HR Representative, who will fill another set of fields, and then sent to a payroll administrative worker who has to fill in the rest of the fields. Then it will go into an approval workflow.
    The latter I know how to do, but I don't know if you can have multiple roles into one workflow.
    Please help.
    Corné

    An approver can update the transaction if the Edit Transaction profiles are set to Yes.
    Please note, it is not function specific . So, all functions with HRSSA workflow will be enabled for edit by approvers.
    I don't remember the profiles names now, but SSHR Implementation guide has the details.

  • Sending Notification to Multiple Users in Multiple Language.

    Hi,
    In our Apps (R12) environment, workflow is installed in multiple languages. I have a requirement where User can choosed their preferred email language and all notification should be sent to that user only in the preferred language.
    Below is the logic that I am using:
    1) Creating adhoc users for the email addresses and passing user preferred language as 'language' parameter. This language is different for different users.
    2) creating adhoc role and attaching all previosuly created adhoc users to this role.
    Here is where problem comes...
    Notification is going only in the language that is specified while creating adhoc role. This is overwriting languages that are being specified while creating adhoc users !! I even tried not to pass any language while creating role but in that case it is taking language for that session...
    Is there any way to achieve this functionality?
    Thanks,
    Sumit

    Hi,
    Are you expanding the role in the definition?
    I would expect that if you are notifying a role, then the language of the role is used, unless you expand the roles - in which case the language for the users which are part of the role would be used.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • PO Approval Notification to multiple users

    Dear All,
    Currently in our setup PO approval notification is working fine.
    I want to send the final approval notification to other audience who are not there in workflow hierarchy.
    can anyone guide on this?
    Regards
    Deepali

    I assume you want to send an FYI notification.
    You can either customize the po workflow to add the fYI notification or you can write an alert that fires when a PO is approved.
    Hope this helps,
    Sandeep Gandhi

  • Error while sending notificaiton to multiple users

    I created an adhoc role like:
    declare
    l_role_name varchar2(150):='TO_ROLE';
    l_role_display_name varchar2(50):='TO_ROLE';
    l_users := l_1_user||' '||l_2_user;
    l_1_ruser and l_2_user are of fnd_user%user_name type..and they get the user names from fnd_user using a cursor variable.Both l_1_ruser and l_2_user are already having assigned to various roles.
    But for my present scenario i am creating an adhoc role and assigning both l_1_user and l_2_user who are residing in wf_local_roles.
    WF_DIRECTORY.CreateAdHocRole (
    role_name => l_role_name,
    role_display_name =>l_role_display_name,
    email_address => null,
    notification_preference => 'MAILHTML'
    WF_DIRECTORY.AddUsersToAdHocRole (
    role_name => 'TO_ROLE',
    role_users => l_users
    when using the above I am getting:
    Failed Activity Test_NOTIFICATION3
    Activity Type Function
    Error Name -6500
    Error Message ORA-06500: PL/SQL: storage error ORA-04030: out of process memory when trying to allocate 16328 bytes (koh-kghu call ,pmucalm coll)
    Error Stack Wf_Directory.AddUsersToAdHocRole(SEND_TO_ROLE, " ") ........
    any suggestions...
    Edited by: user8612301 on Aug 31, 2011 2:03 PM

    Hi
    I am facing same error. I am using standard workflow API to create and assign a role functionality for sending notification to Multiple users.
    Error Message = ORA-06500: PL/SQL: storage error
    ORA-04030: out of process memory when trying to allocate 16328 bytes (koh-kghu call ,pmucalm coll)
    Error Stack =
    Wf_Directory.AddUsersToAdHocRole
    I would appreciate that if know what could be the issue.
    Thanks

  • KIMYONG: Outbound Workflow Notification Event Message 를 tracking하는 방법

    Purpose
    Outbound Workflow Notification Event Message 가 발송됐으나 user가 받아보지 못한경우 가 발생했으나 user
    이를 tracking하는 방법을 알아보고자 한다.
    Solution
    1. notification 이 발송될때 oracle.apps.wf.notification.send event발생한다
    event key 로 Notification ID 를 사용한다.
    2. 다음 조건에서만 The e-mail notification이 발송된다.
    i) Notification status is OPEN or CANCELED
    ii) Notification mail_status is MAIL or INVALID
    SELECT status, mail_status
    FROM wf_notifications
    WHERE notification_id = '&nid';
    iii) Recipient Role has a valid e-mail address and notification preference is in the format MAIL%
    SELECT email_address,
    nvl(WF_PREF.get_pref(name, 'MAILTYPE'),notification_preference)
    FROM wf_roles
    WHERE name = upper('&recipient_role');
    iv) Workflow Deferred Agent Listener is running
    v) Workflow Notification Mailer is running
    3. e-mail로 발송되기전 message가 2번 정지한다.
    Raised --> WF_DEFERRED Queue --> Processed by Deferred Agent Listener --> WF_NOTIFICATION_OUT Queue --> Processed by Notification Mailer and sent as e-mail
    4. oracle.apps.wf.notification.send을 dispatch 할때 error가 발생하면
    message 는WF_ERROR queue에 enqueue되고 .
    Error Agent Listener 가 WF_XML.Error_Rule 을 수행하는 oracle.apps.wf.notification.send 의
    ERROR subscription 을 dispatch합니다.
    5. notification id 와 WF_DEFERRED and WF_NOTIFICATION_OUT queue 의 message stauts 등을 확인하기 위해 $FND_TOP/sql/wfmlrdbg.sql 를 수행합니다.
    PROCESSED in WF_DEFERRED - The message is enqueued to WF_NOTIFICATION_OUT
    PROCESSED in WF_NOTIFICATION_OUT - The message is sent as e-mail
    READY in WF_DEFERRED - Check if Deferred Agent Listener is running
    READY in WF_NOTIFICATION_OUT - Check if Notification Mailer is running
    6. notification id 의 outbound XML message 를 분석합니다.
    . The wfmlrdbg.sql output provides the XML message generated by WF_XML.Generate at the time the script is run. If the original XML message used by the mailer is required to be analyzed following SQL may be used.
    SELECT tab.user_data.text_lob text_lob
    FROM applsys.aq$wf_notification_out tab
    WHERE dbms_lob.instr(tab.user_data.text_lob,'&1') > 0
    7. 필요하다면 WF_NOTIFICATION_OUT queue 를 rebuild 합니다.
    The wfntfqup.sql script rebuilds the WF_NOTIFICATION_OUT queue by dropping and recreating
    that queue, removing pending notification messages from the WF_DEFERRED queue, and
    repopulating the WF_NOTIFICATION_OUT queue from the Oracle Workflow Notification System
    tables.
    Wfntfqup.sql Version >=115.9
    If you have implemented Oracle Alert and the WF_NOTIFICATION_OUT queue contains any pending
    alert e-mail messages, those messages must be processed before the queue can be rebuilt. The
    wfntfqup.sql script checks the queue for any alert e-mail messages and, if it finds any, the
    script returns an error message that specifies how many alert e-mail messages are pending
    and indicates that these messages must be processed before the script can run.
    Wfntfqup.sql Version <= 115.8
    If you have implemented Oracle Alert and the WF_NOTIFICATION_OUT queue contains any pending
    alert e-mail messages, those messages must be processed before the queue can be rebuilt. The
    wfntfqup.sql script checks the queue for any alert e-mail messages and, if it finds any,
    exits without performing any changes.
    Stop Notification Mailer, rebuild Mailer Queue using $FND_TOP/patch/115/sql/wfntfqup.sql.
    Reference
    Note 433359.1

    Thanks for your update.
    I have checked as per the metalink doc "242941.1" . i am getting below message only for IMAP.
    *C:\prod\scripts>%AFJVAPRG% -classpath %AF_CLASSPATH% -Dprotocol=imap  -Ddbcfile=
    c:\prod\prodappl\fnd\11.5.0\secure\PROD_qlng-s-012\prod.dbc -Dserver=qlng-s-003.
    qalhatlng.int -Dport=995 -Dconnect_timeout=120 -Ddebug=Y -Daccount=oracle1@qlng
    .om -Dpassword=System123 -DdebugMailSession=Y oracle.apps.fnd.wf.mailer.Mailer
    MLRTST : oracle.apps.fnd.cp.gsc.Logger.Logger(String, int) : Logging to System.o
    ut until necessary parameters are retrieved for Logger to be properly started.
    DEBUG: getProvider() returning javax.mail.Provider[STORE,imap,com.sun.mail.imap.
    IMAPStore,Sun Microsystems, Inc]*
    Kindly suggest need to any setup in ms exchange server or firewall level.
    Thanks

  • How do I send single notifications to multiple people in the workflow?

    HI
    As I see you can send notification to one person at a time.
    For example, the approval notification goes to a approver once someone submits a expense report or po approval.
    How do I send single notifications to multiple people in the workflow?
    Any idea?
    Thanks in advance.

    Hi,
    You need to send the notification to a role, which can comprise one or more than one users. If you check the "Expand roles" checkbox, then a different copy of the notification will be sent to each member of the role; otherwise one notification is sent which can be viewed by all holders of the role.
    You should always send a notification to a role rather than a user, anyway - roles do not go on holiday, get sick or leave the company; users do.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://thoughts.workflowfaq.com ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Multiple attachments in Workflow Notification

    Hi All,
    We are trying to attach multiple(Two) files to the workflow notification. We are able to get the two attachments. But the problem is in the notification from front end both the attachments are opening the same file, where as the attachments in the outlook are showing different contents and the file name is same for both the attachments.
    Please can anyone help us in this. This is very urgent requirment.
    Thanks,
    Varun

    Hi Jubish/Venkat
    1. I iterated this fucntion moudule to store the multiple attachments to the workflow
       SAP_WAPI_ATTACHMENT_ADD
    2. Call this FM to get the attachemnts form the workflow (pass workitem Item id which is used for storing the attchments).  SAP_WAPI_GET_ATTACHMENTS
    from above you will get objkey for each attachment as output in table.
    3. Pass the  objkey to this FM to get the contents
    SO_DOCUMENT_READ_API1'. this will retrun the content of the attachment either in object_content,   contents_hex.
    4. Pass the Obtained content to SCMS_BINARY_TO_XSTRING to get the disired format.
    Best Regards,
    Chandran S

  • Lightroom 2.5 Workflow - Multiple Users

    Cheers!  But not so much for me.  I am befuddled.  Here is the scenario:  I have more than one lightroom user on more than one desktop that needs to be able to work with the same set of images from a photo shoot.  The images are on a network drive but I am having a devil of a time with ensuring the metadata is current for each user.  So, as I understand the workflow (and I assume I have this wrong), I have set the preferences so that the metadata is written to the file each time it is updated.  When a user is finished with the images in a filmstrip I am having them write the metadata to the file, and each time a user works on a different file, I am having them read the metadata from the file before starting work, and everybody is talking back and forth about who the current owner of the file is.  This is sloppy and tedious at best.  Can someone point me in the direction of a better way!  Thank you.  Travis

    Hi Travis!
    First and foremost you have to understand that LR is NOT a multi-user application. So, knowing that it becomes a discipline issue when multiple users are working on the same set of images.
    Since the catalog cannot be located on a network drive each of them must have a copy on their local drives. The original images can reside on the network. And here is where your problems start.
    The basics you outlined are good. You just need to make sure that one, and only one, user at a time works on the catalog. Reading and writing the metadata is a must. However, another thing to keep in mind is that not all the data about an image is stored in the image file. There are some items that are stored in the catalog. If each user has an independent copy they won't necessarily be in synch.
    One approach to this (and yes - it's annoying) is to have the catalog on an external drive (not a network drive). Then whomever needs to work on the images connects the external drive to their computer, opens the catalog, works on the images, closes the catalog, dismounts the drive. Then the next person can have it. This works if you are all in the same location. It's not practical when you're in different cities!
    There are other workarounds such as copying the catalog to the network drive. While you cannot open it from there you can download it to your local drive. Work from there then upload it back to the network. This becomes tedious, though, as the size increases.
    So, since LR in not an multi-user networkable app there really isn't a great solution for this kind of workflow setup.

  • One user not getting Workflow Notifications Mail

    Hi
    We are using Oracle11i (11.5.10.2) on windows 2000 server.
    One of our user complaining that he is not getting any workflow notification mail to his maild id.
    How can we fix and troubleshoot this issue?
    Thanks
    OH

    Hi,
    Is the issue with this specific user?
    Can you find any errors in the Workflow log file?
    Please see if any of these documents is applicable.
    Note: 743567.1 - Email Notifications are not Sent, and Mailer Log File Shows Error "Replyto Must Be a Valid Email Address"
    Note: 423405.1 - Not Receiving Workflow Email Notifications
    Regards,
    Hussein

  • Reg: WorkItem &  Mail Inbox Problem for Multiple users In workflow

    Hi,
    I have developed a wofkflow application to sent SAP mails and Workitems to multiple users. I Have a Container which has the property as multi line. and i mapped this container variable with expression of my mail step. This means i can send multiple mails at the sae time....Its working Fine. But the problem is,
    Suppose I am sending mails to User1 & User2. Both are receiving the mail, But if user1 read the mail user2 mail is set as read document instead of unread doucument.....
    How to Solve this? any solution ?

    Hi
    See if this document is of any help to you.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c6456e89-0a01-0010-0189-a7961fe42034">An expert guide to new SAP workflow capabilities</a>
    Regards,
    Raj

Maybe you are looking for

  • How to remove OLD mobile number (I don't have access) from iMessage?

    Hello, I have a problem which I could not find a solution for it yet, Please help me if you had an experience on this matter. I can not remove the mobile number I DO NOT have now from iMessage. I did try to disable/enable iMessage many times but had

  • What is BADI.How to create a BADI?

    Hi all, Can some one explain me about , What is an BADI.Where it is used . How to create a BADI. Iam in Initial stage, I want to know how to create a BADI. Please help me regarding this. Thanks, Lee.

  • DV camera signal direct to DVD?

    I would like to burn video in real time, directly from my DV camera to a DVD. I can't seem to do this in iMovie or iDVD. iMovie seems to want to save the video to the hard drive, but not to a DVD. It then takes 15 minutes and several steps to get the

  • How to code this...please help

    Hi Friends:    Please help me in coding the following scenario:    I've the following checkboxes on selection screen: 1. inventory quantity current period-unrestricted (mard-labst) 2. inventory quantity current period-restricted use stock (mard-einme

  • Where is file?

    1. Using iPhoto 5, I import my photos from my Nikon in RAW mode. 2. I create a new album. 3. I double click the image and modify it in Photoshop. 4. I save the image as a JPG. The problem? I cannot locate the JPG image either in my new album or in my