Dynamic Approver Group

Hi all,
Is there a way to let the dynamic approver group to return more than one record?
for one record we return the person_id in the format 'PERSON_ID:'||PERSON_ID
Could we use 'PERSON_ID:'||PERSON_ID||',PERSON_ID:'||PERSON_ID for example to retrieve 2 person id's??
The query of the approver group is calling a function that check the process name and return all the people associated with a position or a job, I need to build dynamic approver groups to send notifications to a group of people so that anyone in that group can approve it and hence it moves on to the next approver group's people
any idea?!
Edited by: HST on Sep 7, 2010 7:37 AM

Thanks Vinayka for the reply.
I have tried doing your advice, the query return more than one record (3 in my example) and the voting method is first responder wins.
What happened when submitting the request is that the notification sent to the first person (the one returned in the first record) only and i have to wait for his approval or rejection
if he approves or reject the cycle stopped.
i need to send the notification to all employee that the query return and the approval from one of them is enough!
any idea?
Edited by: HST on Sep 14, 2010 12:00 AM

Similar Messages

  • Dynamic Approval Group with Voting Method  First Responder Wins

    Hi all,
    i create new Approver Group with type: Dynamic, and Voting Method: First Responder Wins. and i write the query to get user_id.
    The query return the correct users, but in the approval list in the wf, it requires approval from all users in my dynamic approver group !!
    i need only one first user to approve (First Responder Wins), then must go to next approver group.
    please help me to solve this problem
    thanks all ..
    hedaya

    With Dynamic approval First Responder wins does not work, We have to use Roles in HR Manager.
    Refer Configuring Parallel Approvers Notification (Doc ID 471125.1)

  • Dynamic Approver Group Will Not Return Multiple Approvers

    We have created a dynamic approval group to return person_ids (stored in a lookup) for some of HR operations people. This will be called by an FYI rule.
    The problem is that AME seems to fail if mulitple person_ids are returned by the dynamic query.
    Is it even possible for a dynamic approval group to return multiple person_ids? If so what could I be missing?
    P.S. I realize I can use a static approver group to meet the same requirement but the reason we choose a lookup was it made it easier for us to maintain. We can revert to a static group if there is no other solution.

    We overcame the problem by splitting out each person_id into a different row in the lookup table.
    Multiple approvers are now being returned.

  • ORA-2001:The approver group Process MFG Approvals has dynamic query in wron

    ERROR ORA-2001:The approver group Process MFG Approvals has dynamic query in
    wrong format in 11i
    We are setting up the Approver Group 'Process MFG
    Approvals" using a dynamic query, like:
    SELECT PAPF.EMPLOYEE_NUMBER
    FROM PER_ALL_PEOPLE_F PAPF,
    fnd_lookup_values FLV
    WHERE FLV.MEANING=PAPF.EMPLOYEE_NUMBER
    AND lookup_type='SUG_SAMPLE_NOTIFICATION'
    AND SYSDATE BETWEEN papf.effective_start_date AND papf.effective_end_date
    AND FLV.LOOKUP_CODE= (SELECT GME.PLANT_CODE FROM GME_BATCH_HEADER GME WHERE
    GME.BATCH_ID=:transactionId)
    - Above query is passing the validation action from within the setup screen.
    - However, when this approver group is being invoked via Sample Creation
    workflow, there is following error raised:
    ORA-20001:The approver group Process MFG Approvals has dynamic query in
    wrong format
    More, if user is trying to use a more simple query like:
    select distinct person_id from PER_ALL_PEOPLE_F where full_name = 'Mr.
    Oliverking G' we are getting same error
    Any idea, plse, would be gretaly apprciated.
    txs
    Peter

    Hi,
    You need to prefix the value with a text string which indicates what kind of value you are returning.
    E.g. if you are returning a user ID, prefix the value with 'user_id:'; if you are returning a person ID, then prefix it with 'person_id:'
    There is an article on my blog about creating a dynamic approval group in AME as part 5 in the series on AME: http://www.workflowfaq.com/ame-part-five-defining-a-dynamic-approval-group
    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

  • AME - Nested Approver Groups

    Hi
    I am trying to setup a nested approver group. The setups I have done are as follows:
    Create a dynamic approver group - A - There is a SQL attached to retrieve the members of this group
    Create a second dynamic approval group B - There is a SQL attached to retrieve the members of this group as well.
    Create a static approver group C and enter the Group members as Approver Type - Nested Group and Approver is Group A and Group B.
    The transaction goes for approval to the the member of approver group A and dayanoes not go any further. It should also have gone to the members of
    Approver Group B since they are nested and part of the group.
    The transaction exists in hr_api_transactions and the notifications appear in wf_notifcations as well.
    Any help would be greatly appreciated.
    Regards
    Narayan Pillai

    Hi
    I am trying to setup a nested approver group. The setups I have done are as follows:
    Create a dynamic approver group - A - There is a SQL attached to retrieve the members of this group
    Create a second dynamic approval group B - There is a SQL attached to retrieve the members of this group as well.
    Create a static approver group C and enter the Group members as Approver Type - Nested Group and Approver is Group A and Group B.
    The transaction goes for approval to the the member of approver group A and dayanoes not go any further. It should also have gone to the members of
    Approver Group B since they are nested and part of the group.
    The transaction exists in hr_api_transactions and the notifications appear in wf_notifcations as well.
    Any help would be greatly appreciated.
    Regards
    Narayan Pillai

  • Dynamic Distribution Group - Moderator approval fails

    hi,
    (On premise and office365 Exchange)
    we use the above in our organization. we have some dynamic groups created. I have a moderator for a couple of groups. when a user sends an email to one of the group that has a moderator, the latter gets an email to either approve or reject the message. when
    he/she clicks on the accept button they get the following error:
    Delivery has failed to these recipients or groups:
    Microsoft Exchange Approval Assistant
    Your message wasn't delivered because the recipient's email provider rejected it.
    Diagnostic information for administrators:
    Generating server: DB4PR07MB0701.eurprd07.prod.outlook.com
    SystemMailbox{d57a4133-7e21-486e-9917-f7fb70dc2cdb}@XXXXXX.onmicrosoft.com
    Remote Server returned '< #5.7.12 smtp;550 5.7.12 RESOLVER.RST.SenderAuthenticated; Delivery restriction check failed as sender not authenticated>'
    Original message headers:
    Received: from AMXPR07CXXXXX.eurprd07.prod.outlook.com (10.242.64.XX) by
    DB4PR07XXXXX.eurprd07.prod.outlook.com (10.141.45.XX) with Microsoft SMTP
    Server (TLS) id 15.1.6.9; Fri, 31 Oct 2014 14:20:41 +0000
    Received: from DB3FFO11XXXXX.protection.gbl (2a01:111:f400:7e04::130) by
    AMXPR07CXXXXX.outlook.office365.com (2a01:111:e400:1000::20) with Microsoft
    SMTP Server (TLS) id 15.1.11.14 via Frontend Transport; Fri, 31 Oct 2014
    14:20:41 +0000
    Received: from XXXXX.XXXXX.co.ke (197.220.102.XXX) by
    DB3FFO11FD053.mail.protection.outlook.com (10.47.217.XXX) with Microsoft SMTP
    Server (TLS) id 15.0.1049.20 via Frontend Transport; Fri, 31 Oct 2014
    14:20:40 +0000
    Received: from XXXXX.XXXXX.co.ke (192.168.11.XXX) by
    XXXXX.XXXX.co.ke (192.168.11.XXX) with Microsoft SMTP Server (TLS) id
    15.0.847.32; Fri, 31 Oct 2014 17:20:37 +0300
    Received: from XXXXX.XXXXX.co.ke ([fe80::4b9:1080:7301:f8be]) by
    XXXX.XXXXX.co.ke ([fe80::4b9:1080:7301:f8be%15]) with mapi id
    15.00.0847.xxx; Fri, 31 Oct 2014 17:20:37 +0300
    From: "XXXXX XXXXX " <[email protected]>
    To: Microsoft Exchange Approval Assistant
            <SystemMailbox{d57a4133-7e21-486e-9917-f7fb70dc2cdb}@XXXXX.onmicrosoft.com>
    Subject: Approve: * QUOTE OF THE DAY *
    Thread-Topic: * QUOTE OF THE DAY *
    Thread-Index: Ac/1FciNlxJwVzCBTJKjqDyb/OnY+gAAAOtxAAAChkA=
    Date: Fri, 31 Oct 2014 14:20:37 +0000
    Message-ID: <[email protected]>
    Accept-Language: en-US
    Content-Language: en-US
    X-MS-Has-Attach:
    X-MS-TNEF-Correlator:
    x-originating-ip: [192.168.1.XXX]
    Content-Type: text/plain; charset="us-ascii"
    Content-Transfer-Encoding: quoted-printable
    MIME-Version: 1.0
    Return-Path: [email protected]
    X-EOPAttributedMessage: 0
    X-Forefront-Antispam-Report: CIP:197.220.102.xxx;CTRY:KE;IPV:NLI;EFV:NLI;
    X-OriginatorOrg: XXXXX.onmicrosoft.com
    X-Microsoft-Antispam: UriScan:;
    X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:DB4PR07xxxxx;
    Kind Regards, Khuzema R.

    Hi Khuzema,
    Please confirm if your Dynamic Distribution Group is created on-promise and the moderator is on the Office365 Exchange.
    If the Dynamic Distribution Group and the moderator are in different Exchange servers: On-premise and Online, please open the Dynamic Distribution Group in EAC, then check
    Senders inside and outside of my organization in delivery management to have a try.
    If it doesn’t work, I suggest we can change a moderator who is in the same mailbox server with the Dynamic Distribution Group to check whether the issue persists.
    Regards,
    Winnie Liang
    TechNet Community Support

  • Dynamic Approver List  + BPEL 10.1.3.3

    Hi,
    May I know how to write the Xpath(List of Approvers are passed as BPEL variable) for Defining the Dynamic Approvers Assignee list in human task assignment editor?
    Any sample example?
    Thanks

    Hi,
    After passing the comma separated approver list,I could see in BPEL instance. But assignment thinks it is single group at runtime. E.g
    if comma separated groups are A,B. Assignment service thinks it is single group and complains saying A,B role not exist.
    What I noticed that in static comma separated list, i could see individual elements added in source code
    <participant name="Assignee1">
    <resource isGroup="true" type="STATIC">A</resource>
    <resource isGroup="true" type="STATIC">B</resource>
    </participant>
    But in dynamic approver list do I need to apply any xQuery or XSLT to iterate over list? Please advice
    Thanks

  • Human Workflow email notification to a distribution list when assigned to an approval group

    Hi All,
    is there a way to send the notification email to an email distribution list when a task is assigned to an approval group instead of sending individuals emails to each member?
    As of now HW config is sending individual emails to each member of the approval group when the task is assigned to that approval group, for some approval groups (not all) they want the notification emails be sent to a distribution list, also we are using the actionable emails - so far it's working fine - the only thing is that the recipient of the actionable emails should be a dist list, is this even possible?
    thanks in advance

    Hi,
    From your description, some users that are not the dynamic distribution group members receive the messages that are sent to the dynamic distribution groups. If I have misunderstood your concern, please let me know.
    In your case, I recommend you use the following cmdlets to verify the members of this dynamic distribution group at first.
    $MarketingGroup = Get-DynamicDistributionGroup "Marketing Group"
    Get-Recipient -RecipientPreviewFilter $MarketingGroup.RecipientFilter -OrganizationalUnit $MarketingGroup.OrganizationalUnit
    Hope it helps.
    Best regards,
    Amy Wang
    TechNet Community Support
    Hi Amy,
    Correct, some users that should and are filtered out from the DDL are receiving the emails.
    I set the variable and ran the command you provided and got consistent results to the "filter preview" in EMC, the particular user that is filtered out in both membership preview method is still receiving these emails!
    Ash

  • Dynamic Distribution Group set conditions by importing text file?

    Exchange 2010 SP2.
    I created a dynamic distribution group via the EMC.  We have populated AD with ExtenstionAttribute1 and ExtensionAttribute2.  I have created the ddg with custom attribute1 value = employee.  What I need to do now is  populate custom attribute
    2 = 00-0001, 00-0002, and so on.  There are about 300 of these numbers I need to add.  I have them in a text file or csv file.  Instead of adding them one by one in the EMC, is there a way to import them via powershell to the existing ddg? 
    The ddg is called All Management Employees.

    If they go from 00-0001 to 00-0300, you could just add them as follows:
    Set-DynamicDistributionGroup <group name> -RecipientFilter "(CustomAttribute1 -eq 'employee') -and (CustomAttribute2 -like '00-0*')"
    However, if you have additional items like this (such as 00-0350, etc), you may need to use the following:
    Set-DynamicDistributionGroup <group name> -RecipientFilter "(CustomAttribute1 -eq 'employee') -and ((CustomAttribute2 -like '00-00*') -or (CustomAttribute2 -like '00-01*') -or (CustomAttribute2 -like '00-02*') -or (CustomAttribute2 -eq '00-00300')"
    Now, if your numbering isn't sequential and it can't be, you would need to add them individually - which may make your search filter unusable, in which case, you may need to create several dynamic groups and add them to a parent group.

  • In human task, dynamically assign group doesn't work

    Oracle SOA 11.1.1.4
    My bpel process invokes a human task.
    On the human task Assignment tab, I assigned 3 users (by name), 1 group (by expression).
    The group is configured in LDAP
    When I tested the bpel process, I entered the group and other data required.
    From the worklist app, I see the task listed. It is assigned to the 3 users, but not the dynamically passed-in group.
    From the Audit trail, I saw all data I entered (include the group). Everything seems correct, but I still can’t make the dynamically-pass-group work.
    If I assign the group by name in human task, it works fine.
    The problem is: dynamically assign group doesn't work.
    Please kindly advice.

    Yes, it is possible assign a group as participant of some human task, passing the group name as parameter.
    I have tested just now.
    It works pretty well in SOA 11.1.1.4 (BPEL or BPM).
    Make sure add a data parameter in your human task definition and pass a valid group name to it.
    At the Assignment tab, in the participants' list, add a group, data type by expression, and set the value to the right xpath expression to the corresponding parameter.
    For example: /task:task/task:payload/task:group
    If it is not working look the SOA log files, probably you'll find some information about the error there. Maybe there is some problem with your jazn.com configuration.
    You can also test if there is something wrong related to the group name, trying to transfer some task to the same group by the worklist.

  • PO Approval Group Problem

    Hi Experts/Gurus,
    We have Oracle EBS 11i (11.5.10.2) .
    Preparer is created Purchase Requisition. He cannot approve the PR, can only forward the PR .
    After forwarding PR to his superior say 'A' . He (User 'A') can review and change the PR if required.
    User 'A' has not PR approval rights. PR should be forwarded to next approver say 'B' , in hierarchy even though he (User 'A') press the APPROVE button from
    Notification summary.
    At last, approver 'B' has PR approval rights . He only can approve the PR .
    At our organization, PR is created with value 0 (Zero) and buyer is input the rate at the time of PO creation .
    How I can achieve this ?
    Request to guide me.
    Thanks in advance
    Sanjay

    Hi Sanjay,
    Hoping you are not using the position hierarchy.
    One way to achieve this is by using AME and put in place a rule where approval is required from two supervisors (Exception:- when the PR is raised by a subordinate just below the top employee).
    Another way to achive this is by excluding all the accounts from the job of approver 'A' in approval group (Not suggestible as maintaining jobs of employees in this scenario will be messy)
    HTH
    Prakash Kumar

  • Problem with Approval Group

    Hi!
    I have created an approval group using 3 Single Tiers.
    When i run the process, and it is in the first tier, the first participant 'Reject' the task (I'm using an interface with ADF). After this, the process instance should finish, but, it continues the approval flow. Is that correct? I think that if the first participant reject the task, the approval flow should finish, isn't it?
    Thanks for your attention.
    Silvana :)

    Hi!
    I have created an approval group using 3 Single Tiers.
    When i run the process, and it is in the first tier, the first participant 'Reject' the task (I'm using an interface with ADF). After this, the process instance should finish, but, it continues the approval flow. Is that correct? I think that if the first participant reject the task, the approval flow should finish, isn't it?
    Thanks for your attention.
    Silvana :)

  • Dynamic Distribution Group via csv file and Recipient Filter

    Hello,
    I am trying to create powershell command that will read a CSV file for "Name" and "Dept" and create a Dynamic Distribution Group based on the following Recipient Filter.
    Import-CSV Dist.csv | ForEach-Object {New-DynamicDistributionGroup -Name $_.Name -RecipientFilter {((((((Department -like $_.Dept) -and (RecipientType -eq 'UserMailbox'))) -and (UserAccountControl -ne 'AccountDisabled, NormalAccount'))) -and (-not(Name -like
    'SystemMailbox{*')) -and (-not(Name -like 'CAS_{*')))}
    I keep getting an error that "Missing closing '}" in statement block Char:314.  I added a "}" at the end of the command but then the command fails to read the .csv file.
    Assistance would be greatly appreciated to determine what I am missing.  I have over 100 Dynamic Distribution list to create.
    Cheers

    You're definitely missing a closing curly bracket.
    You have a lot of superfluous parentheses in that expression.  You could certainly simplify it.
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Need help in PO Approval Group Query

    Hi,
    I need a Query which will list of users that has the Approval Group “BUYER” and “BUYER_DEMO” assigned to them.
    It will be needful if anyone provides me the Query
    Thanks and Regards

    Hi
    Try this.
    SELECT PAPF.employee_number
    ,PAPF.full_name
    FROM po_control_groups_all PCGA
    ,po_position_controls_all PPCA
    ,per_all_assignments_f PAAF
    ,per_all_people_f PAPF
    WHERE PCGA.control_group_name IN ('BUYER','BUYER_DEMO')
    AND PCGA.control_group_id = PPCA.control_group_id
    AND PPCA.position_id = PAAF.position_id
    AND PAAF.person_id = PAPF.person_id
    Thanks and Regards,
    JD

  • Dynamic Distribution Groups question

    Can I create a dynamic distribution group based on Exchange Custom Attributes, specifically extensionAttribute6? I haven't used dynamic distribution groups yet, but now we have a need.

    Hello,
    Yes, it is possible. You can create dynamic distribution group using ConditionalCustomAttribute6 parameter: http://technet.microsoft.com/en-us/library/bb125127(v=exchg.150).aspx.

Maybe you are looking for

  • Cannot deactivate hierarchy in Query

    Dear all, From my problem is about activate/deactivate hierarchy for query in SAP BI version 7.0 whether query running on portal or on Business Exploeror(excel). First of all, this query is reported about cost center value and amount. I set the user

  • Insert multiple text files to multiple tables that have different table structures

    Hi All, I have a small problem. I have lots of text files in a folder location. Say for an example Company.txt, Code.txt. I need to insert all these files to tables similar to the file structure. Company file to Company table and Code file to Code ta

  • How can I check the version of Oracle in Linux?

    Dear all : How can I check the version of Oracle in Linux ? Regards Terry

  • Using a whole iPhoto Album as screensaver

    Until last evening, besides all the built-in screensavers supplied by Apple, all my iPhoto albums were available as screensavers by going to the Apple icon, choosing System Preferences and selecting the "Desktop & Screensaver" icon. Last night I adde

  • BI Vs BW

    Dear All, I am a SAP Functional Consultant (QM , PM & PP) and wants to grab some knowledge in the field of BI / BW as i am leaving my present job to move to Hyderabad to learn BW but i am little bit confused in BI & BW. Does it require programming al