How to send notification to mutiple roles.

Hi,
I have created 3 notifications. If the 1st notifcation approved, the approved notification (2nd) should go to 'X Role' .
If the 1st notifcation got rejected, the rejected notification (3rd) should go to 'Y Role' and 'Z' role.
Is it possible to send same notification to multiple roles.
Pl.help.
Thanks in advance.
Kavi.

I'm not sure how much clearer it can be, without actually doing the work for you :D
1 - customize the workflow to set the recipient role to role Y.
2 - send the notification to the role.
3 - Loop back.
4 - Set the recipient role to Z.
5 - send the notification to the role.
Strictly speaking, you don't even need to loop - just include the notification twice and send it to Y and then to Z.
Depending on what you really want it to do, you may be better off with a linear rather than a looping approach. Alternatively, as I said earlier, I would create a new role and notify that role. This would allow the greatest future flexibility in case the process changes in the future. For example, if notification 3 changes so that a response is needed, then you would need to notify everyone in one go rather than sending the notification twice. For that reason alone, I would go with a consolidated role and notify that.
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

Similar Messages

  • How to send notifications to multiple person with same role and with result

    How to send notifications to multiple people with resultout as approve/reject?
    We are looping the notification by attaching a cursor query to find the different emp nos to send for approval.
    I cannot associate a role because these emp nos are sub-set of a role which I have created and i am getting thru the cursor query.
    For FYI notification there is no problem, but for approval notification, I am not unable to send approval notifications to all the people.It stops at the first person in the loop.Pls suggest alternate way. Thanks in advance.

    Manju,
    I would use the cursor to populate the API for creating an ad-hoc role within the workflow process as a function. Then set your notification performer as the ad-hoc role.
    Here is an example function:
    create or replace procedure sample_emp_fill(itemtype in varchar2,
    itemkey in varchar2,
    actid in number,
    funcmode in varchar2,
    resultout in out varchar2) as
    cursor get_name is
    select ename from scott.emp where mgr = 7839 and empno != 7566;
    role_name varchar2(50);
    names varchar2(500);
    begin
    if (funcmode = 'RUN') then
    role_name := 'ad_hoc_role_'|| itemkey;
    for row in get_name loop
    names := names || row.ename || ' ';
    end loop;
    WF_DIRECTORY.CreateAdHocRole( role_name=>role_name,
    role_display_name=>role_name,
    language=>'AMERICAN',
    territory=>'AMERICA',
    role_description=>role_name,
    notification_preference=>'QUERY',
    role_users=>names,
    email_address=>' ',
    fax=>'',
    status=>'ACTIVE',
    expiration_date=>'');
    resultout := wf_engine.eng_completed||':'||wf_engine.eng_null;
    return;
    end if;
    end;

  • HOW TO SEND NOTIFICATION THRO. MAIL

    I have installed workflow 2.6.4 on oracle 10.2.
    1) How to send notification thro mail?
    2) what kind of setting I need to do?
    3) Do I need to include all users email address in Microsoft Outlook contact or in WF_LOCAL_ROLES?
    Regards,
    Jitendra

    The Workflow Agent Listener and Workflow Notification Mailer components should be up and running in order for e-mails to be received from Oracle Workflow. These components are managed using batch files located on $ORACLE_HOME/wf/admin. You may verify the status and view the log files of these components using Workflow Manager UI accessible from Enterprise Manager.
    Thanks

  • How to send notifications

    How to send a notifications to an user in OAF; the tool used is Oracle 9i JDeveloper. We are not using any workflow, but on submitting a page for approval , we need the approver to be notified.
    Please give me some insight on how to do this,
    i. e The classes to be imported, steps involved etc.
    Please send a sample code if available.
    Thanks,
    Praji

    Manju,
    I would use the cursor to populate the API for creating an ad-hoc role within the workflow process as a function. Then set your notification performer as the ad-hoc role.
    Here is an example function:
    create or replace procedure sample_emp_fill(itemtype in varchar2,
    itemkey in varchar2,
    actid in number,
    funcmode in varchar2,
    resultout in out varchar2) as
    cursor get_name is
    select ename from scott.emp where mgr = 7839 and empno != 7566;
    role_name varchar2(50);
    names varchar2(500);
    begin
    if (funcmode = 'RUN') then
    role_name := 'ad_hoc_role_'|| itemkey;
    for row in get_name loop
    names := names || row.ename || ' ';
    end loop;
    WF_DIRECTORY.CreateAdHocRole( role_name=>role_name,
    role_display_name=>role_name,
    language=>'AMERICAN',
    territory=>'AMERICA',
    role_description=>role_name,
    notification_preference=>'QUERY',
    role_users=>names,
    email_address=>' ',
    fax=>'',
    status=>'ACTIVE',
    expiration_date=>'');
    resultout := wf_engine.eng_completed||':'||wf_engine.eng_null;
    return;
    end if;
    end;

  • How to Send Notification to Manager of the Employee using Dynamic Action..

    Hi All,
    I am sending a notification using the Dynamic Action for an Infotype.. I am able to send mail using distribution list but I have a requirement to send the notification to employee manager. I am able to determine the Line Manager ID calling the subroutine in the dynamic action. But I am not sure how to send the notification to the manager.
    If the email's are maintained in distribution list if I specify the text id in the feature M0001 and distribution list the notifications are sent. I am not sure how to pass the line manager id to get the same notification..
    I have seen the option REC1 but infotype 0001 in not having the line manager id..

    Used the Function Module RH_GET_LEADING_POSITION.
    Thanks..

  • How to send notification mail by IDM 7.1?

    HI,
    I configured the idm 7.1 and want to send notification mail to user when a new user is created.
    But I can not get email from IDM. I think the SMTP server is right and I can telnet to SMTP server and send mails.
    How to test the IDM configuration is right ? or how to test send mail notification by an easy way ?
    Thanks.

    I configured the IDM from Configure--> servers -->Edit Server Settings page ,Email Template, as filled form:
    Default SMTP Server      192.168.22.222
         Use default
    Default SMTP Port      25
         Use default (25)
    SMTP Port      25
    SMTP Authentication Enabled      
         Use default (true)
         Authentication Enabled
    User Id      idmmail
    Password      *****
    Default SMTP Enable SSL      
         Use default (false)
         SSL Enabled
         Disable Certificate Authentication
    When I run the "ALL USERS" report, I select the 'Email Report' and filled the mail address. But after running the report , I can't receive email and no error messages displayed.
    Could you tell me how to do I can debug or trace the messages if the IDM sent or not sent mail , if it connects to mail server ?
    Thanks.

  • How to send notification and email to all approvers

    Hi
    I am customizing the requisition approval workflow in p2p cycle.
    We have to send out notifications and emails to all people in the approval heirarchy , who have already approved the req if some body higher up in the chain rejects it.
    right now oracle only send email and notification to the requester.
    ex -- If A requested it and next approver is B , who approves it , next is C, who approves it
    but next person D rejects it
    I want to send notification to C , B and A
    not just A
    please let me know how to do this.
    thanks

    Hi,
    I've provided advice on how to do it in response to your thread on the WorkflowFAQ forum at
    http://smforum.workflowfaq.com/index.php?topic=358.0
    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

  • How to send notifications to different user groups based on payload value

    Hi Gurus,
    I have a scenario in BPM where i have to send notifications to different user groups based on the payload value.
    ex:
    Payload sample:
    <employees>
    <emp1>
    <state>TX</state>
    </emp1>
    <emp2>
    <state>AZ</state>
    </emp2>
    </employees>
    Requirement: I have to send notification through Humantask to users of TX and AZ as mentioned in payload.
    Can you please help me out in achieving this in BPM?
    Thanks,
    Raju
    Edited by: user0808 on Mar 1, 2013 12:58 PM
    Edited by: user080811 on Mar 4, 2013 11:06 AM
    Edited by: user080811 on Mar 4, 2013 11:07 AM

    Hi Daniel,
    thanks a lot for your quick response.
    I went through your blog and tried implementing the same.
    But in my case i have to send parallel notifications to both the states.
    Please correct me if i am wrong, using if conditions in rules is allowing me to send to only one state.
    I also tried the following approach
    1) setting the organization units in bpm workspace
    2) passing values using human task parametric roles
    3) and looping the subprocess that has the humantask for the count of states.
    I am able to loop the subprocess but i am not able to change the parametric role value for the next iteration of the subprocess.
    Can you please help me in resolving this?
    thanks,
    Raju

  • How to send Notification email to Outlook mail?

    Hi all,
    am new to workflow,
    is there any possiblity with sending notification emails using rule?
    in my requirement i have to send email notifications to concerned manager using A002 relationship in HR?
    Can anybody help me?
    Thanks in advance,

    Hi,
    You will have to do the following:
    1. Create a new container element (for eg. APPROVER) with Data type WFSYST-AGENT.
    2. Create a new background method(if required create a new Business object also) to your BO object to populate this container element.
    3. Use the following code in your method:
         DATA: G_SNAME TYPE SMNAM,
            G_USER TYPE SYSID,
            NEXT_PROCESSOR_TAB     TYPE PTREQ_UIA_APPROVER_TAB.
         PERFORM FIND_NEXT_PROCESSOR(RPTREQAPPRCHK)
         USING
         PERNR
         REQTYPE
         CHANGING
         NEXT_PROCESSOR_TAB
         G_SNAME
         G_USER.
         CONCATENATE 'US' G_USER INTO APPROVER.
    3. Add a new activity step to your workflow calling this method.
    4. Use your(current) send mail step with agent field having value 'APPROVER'.
    Hope this will work.
    Regards
    Gautam

  • How to send notification in the Portal UWL from WD application

    Hi,
      My requirement is user will submit Leave application form from one of the WD application then the Workflow has to send notification in the Protal for the HR.When HR see this request in his UWL it has to display the user entered leave details.
    Thanks in advance...!!!!!

    Follow the link
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/using%20web%20dynpro%20java%20and%20web%20dynpro%20abap%20applications%20in%20universal%20work%20list.pdf

  • RSWUWFML2  - how to send notifications ( not Tasks )

    Hi folks
    I am using RSWUWFML2. Its working fine , sends Tasks to external Email like outlook. 
    But my problem is using the above program i am not able to send the notifications ( again...tasks are working fine).
    Does RSWUWFML2 just sends tasks or it even suppose to send notifications too.
    If no,  please let me know if there is any other way i can send the notifications ( not tasks again) to external email.
    Early responses will be apprciated with full points.

    Hi Sudhir,
    Thanks for the reply.
    Actually i am using a dialogue step,' Enter and send message' . The supervisor  sends a text notification of rejection reason to the WF initiator. A plain text notification is different from workitem or task. Its just a notification.
    when i am testin with RSWUWFML2 in DEV, its just sending the Tasks or workitems to outlook. But the text notifications are not being sent. am i missing any config or parameter that actually does that ?
    Please let me know

  • How to send Notification mail (with attachement) from On-Demand job

    Hi Experts,
    I am using SAP IDM 7.2 SP8.
    Requirement is to send a notification mail to a specific mail address [email protected] whenever we run a on-demand job.
    On-Demand job should also attach a csv file (atttachement.csv, which is in a specific folder D:\folder) while sending the notification mail.
    Please help.
    Thanks & Regards,
    Chandan Kumar

    Hi there,
    It sounds like you have the basics all together. I would check how you are setting the following parameters of uSendSMTPMessage:
    Attachment
    Optional. Fully qualified file name of a file to be included as an attachment.
    Multiple attachments can be added by separating the file names by a pipe character (|).
    AttachmentType
    Optional. Valid MIME attachment type.
    Charset
    Optional. Valid ISO character set identifier, for instance ISO-2022-JP. The default value is ISO-8859-1.
    HeaderEncoding
    Optional. 0: Plain text, 1: Base64. Default: 0
    TransferEncoding
    Optional. 1: 7bit, 2: 8bit, 3: Quoted ASCII, 4: Base64. Default: 4.
    Sorry the first row got mangled a bit. 
    Matt

  • How to send notification via email

    As we know, there is one step type "Sent Mail" in the workflow builder. However, the notification can only be sent to business workplace.  Any one knows how to let sap automatically send the notificatfion to both business workplace and email box of the user.

    If the SAP User Id is maintained with a valid email address in SU01d transaction and everything is properly configured in SCOT then you will receive mail on both Workplace and email inbox provided you are using SAP User Id as an agent assignment.
    Thanks
    Arghadip

  • How to send notification when too many users connected

    Hi all !
    I need to send a notification from my web container when there are over 100 users connected, does anybody know how to do it without using vendor's Api but just JEE Api ?
    thanks
    Luca

    mark1970__mtb wrote:
    Hello,
    If you create an object that implements javax.servlet.http.HttpSessionBindingListener,
    you can define valueBound and valueUnbound methods. I usually call it a User class. Also you
    can have a static int, counter, in this class, which is accessible by all
    classes (make it public or create increment, decrement and getValue methods). In
    the valueBound method, get it to increment the static int, in valueUnbound call
    decrement).
    Now in the JSP pages, at the top, check if the User object exists in the Session
    scope. If it doesn't, create one and add it to the Session. This will
    automatically call the valueBound on that object and increment the counter. When
    a persons session expires, or the User object is removed from the session, the
    valueUnbound is automatically called and the counter decrements.
    I usually make this check a seperate JSP page which I include on all the other
    pages. Then all you need to do is get the User.counter value at any time to see
    how many people are on the system.
    Hope it helps
    Mark
    Don't link spam, please.

  • How to send notification to more that 1 person in CC?

    Hello,
    In properties for Notification --> Extended tab --> CC or BCC/ Reply to.......
    I have the button (with ...) to help pick up a value for CC/ BCC etc.
    But only 1 value
    Question, How do I do multiple selects in these fields ?
    regards

    Hello,
    In properties for Notification --> Extended tab --> CC or BCC/ Reply to.......
    I have the button (with ...) to help pick up a value for CC/ BCC etc.
    But only 1 value
    Question, How do I do multiple selects in these fields ?
    regards

