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)

Similar Messages

  • Need help in using First Responder Wins voting in AME

    Hi All,
    Following is my requirement.
    Create custom workflow for payments in lease and it will have three levels of approvals.
    Fisrt level should go to two persons in parallel, if any one approves it should go to next levels in series.
    So i created AME Approver type with static persons and given voting as first responder wins but getting error as "parallelization, context in which ame package called is not supported".
    Request your help in achieving this requirement.
    Thanks
    Rajesh

    Hi snoopyish,
    >> I've tried to run the Solver once for the first row (row 2), and recorded the Macro code as below. Please could someone help me with rewriting it as a loop?
    Do you mean that you want to loop the column "AB"  from row 2 to row 29991, if so, I think you could use the "For  i=2 to 29991 Next i" statement to achieve that, you could refer the link below for Looping through a range of
    cells.
    # Looping Through a Range of Cells [Excel 2003 VBA Language Reference]
    https://msdn.microsoft.com/en-us/library/office/aa221353(v=office.11).aspx
    Some key code as below, you need to modify it as your own requirement:
    Sub icoe()
    ' icoe Macro
    For i = 2 To 29991
    SolverOk SetCell:="$AC$2", MaxMinVal:=3, ValueOf:=0, ByChange:=Range("$AB$" & i), Engine _
    :=1, EngineDesc:="GRG Nonlinear"
    SolverAdd CellRef:=Range("$AB$" & i), Relation:=1, FormulaText:="1"
    SolverAdd CellRef:=Range("$AB$" & i), Relation:=3, FormulaText:="0.0001"
    SolverOk SetCell:="$AC$2", MaxMinVal:=3, ValueOf:=0, ByChange:=Range("$AB$" & i), Engine _
    :=1, EngineDesc:="GRG Nonlinear"
    SolverOk SetCell:="$AC$2", MaxMinVal:=3, ValueOf:=0, ByChange:=Range("$AB$" & i), Engine _
    :=1, EngineDesc:="GRG Nonlinear"
    SolverSolve
    Next
    End Sub
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • 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

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

  • HRSSA  Dynamic Approver comptability with the notification Mailer

    Dear All ,
    we are developing "HRSSA " while testing it's working so fine with the user if he defined on the workflow with a static value , but if his value is retrieved dynamically with select statement it isn't working
    it ignores the approver & update the requester with approved status
    Example
    first approver : defined static (he recieved the mail & approved )
    second approver : defined  as dynamic (doesnot get the notification & update the requester record request as approved )

    Hi,
    the diagnostic i ran was accoring to the note
    Oracle Workflow ATG Support: R12 Java Mailer Setup Diagnostic Test [ID 748421.1
    It has so many output files
    which one should i post
    Did you get any error/warning messages? If yes, post this part only here.Regards,Hussein                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to specifiy the provider to be Oracle.ManagedDataAccess.Client when creating a dynamic connection string with EF Code First from Database?

    I am trying to use the relatively new Code First from Database with the newest EF (6.x) and on an Oracle database (11g, but I have installed the newest ODTwithODAC). First of all, it works fine as long as the connection string is inside the App.Config file. But when I try to build it dynamically in the C# code (or rather, statically at the moment) it fails. I have it working with a dynamically built connection string when doing Model from Database though, so I'm at a loss right now.
    First, I have created a second constructor for the context class that takes a string and does base(connectionString). Then I build the connection string via
    OracleConnectionStringBuilder oracleBuilder = new OracleConnectionStringBuilder();
    oracleBuilder.DataSource = "TEST.BLA.COM";
    oracleBuilder.UserID = "ABC";
    oracleBuilder.Password = "abc";
    oracleBuilder.PersistSecurityInfo = true;
    string connection = oracleBuilder.ToStrin();
    Now trying to open an EntityConnection by giving to it this provider-specific connection string (or even the static one from the App.Config) doesn't work; I get "keyword not supported: user id"). Trying it by creating a context and giving this connection string doesn't work either. I'm pretty sure that this is because I didn't specify the provider to use; after all, it should use the Oracle.ManagedDataAccess.Client provider and not an SQL Server based one.
    I then tried to get around this by using an EntityConnectionStringBuilder on top and specifying the provider keyword there, but then I get "keyword not supported: provider" when using it in the context constructor, and "the 'metadata' keyword is always required" when using it with the EntityConnection constructor.
    As I said above: I bet it's the provider that I have to specify somehow, but I don't know how. The code that does work is the following:
    using (var context = new Model())
    context.Database.Connection.Open();
    context.Database.Connection.Close();
    When I read context.Database.Connection.ConnectionString, it is exactly the provider-specific connection string I created above, but I don't know where to specify the provider again. Do you know of any way to do this? Certainly there must be one.
    PS: I have also posted this question on http://stackoverflow.com/questions/27979454/ef-code-first-from-database-with-managed-oracle-data-access-dynamic-connection because it is quite urgent and I'd like to use Code First from Database. Otherwise I'd have to go "back" to using Model from Database again, which is not ideal because we have updatable views where the .edmx-file has to be edited after every reload of the model, while with Code First from DB inserting into the view automatically works.

    I am trying to use the relatively new Code First from Database with the newest EF (6.x) and on an Oracle database (11g, but I have installed the newest ODTwithODAC). First of all, it works fine as long as the connection string is inside the App.Config file. But when I try to build it dynamically in the C# code (or rather, statically at the moment) it fails. I have it working with a dynamically built connection string when doing Model from Database though, so I'm at a loss right now.
    First, I have created a second constructor for the context class that takes a string and does base(connectionString). Then I build the connection string via
    OracleConnectionStringBuilder oracleBuilder = new OracleConnectionStringBuilder();
    oracleBuilder.DataSource = "TEST.BLA.COM";
    oracleBuilder.UserID = "ABC";
    oracleBuilder.Password = "abc";
    oracleBuilder.PersistSecurityInfo = true;
    string connection = oracleBuilder.ToStrin();
    Now trying to open an EntityConnection by giving to it this provider-specific connection string (or even the static one from the App.Config) doesn't work; I get "keyword not supported: user id"). Trying it by creating a context and giving this connection string doesn't work either. I'm pretty sure that this is because I didn't specify the provider to use; after all, it should use the Oracle.ManagedDataAccess.Client provider and not an SQL Server based one.
    I then tried to get around this by using an EntityConnectionStringBuilder on top and specifying the provider keyword there, but then I get "keyword not supported: provider" when using it in the context constructor, and "the 'metadata' keyword is always required" when using it with the EntityConnection constructor.
    As I said above: I bet it's the provider that I have to specify somehow, but I don't know how. The code that does work is the following:
    using (var context = new Model())
    context.Database.Connection.Open();
    context.Database.Connection.Close();
    When I read context.Database.Connection.ConnectionString, it is exactly the provider-specific connection string I created above, but I don't know where to specify the provider again. Do you know of any way to do this? Certainly there must be one.
    PS: I have also posted this question on http://stackoverflow.com/questions/27979454/ef-code-first-from-database-with-managed-oracle-data-access-dynamic-connection because it is quite urgent and I'd like to use Code First from Database. Otherwise I'd have to go "back" to using Model from Database again, which is not ideal because we have updatable views where the .edmx-file has to be edited after every reload of the model, while with Code First from DB inserting into the view automatically works.

  • Issues creating dynamic distribution group with PowerShell

    I am trying to create a DDG with the following filters: Mailbox Users, specific OU and not member of a certain group. This script works fine (minus the exclusion):
    New-DynamicDistributionGroup -Name "1Test1" -RecipientContainer "OU=ABC,DC=xyz,DC=com" -IncludedRecipients 'MailBoxUser'
    \When I change the script to exclude members of the group the DDG is blank:
    New-DynamicDistributionGroup -Name "1Test1" -RecipientFilter {(RecipientType -eq 'UserMailbox') -and (MemberOfGroup -ne "CN=1ExcludeDynamic,OU=ExchangeGroups,DC=xyz,DC=com") -and (RecipientContainer -eq "OU=ABC,DC=xyz,DC=com")}
    Any ideas will be appreciated.

    All right. That's a good thing. Now create another new DDL using the Powershell cmdlet and the values you got from the "RecipientFilter" and "RecipientContainer" properties. Then verify that you get the same results as you do when you ran this on the one
    you created with the GUI:
    Get-DynamicDistributionGroup
    'NewGroup' | fl Name,RecipientContainer,RecipientFilter,LdapRecipientFilter
    and
    $g=Get-DynamicDistributionGroup NewGroup
    (Get-Recipient
    -RecipientPreviewFilter $g.RecipientFilter
    -OrganizationalUnit $g.RecientContainer).count
    If you do, then run a Get-DynamicDistributionGroup GROUPNAME | Set-Dynamic -RecipientFilter
    {(RecipientType -eq 'UserMailbox') -and (MemberOfGroup -ne "CN=1ExcludeDynamic,OU=ExchangeGroups,DC=xyz,DC=com")}
    Then see if it works as expected. If it doesn't try this:
    Get-DynamicDistributionGroup GROUPNAME | Set-Dynamic -RecipientFilter {(RecipientType -eq 'UserMailbox') -and -not (MemberOfGroup -eq "CN=1ExcludeDynamic,OU=ExchangeGroups,DC=xyz,DC=com")}
    --- Rich Matheisen MCSE&I, Exchange MVP

  • Dynamic LDAP Groups with WLS5.1

    If I am using the Dynamic Groups feature of Netscape Directory Server
    V4.1, can I use this to define a group using using the LDAP Realm.
    Thanks
    Ken
    [kyoung.vcf]

    Support for dynamic groups is not supported at this time.
    Paul Patrick
    "Ken Young" <[email protected]> wrote in message
    news:[email protected]..
    If I am using the Dynamic Groups feature of Netscape Directory Server
    V4.1, can I use this to define a group using using the LDAP Realm.
    Thanks
    Ken

  • Creating Dynamic Radio Groups with HTMLDB_ITEM

    Hi,
    I'm using HTMLDB (1.5.1.00.12) and attempting to create a Dynamic Radiogroup using the HTMLDB_ITEM package in a PL/SQL region. (It's not known until runtime whether a radiogroup should appear on the page.) I normally call to HTMLDB_ITEM and htp.p the results to the screen.
    If I was creating this radiogroup using a normal Page Item: Active/Inactive. I usually define a list of values as: STATIC:Active;A,Inactive;I
    How can I do this with HTMLDB_ITEM package, and get both radiobuttons to appear on the same line next to each other? Unfortunately this function doesn't have a p_query I can pass values to. I'm sure I'm overlooking something obvious so I'm hoping some fresh perspective on this will help.
    Thanks in advance!

    Hi Patrick,
    Thank you for your reply I have done this as follows.
    function getTermdetailsQuerySuccsess(sender, args) {
      var listEnumerator = Termsitems.getEnumerator();
      // var datatable = document.getElementById("TermList");
      var i =0;
      while (listEnumerator.moveNext()) {
       i=i+1;
       var Question = listEnumerator.get_current().get_item('Title');
       var QuestionNumbers = listEnumerator.get_current().get_item('questionnumber');
       if (QuestionNumbers == 1) {
       $("#questiontable1 tbody").append("<tr>");
       $("#questiontable1 tbody").append("<td align='left'>"+ Question +" </td>");
       $("#questiontable1 tbody").append("<td align='Center'><input type='radio' name='question1Radio"+i+"' id='Question1Radio"+i+"'></td>");
       $("#questiontable1 tbody").append("<td align='Center'><input type='radio' name='question1Radio"+i+"' id='Question1Radio"+i+"'></td>");
       $("#questiontable1 tbody").append("<td align='Center'><input type='radio' name='question1Radio"+i+"' id='Question1Radio"+i+"'></td>");
       $("#questiontable1 tbody").append("<td align='Center'><input type='radio' name='question1Radio"+i+"' id='Question1Radio"+i+"'></td>");
       $("#questiontable1 tbody").append("<td align='Center'><input type='radio' name='question1Radio"+i+"' id='Question1Radio"+i+"'></td>");
       $("#questiontable1 tbody").append("<td align='Center'><input type='radio' name='question1Radio"+i+"' id='Question1Radio"+i+"'></td>");
       $("#questiontable1 tbody").append("<td align='Center'><input type='text' name='question1Text"+i+"' id='Question1Text"+i+"'></td>");
       $("#questiontable1 tbody").append("</tr>");
    d.n weerasinghe

  • 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

  • R12 Existing Business Group with Global HR

    Hi All,
    I need your help in following:
    We currently have Two Business Group: 1) US 2) ASIA & both of them have one GRE
    We wanted add more GRE into ASIA business group with Ledger. First part is only for HRMS and may be in future we can make use of other modules.
    Underneath ASIA we want GREs like : 1) Korea 2)Japan 3) China and also Ledger for these GREs.
    I have seen like Adding Secondary Subledger to existing Primary Ledger but there option like Journal,Subledger.
    So question would be what option should/could we use for future use if we add seconday subledger to existing primary ledger.
    Can we any way do this if we want to use any modules like AR/AP etc. using seconday subledger.
    Thanks in advance
    Prashant Pathak

    You can have any number of Secondary Ledger attached to the primary. However the options like Journal,Subledger etc will decide how your subledger transactions will be represented in your Primary and Secondary Ledgers. For example, if you choose the option to be Journal, and you have a different Subledger Accounting Method for your primary and secondary, a single transaction in AP will have 2 representations, one each for your primary and secondary.
    You can do this for the subledger modules like AP/AR etc.
    Hope it helps.

  • Parallel Approval for Approval Groups

    I have a doubt in AME rules which can be created for the ‘Payables Invoice Approval’ Transaction Type. I have to configure AME rule for the particular Scenario. (Issue is the item marked in red)
    Scenario:-
    Created a Line item attribute to get the value of minor account from invoice distribution line. SQL query for same is given below.
    select glcc.segment3
    from ap_invoice_distributions_all apd, gl_code_combinations glcc
    where
    apd.dist_code_combination_id=glcc.code_combination_id and
    apd.invoice_id = :transactionId and apd.invoice_distribution_id in (select invoice_distribution_id
    from ap_invoice_distributions_all
    where invoice_id = :transactionId
    order by apd.invoice_distribution_id
    Created 2 conditions with this attribute, Minor1 - for segment3 17240 and Minor2 for segment3=44496
    Created two different rules using these conditions (used two different approval groups, with one approver each in approval group)
    I created an invoice with 2 distributions. First dist has minor 17240 (satisfying rule1) and second with minor 44496 (satisfying rule2)
    I expected both these rules to be executed at the same time and e-mail to be sent to these approvers parallely (we tried to set order num in approval group to not unique and num=1. But it didn’t work)
    However, these rules are processed serially and notification is sent to second approver after first approver approves it.
    We need to figure out a way, how notifications can be sent to both approvers (of different approval groups) at the same time also can item level approval be configured for approval groups?
    I even tried Dual Chain of authority. But Dual Chain of authority is again for supervisory hierarchy. I also tried the pre-chain-of-authority approvals (which will be an approval group) along with the main approval group. But parallel processing was not possible.
    Also tried the exception condition but could not obtain the desired functionality.
    Any pointers would be appreciated. Thanking you in anticipation.

    Did a little digging and it worked!

  • 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

  • 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 approval with loop

    Hello All,
    I am developing a dynamic approval process and here is my requirement.
    We are maintaining the agents in the custom table.I am using multiline element to send the user decision tasks to all users in the table. if user approves then workflow continues..if user rejects then i need to send the user decision task to all agents in the table or just to the rejected user for reapproval..
    for this..
    what i have done so far is..
    1. i have called a system method to pull the agents from custom table.
    2. i have used the multiline element to the user decision step..and work items are going out for approvals to all agents in the table under this task which is parallel.
    3.if approved..continue workflow
    My question is  if user 1 rejects the item can i do another user decision step which is sending the approval to all or just to the rejected user in the rejection path?
    again if user2 rejects i need to follow the same..as it is dynamic am not sure how to achieve this flow..
    and it continues until all approved..am not sure how to pursue this..please help..
    Thanks in advance..

    Dear Suresh,
    This means if rejected-- need to send it to all or just to the rejected user depending upon initiator decision..i believe we can add another option in second user decison as to send only to rejected user along with resubmit..i will try this option..
    Yes you are right.. Provide 3 buttons to initiator like 1)resubmit to all 2) resubmit to rejector 3) exit
    Have a multiline container element with name say approver. If initiator clicks the resubmit to all button in user decision then use the multiline container approver (which has all approvers populated by you). If he selects resubmit to rejector the pass the agent (who rejected the workitem in previous step) via binding for that step.
    Remaining logic remains the same as mentioned by Sanju.
    Regards,
    Bharath

