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;

Similar Messages

  • How to Send Emails to multiple persons for message notification

    Hi ,
    I have a ORG unit & a Postion defined under it . users have been defined under the postion also. However when a message under the respective  ORG unit , the mail goes to 1 person who has been marked with a BP ( BP of orgunit) as mentioned in the Email field of the orgunit .   How do we have different persons notified as mentioned under the Postion field ??
    Regards
    Kumar

    Dear Fr,
    You need to define a group mail and assign this in this Business partner.
    For e.g in the ticket you have a field Developer and there are several Developer
    Then in this case create a Group mail for all the developers
    Assign this to a BP common say DEV and enter the earlier created Group mail in this BP.
    So whenver you have assign the ticket to DEV the group of developer wil get mail.
    PLEASE REWARD POINTS.

  • How to restrict login for multiple users having same Role

    Our Web Application is deployed on Tomcat 5.5
    The requirement is ?
    There are roles in application like "operator", "admin"?
    There are multiple users created for each of the above role.
    When one user of "operator" role is logged in, then
    It should not allow to login for another user of "operator" role.
    Also, if user did not log out & application gets close, then
    It should not allow to login for another user of "operator" role.
    Also, it should not allow to login for multiple requests of same user
    (using another browser instance...)
    Is it possible using session object?
    But, using session object, it will create separate objects for different users,
    So here I will not be able to restrict session object creation rolewise.
    Also, how to retrieve these multiple session objects created for different users on server?
    If anyone is having the solution please reply as soon as possible,
    Thank you.

    To tell you the truth, this is a stupid requirement. It must be an extremely fragile application.
    In any case, you will have to write your stuff for that. Probably a filter that on login, logout, and session expiration checks, makes, or removes entries in a DB (using a synchronized resource to prevent race conditions) or possibly even simply in an application context object.

  • Cfolder with SRM, role and the result not match

    Dear All,
    We are using Cfolder in SRM. But I found I cannot control it by role.
    For example, the Cfolder user only has a 'Read' role in the  Collaboration area or Public area, but this user still can create or delete any folder or document in this area.
    Very appreciate your help!!!
    Karl.

    Maybe your answer is part of the problem, this photos I took with Sony RX100 M3 and I do not find the right profile for this camera.
    But why the pano work perfect with the PS CC?
    Thank you

  • 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

  • Macbook Air- send mail to multiple person in contact with name of them in email

    Hi there, i use macbook air, in mail, i want to know if it is possible the if i wan to send email to multiple people in my contact and the name of the person will appear in the email message like Dear......... (follow by the name of person that i saved in the contact book)

    Hello Everyone,
    I have another issue.My workflow when directly executed sends mail to all users very quickly.All steps gets executed very quickly.This I could see through the workflow log and SOST and SCOT.But when I try to trigger the workflow through my transaction CRMD_ORDER(i have given proper BO and event) it is taking hours and still in Inprocess status.Infact its not even going to the first step(fetch email ids).
    I am totally confused on this behaviour.Kindly provide your ultimate solutions and I am very thankful for giving such good solutions to all my queries.
    Regds
    VLP

  • 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

  • How to send emails to Multiple Users from a Single People Picker lookup field using Sharepoint designer workflow

    Hi All,
    I am working with SharePoint 2013 designer workflow. we are using office 365.
    Our requirement to send email to multiple users, get the user groups from lookup list people and groups column.
    But SP designer sending emails to the first user alone.
    Please guide me to proceed.
    Advance Thanks.
    Regards
    Jenkins NS
    Thanks and Regards Jenkins

    finally I got a solution
     Identified a workaround to solve the issue using SharePoint designer.
    Step 1
    Create a lookup list Example department
    Columns
    Title (by default) – Single line of text
    Users – Person or Group
    Emails – Multiple lines of text
    hidden the Emails column (go to content type and set the column as hidden)
    Create a SharePoint designer Workflow
    Start Workflow automatically when an item is created
    Also Start Workflow automatically when an item is changed
    Workflow Stage 1
    Set Emails to current Item: Users
    The workflow will get all users email ids and add in the Emails column delimiter as semicolon.
    Step 2
    Create a custom list to get the email ids and send email
    Create a lookup column ex: analysis and refer department list, Allow multiple values
    Then Create a SharePoint designer workflow
    full details workflow steps please follow below
    URL
    http://jenkinsblogs.com/2015/04/30/how-to-send-emails-to-multiple-users-from-lookup-list-people-picker-field-using-sharepoint-designer-workflow/
    Thanks and Regards Jenkins

  • I am not able to send messages to multiple person from my iphone 5s after updating to ios 8.1.2. It shows message not delievered

    I am not able to send messages to multiple person from my iphone 5s after updating to ios 8.1.2. It shows message not delievered

    Hi waqaskhan91,
    Thank you for visiting Apple Support Communities.
    If you're not able to send text or iMessages to certain contacts after updating your iPhone, start with the troubleshooting tips in this article:
    iOS: Troubleshooting Messages - Apple Support
    If you only see this behavior with a few contacts, you may want to try these steps first:
    If the issue occurs with a specific contact or contacts, back up or forward important messages and delete your current messaging threads with the contact. Create a new message to the contact and try again.
    If the issue occurs with a specific contact or contacts, delete and recreate the contact from the Contacts app. Send a new message to the contact.
    Best Regards,
    Jeremy

  • 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

  • I was on the apple support site and typed my question in the small box at the bottom but couldn't figure out how to send it. The person at the other end couldn't read what I typed.

    I was on the apple support site and typed my question in the small box at the bottom but couldn't figure out how to send it. The person at the other end couldn't read what I typed.  I have a new OS10.8.4 and can't find "empty cache" when I'm ready to close Safari.  How do I do this?  Thanks

    https://discussions.apple.com/thread/4448839

  • 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 update software on multiple iPhones using same iTunes account?

    How to update software on multiple iPhones using same iTunes account?

    SeanB15 wrote:
    Here are more details on my situation which should help clarify things...
    I purchased three iPhone 4 models back when they first came out (for my family) that all share the same iTunes account for access to apps and music, but each phone/user still has his/her custom contact list, email accts, and select lists of apps and music from the one iTunes acct library.  The problem is (as I understand it) that I can only update the software on one of the three iPhones – the primary phone I used to setup the iTunes acct without wiping out the separate contact lists, etc. As it stands today... the first (primary) iPhone associated with the iTune acct has been updated with the latest software version 5.1.1 and sync'd up with all the apps, music, etc from the one iTune acct, while the other two iPhones are still running on the original software version 4.0.2 and are experiencing problems now. I was advised by AT&T back in January that it would be necessary to setup separate iTunes accts for the second and third iPhones in order to receive system updates and still be able to manage separate contact lists, etc. If I go this route, I assume we will lose all the apps on phones #2 and #3 that we have been "sharing"... correct? Since this AT&T advice was prior to iCloud coming out, would iCloud be a better solution or at least part of the solution? I really don't yet understand how iCloud works. Hopefully, one of you can help me??
    we have 2 iphone 4's synced to the same itunes account for apps and music since the day we bought them, but each has a different icloud acct. they have both been updated on the same itunes account with every update that has come out since we bought them in december of 2010. nothing on either phone has ever been lost or duplicated. having said all that, maybe i'm missing something here, but we have had no problems. we do have itunes setup to sync manually. i do believe i'm a piker compared to lawrence finch, but i'm just telling you what happens in my house. maybe check with apple? is there a store near you?

  • To create multiple files with same content but with different names

    Hi SapAll.
    here i have got a tricky situation on Idoc to File Scenario.
    in my interface of an Idoc to file ,there  is requirement to create multiple files with different file names but with same content based on one Idoc Segment.
    which means there will be one Zsegment with two fields in the idoc,where one field with (content refers to the name which file name should start with .so lets say if this segment is repeated for 3 times then PI should create 3 files in the same directory with same content but with different file names (from the filed).
    so here for now iam using one reciever file communication channel.
    can any body give me the quick answer.
    regards.
    Varma

    What do you mean by different names?
    when i make proper setting in the Receiver Channel....on how to create the filename (what to append) like add Timestamp, counter, date, messageid.....even in this case you will ahve file with different names and that too from same File channel.
    You can perform multi-mapping in XI/ PI and then your File channel will place the files in the target folder with relevant names. You cannot use Dynamic Configuration with Multi-Mapping!
    If you intend to use different File channels, then do the configuration as required (normal)...even over here you can follow multi-mapping.
    Do not use a BPM!
    Regards,
    Abhishek.

  • How can I make two copies of the same picture one with my watermark and one without for printing for clients?

    how can I make two copies of the same picture one with my watermark and one without for printing for clients?

    Export the photo twice, once with a watermark and once without a watermark.

Maybe you are looking for