Maybe you are looking for

  • Group By Clause not working in SQL Server CE Version 3.5.8080.0. Help needed

    SELECT Item_Type.Name AS Item_Type_Name,Category.Name AS Category_Name,UoM.UoM_Name AS Unit_Name,SUM(Invoice_Item.Quantity) AS Qty_Sold,SUM(Invoice_Item.Sold_Price) AS Sale_Price   FROM Invoice_Item  INNER JOIN Item_Type ON Invoice_Item.ItemType_ID =

  • Capturing quantity of logistic transactions in CO, apart from CO-PA

    Hi, Is there any way of capturing quantity of logistic transactions in CO, apart from CO-PA? The whole idea is so that I could report it with Cost/Profit-Centers by Cost Elements with the purpose of reporting the quantity together with P&L Statement

  • Joining two tables from two databases

    Hi, I have two tables A,B in two warehouses named CB and DB. i have to import these two tables in to RPD and join from there and generate reports in answers. will this scenario work in obiee.is it affect the performance? thanks aswin

  • After Effects CS6 fails to render and I dont know why?

    I'm fairly new with After Effects and my problem is that when I am trying to render my movie, it fails to render at the exact same point every time. The point where it fails is when my 1st video is transitioning to my 2nd video in the movie. And when

  • ASA5520-Access to FTP site

    I thought I would run this by the forum in case there is someone out there who experienced the same issue.  I have users behind an ASA5520 firewall running 8.x code who are unable to access a particular ftp site through a web browser or an ftp client