Maybe you are looking for

  • How can I get back all of my family videos from the iTunes monster?

    So here's the thing. Over the past few years I have accumulated a whole heap of home videos as well as movies, TV episodes etc. etc. which has grown and grown to the point where there was no more space on my 60GB hard drive. So I go out and buy an 80

  • Mac Mini 2.53 C2 Duo will not take any disc

    Hi all here is my problem- I have a Mac Mini C2 Duo 2.53 that will not take any disc DVD or CD when it is turned on. If I turn it of and put a DVD or CD in the slot it will load on boot and play and read. If I eject the disc and load a new disc with

  • ASN not reached SAP R/3

    Hi All,    ASN (Advance Shipment Notification) was sent from SUS system to R/3 ,in R/3 idoc is not getting posted and in WE02   we are getting Idoc error with status 51 " Document already being processed" . Please help me in solve this issue. Thanks

  • Xen/KVM/other - which solution for Linux virtualization

    Hello, we are intensively using Solaris 10 virtualization called Solaris zones. It is so secure (in terms of separation), easy to use and has so little overhead that our DBAs doesn't want to install our RDBMS-es out of zones. But we are going to depl

  • Most satisfying indestructible shock-absorbing tank armor for iphone 3G

    I need the best (best=highly satisfying) case in terms of protection for the iphone 3G I ordered. I know there are a lot of posts on this subject but I have very specific preferences and don't want to spend hours reading tons of posts on every channe