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

Similar Messages

  • How to send a Workitem to User Group through WorkFlow

    Hi,
    I am developing a WorkFlow, in this i have an issue that i have to send a WorkItem to User Group on Certain condition. On Agent Assignment I want to assign User Group not a single or multiple Users.
    Could anyone resolve this issue. How can i resolve in WorkFlow.
    Harkesh Dang

    hi Harkesh,
    During agent assignment use Organizational unit -> All users in that organizational unit will receive workitem.
    Use Role -> All users having that role will receive workitem.
    Use Job/Position -> All users assigned to job/position ca receive workitem.
    Or else use expression -> Pass the user name through some selection criteria using a background method. Loop it. Create a task and workflow container and make sure that in properties tab multiline is checked.
    Hope it works.
    Regards,
    Raj

  • 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

  • How to set different default interactive reports for different user groups?

    I'm probably overlooking an obvious solution, but how do I set different default interactive report for different user groups?
    For the same interactive report, I want one set of users to see a default where the default filter is based on column X. However, another group of users doesn't have authorization to see that column so I need to set the default filter to something else for them.
    Thanks

    You can set a filter on a report in a URL - would that help? I think with apex 4.x you can also link to a saved default report or alternative report...

  • Mass creation of common folders for different user groups

    Hello Experts,
    We are using Portal 7.0 SP12 and we have 10 different user groups created in Portal.
    Based on this group structure, we need to create two common folders in each of the user's personnel documents in KM.
    Is there is any way to achieve this kind of requirement ?
    Can we do mass creation of these two common folders which will be assigned to all of the groups. This needs to be done in user's personnel documents and not in Public documents.
    Any help in this context would be highly appreciated. points assured.
    Thanks in advance,
    Anil Kumar.

    For every user a folder is created in userhome. One approach is to capture this folder creation event and create the folder structure you need. You need to develop a portal service which will listen to events from userhome repository.
    1. Capture folder creation event for user home
    2. Create the folder structure you want in this event handler
    Check this documentation on how to do this.
    https://media.sdn.sap.com/html/submitted_docs/nw_kmc/howto/rf/client_api/rf_client_api.html
    Regards,
    Prasanna Krishnamurthy

  • 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 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

  • Access control for different user groups in APEX 4.0

    Hi guys,
    in Apex 4.0, is there any way to use the access control page to configure access control for different user groups?
    The access control page currently only has an access control list by users with 3 privileges namely, Administrator, Edit & View where Administrator has the highest access level & View the lowest. Therefore 1 user cannot have more than 1 different privilege, however if the user belongs to 2 or more different groups then we can control what access he can have in a more fine grained manner. We also want to have more than the 3 privileges given.
    Can we assign different groups to different users and let them have different privileges to be configured by page, region, process or item level?
    Now Apex will create 2 tables, Apex_Access_Control & Apex_Access_Setup to store the application access control mode & access control list. It will also create 3 authorization schemes "access control - administrator", "access control - edit" & "access control - view" based on the 2 tables.
    Does this mean we have to change the table structures & edit the authorization schemes to suit our usage? We are reluctant to do this because if we upgrade to a newer version of Apex then we would have to merge our pl/sql coding with Apex's updated code.
    How can we auto-configure more than the 3 authorization schemes in the access control page? Is there any way to achieve a finer grain of access control based on the current access control administration page given by Apex without writing it ourselves?
    We are afraid that we may have missed something on Apex access control & do not want to reinvent the wheel.

    Hi Errol,
    to build your own application authorization scheme around the security model supplied by Apex for administration of the Apex environment would be a bad idea.
    This was never intended for authorization scheme management in custom built Apex applications, it was solely intended to control access in the Apex environment overall. The API for it is not published, and making changes to it, such as adding more roles, would run the risk of breaking the overall Apex security model. It would not be supported by Oracle and Oracle would not guarantee the upwards compatibility of any changes you make in future versions of Apex.
    In short, you should follow Tyson's advice and build your own structure. As he indicated, there are plenty of examples around and provided your requirements are not too complicated, it will be relatively simple.
    Regards
    Andre

  • Copying a query from different user group

    masters,
    is it possible to copy a query from different user group?
    if so please tell me how
    thnks!

    The query made from SQVI is only intended for individual use. It cannot be transported and there is no concept of Global/Standard area. To be able to transport or share the query to other users is by converting it to SAP Query wherein the source of data will also be converted to an Infoset. Remember that is done in the Standard query area. To do this, go to SQVI-> click SAP Query then go to menu Query -> Convert Quickviews... Select your Quickview queries and provide and infoset name.

  • 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;

  • Send notifications to the users whenever a template is ready or an approval

    Is it possible to send notifications to the users whenever a template is ready or an approval is recorded when we use the work status.  Is there any SAP "How to"  documentation available on this ?  What are the limitations of this process ?

    Hi Sumit
    Yes it is possible.
    In BPC Microsoft Version we can design Business Process Flow (BPF) with the required Start date and time.
    Through BPF (using step 1) we can also send E-mail Notifications for Start and closure of the Planning cycle.
    To make this E-mail notification thing work:
    1. Assign E-mail ids to the Owner/ Reviewer property in dimension with Hierarchy structure.
    2. Assign Server info in the Application Set Parameter section from BPC Admin domain.
    Using WorkStatus
    This initiates emails to both the planner and the approver for any change in data for a work state change.
    This is available in link: http://help.sap.com/saphelp_bpc70sp02/helpdata/en/a1/532226947C49A5B2E2BD32450CB2D1/frameset.htm
    Hope this answers your question.
    Regards
    Abhishek

  • Send notification to all users of specific responsibility in 11i

    Hi All,
    Is there anyway to send notification to all users of specific responsibility in 11i ?
    I have a setup form for hierarchy level (e.g level 1 - 5) by which each level will be notified either by responsibility or user?
    If its setup by responsibility, notification will be sent to all users under that responsibility.
    Do i have to create role using WF_DIRECTORY.CreateAdHocRole and add all users for specific responsibility to the role?
    Also if the responsibility setup changed, how to maintain the existing notification with the old resp.
    eg. level 1 is set to resp X then later on set to resp Y.
    Regards,
    Fendy

    Use 'Expand Roles' to achieve this. Please check the WF Developers Guide to see how it works.
    Yes, you may use wf_directory.createadhocrole for this purpose too.
    What do you mean when you say the responsibility has changed? It it is end-dated no notification should be sent to any of its members. It depends on the assignments of the role/user. if the assignment is used then the user will get it. If the assignment is end-dated then the user will not get the notification.
    You can always use wf_local_synch.Propagate_user_role to change the assignment of a user/role. If you want to end-date it, you can use it. Or you can add another user to the role, etc.
    Hope this helps,
    Alejandro

  • 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

  • A form  have different  user  group only alter their comment

    Dear all:
    i have a table (called main_tab) with these columns,
    WORK_DATE DATE
    work_USER_ID NUMBER
    work_USER_NAME VARCHAR2(50)
    DEPT VARCHAR2(30)
    SHIFT VARCHAR2(3)
    CONTRACT_MANAGER VARCHAR2(50)
    CONTRACT_HOURS NUMBER
    OP_MANAGER VARCHAR2(50)
    OP_HOURS NUMBER
    HR_MANAGER VARCHAR2(50)
    HR_HOURS NUMBER
    SIGH_HOURS NUMBER
    OP_REMARK VARCHAR2(100)
    HR_REMARK VARCHAR2(100)
    another table called USER
    user_id NUMBER
    USER_NAME VARCHAR2(50)
    USER_GROUP VARCHAR2(50)
    i want to do a form like this ( CONTRACT_MANAGER can add rows)
    eg:
    work_date is a date type can be selected(do not input manually)
    work_USER_ID ,work_USER_NAME ,dept,shift need user input manually
    contract_manager, op_manager,hr_manager is different user group
    when these different user login application,they can only alter their own comments(CONTRACT_HOURS ,OP_HOURS ,HR_HOURS )
    I think this may be a form, but i am not sure how to
    please teach me how i can achieve this
    many thanks. step by step will be best.
    saven

    Hi,
    The first thing you need to do is define some Authentication Schemes. Have a read of this: http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/sec.htm#BABEDFGB
    You should create one scheme for each type of user - how the schemes are defined depends on how you define those users, typically, though, it would be some form of SQL statement.
    Then, create a form (or, more likely, a report with a form so the user can see the data and click a link to edit it or click a button to create a new record). On that form, for any item except the hidden Primary Key item (which you haven't listed on the table structure?), you can select the Authorization Scheme in the Security section of the page item, report column or button etc. Once an Authorization Scheme has been applied to an object, only users that are in that Scheme can interact with that object.
    For the WORK_DATE item, just use a Datepicker page item - if you create a form using a wizard, this is usually done for you, but you should check the date format used
    Andy

  • How to send one email to entire group.

    Looking for reference on how to send one email to entire group.

    I think you're confused about some basic Java programming techniques.
    There are two obvious ways to do this.
    1. Call the addRecipient method in a loop.
    2. Collect all the recipients in a List, convert it to an array, and call addRecipients.

Maybe you are looking for