Acheiving dynamic parallel approval

Hi,
I am trying to use a decision step to send the approval request to a list of agents specified in a multiline container element. I am able to generate as many parallel branches as the number of agents. I want to acheive the following once this is done:
1) The workflow should not continue unless all approvers have approved a request (this can be regarded as an AND operation)
2)The workflow should continue even if one approver rejects a request. Also if any one approver rejects, the workitem should disappear for all other approvers.
A related question is as follows:
How do we specify an End condition for a decision step using a multiline container element. The end condition doesnt seem to be working for me. A step by step approach with some screenshots may be helpful.
Thanks,
Mudit

Hi Vinoth,
Your solution seems to be interesting. I will try it and let you know if it works for me. However, I tried a similar approach where I was raising an exception in the reject branch of the User Decision step (which uses a multiline container element) using the same Process Control step and was trying to catch it in a block element. But the workflow throws up an error with the way I tried. I will try the fork method which you have suggested.
Also I am interested in knowing if I can make use of the End Condition for this purpose which can be specified in the miscellaneous tab of the UD step where we specify the Multiline Container element. I am not sure when that End condition would be triggered.  If somebody has got this End Condition to work for him, can you share the exact steps that you followed for this?
Thanks for all your time.

Similar Messages

  • Dynamic Parallel Approval for HCM Process and Forms

    Hi everyone,
    I have a scenario where I need to use the "Dynamic Parallel Approval" (or to keep it simple, initially I tried using the "Parallel Approval" wizard)for a workflow used in the HCM Process and Forms.
    The standard task for approval in process and forms is TS17900101. I have mentioned a multiline container in the Miscellaneous tab of this task. However,I was unable to use this task in the wizard. There are no results attahced to this task unlike any other standard approval task (like TS30200147). I need to use the task TS17900101 in the workflow assigned to process and forms, but not sure how to handle this scenario (parallel approval).
    If this is not the right way of doing it, Is there any workaround for "Parallel Approval" in HCM Process and Forms.
    Could anybody throw some light around this area.
    Thanks for your help.
    - MM

    Thanks Anuj. But I believe, the container element that I add in the miscellaneous tab does not necessarily have to be used in the agent assignment. The multiline container is just to instantiate the workitem 'n' number of times. Correct me if I am wrong.
    My concern is that I was unable to use this approval task (TS17900101) in the workflow wizard for dynamic paralle/parallel approval.
    Arghadip - Thanks for your suggestion. I have seen some your nice contributions in the WF forum.
    I actually tried using the 'Blocks'. But this is what I ran into. When I send multiple approval requests (say 3), if one person has approved it and the second has rejected it,I need to take out the workitem from the third person's list (because it has been rejected by someone in the group). I am not sure if this is possible using Blocks. And in my case the third person is still having the workitem, but gets a dump/error when he tries to open it.
    Also, if any one has rejected the request, I do not have to wait for the rest to take any action on the workitem and proceed further. But I guess in 'Blocks' it will not let you go out unless every workitem has been processed.
    To summarize,here's what I need - I need to come out of the block for two conditions. One, if everyone has approved, comeout of the block with an apprval flag. Two, if anyone has rejected (even if some have not processed their workitem), delete the workitems from others inbox and come out of the block with a rejection flag.
    So, any kind of input or suggestions on how this could be handled would be highly appreciated.
    Thanks
    MM

  • Dynamic parallel approval workflow

    Hi all,
    I want to design a workflow where I have to send mails to different approvers. Here,the case with me is the approvers are selected dynamically & No. of approvers are also selected dynamically (at run time).
    I would like to know whether its physible or not. IF yes, any solution towards this will be helpful.
    Thanksin advance.
    Regards,
    Siddhesh Sanghvi

    I think the Actual_Agent container element gets populated only when someone completes the workitem. In your case you need to send the mail to the approver by using the same agent assignment you have used in that activity step. I hope you understand. If you use rule then ue rule in the deadline agent assignment also. You can also create a container element that populates the approvers in a task that is executed before nd use it in the deadline portion.
    Thanks
    Arghadip

  • Dynamic Parallel Authorization , IF APPROVE

    hi ppl,
              I am working on purchase order <b>BUS2012</b> in my scenario i need to use Dynamic Parallel approval. So if i use Dynamic Parallel Authorization wizard it says BUS2012 does not contain IF APPROVE what is this ? . Can anyone explain me in detail.

    HI Hari
    In order to implement Parallel processing use the the "Miscellaneous" or "Other" tab and provide the number of approvers in a multiline container element and mention in this tab. Now in the Binding from Workflow to Task of that particular step you will find a Par_For_Each_Index element in the Binding from Workflow to Task or subworkflow. Please use this  binding and this will ensure parallel steps. Please reward points if it is effective.
    Thanks
    Arghadip

  • Dynamic parallel processing using a multiline container element

    Hi All ,
      I just wanted to how things work when we use "Dynamic parallel processing" for a decision step . I came across a situation wherein a Rule gets the approving user(s) and the work item should be sent to all those users . After getting an approval from all the users , the workflow should proceed or else it should terminate .
       I was just wondering whether "Dynamic parallel processing" will do this job or not . I had also thought of using forks but as the number of approvers are  decided at runtime , i dont think it is possible .
       Any inputs ?
      Edit : We are working on CRM 5.0
    Thanks ,
    Shounak M.
    Message was edited by: Shounak  M

    Hi Shounak,
    Just do as Mike says:
    use the multiline element for a subflow.
    The subflow consists of your user decision, if someone rejects it, remember it (could be done by updating a small table using a method, or use an event, or what mike suggested, updating appending a table )
    In the top flow, after the multiline element step determine if someone rejected it (wait for event, or reading the table).
    Kind regards, Rob Dielemans
    Message was edited by: Rob Dielemans

  • Dynamic parallel processing of the same object using asynchronous method

    Hi,
    Please can anyone help me?
    I have to send the same DMS document to several agents for parallel processing. The number of agents is not known until runtime. Each of them should process the document and at least change the status of it. In next step I check if he has changed it.
    I use dynamic parallel processing of subworkflows. Key task of this subworkflow uses standard method of object DRAW - DOCUMENT.EDIT  (standard transaction CV02N) which is asynchronous. The task is finished by event DOCUMENT.CHANGED. 
    During the parallel processing the appropriate number of workitems is generated. However, when the agent who processes the document as first completes his workitem the event DOCUMENT.CHANGED is generated and all parallel workitems are completed, even those of other agents that were not processed yet.
    Any help would be appreciated.
    Thanks.
    Eva Vahalova

    Hi all,
    The process is used to approve incoming invoices. Each scanned invoice is attached to a DMS document and than sent to one or several agents in parallel. People from several departments can approve the same invoice for instance energy or mobile phone costs. We have no HR module fully implemented. Each agent may write some remarks and has to sets the document status to either approved or rejected. This status is temporary therefore the others see the original status for approving.
    The process of incoming invoices was implemented by SAP consultants in 2003 on 4.6B and now runs on our 4.7 system.  Now new company was established running on a new SAP system ECC 6.0 and our accountant department and some agents will deal with invoices in both systems. Therefore, the process should appear the same or at least very similar. The majority of the old process was realized by programming while I would like to use workflow features that are available now and reduce the programming part.
    As I see, I will have to choose one of the solutions that Arghadip suggested.
    I wonder if there is a possibility to use asynchronous method and control the end of each work item by means of u201CComplete Work Itemu201D or u201CComplete executionu201D Conditions. I have never used them and I do not know how they work and what condition to use. Maybe program exit might be used as well. While controlling the agents I think I will have to do some programming anyway because the work item can be finished by a substitute too.
    Thanks for your help.
    Eva

  • How to Rewind Notification (Parallel Approval Subprocess) Back to Previous Approver

    Dear Gurus,
    Please help me in Rewinding notification back to previous Approver from the current Approver.
    This is Requisition approval notification and it is a part of Parallel Approval Subprocess Notification.
    Any quick update will be highly appreciated.
    Need this urgent as it needs to be done in production.
    Regards,
    Niladri Biswas.

    If you are using portal and use Webdynpro application you can trigger wflow using Function Module SAP_WAPI_START_Workflow
    You can also configure status managment to trigger custom event for your requirement.
    Thanks
    Arghadip

  • OTL Dual & Parallel Approval - Is it possible ??

    Hi,
    We have following requirements from the client on timesheet approval for single application Payroll.
    1. Can we have multiple approval using supervisor hierarchy for n level of supervisor?
    2. Can parallel approval is possible. Where timesheet of user 'A' route to supervisor S1 (present as employee supervisor on asg screen) & S2 (present in employee asg DFF), on approval from any one of them it then route to Manager M.
    Regards
    Ayaz

    Any one who can share light on this..?

  • RFx Parallel approval workflow

    Dear Experts,
    I'm looking for sample code on how to implement the BADI agent determination with multiple areas for header (decision type 1) for RFx (BUS2200).
    I made all the required settings for parallel approval, but it for SC. The BAdI implementation for parallel approval /SAPSRM/BD_WF_SC_RR_PA works only with SC and Decision Type must be 4 — Item-Based Decision for Partial Document.
    Thanks,
    Evgenii.

    Hi,
    The following settings in SharePoint designer for your reference:
    More informaiton is here:
    https://social.technet.microsoft.com/Forums/en-US/2cd81250-1124-4d61-b78d-78e747f7fd64/parallel-approval-workflow-where-one-approval-completes-the-workflow?forum=sharepointcustomizationprevious
    Best Regards
    Dennis Guo
    TechNet Community Support

  • WS14000133- Parallel Approval

    Hi,
    In SRM 5.0 workflow WS14000133- n level approval of SC at header level, Is there a feature by which we can have parallel approval, but ensure that SC goes to next level only when all the parallel approvers have approved the cart?
    Currently in our system, the cart is pushed to next level even if one approver approves it and the work item is removed from the inbox of all other approvers.
    Regards,
    Srivatsan

    Hi Srivatsan,
    As far as I know it is not possible. But why would you want this? If you want paralel approval, wouldn't it be better to go for item level approval, so the  items are approved by the person responsible.
    Regards,
    Martin

  • Parallel approval  nest sequent approval for SC

    Dear All
         I am using SRM7.02.
      I can realize parallel approval for SC  as following.
         only after A1 and B1 approved. the process will end or enter next level.
       But , the customer gave me a new challege,  as the following.
    The work item is sent to A1 and B1, after A1 approved , A2 would receive the work item.   after B1 approved, B2 would receive the work item.
    Only  after both A2 and B2 approved.  the process end or enter next level.
    any experts  can give me some suggestion?
    thanks in advance
    Jesse

    Hi Jesse,
    Even our clients in my earlier project, asked for a similar workflow. But SRM workflow wont support that because there are few scenarios which makes things complex. For example, when we have a combination of type 1 and type 3 approvals in a single flow, a part of the document reaches type 1 approver and a part doesn't. And also if a cart items are distinguished into one set in approval level 1, and they can be in different sets in next level even if all approval levels are of type 3 or type 4.
    Regards,
    Karthik babu

  • Parallel approval inWF

    my question is this:
    i want to send an activity to multiple approvers at same level for approval. these approvers i will get at run time.
    i have given multiline element in mislanious tab of that activity.
    it is working fine and activity is going to all approvers.
    but now in parallel approval i did not find how to know which approver had aproved  and rejected it.
    as i have to run the WF for next level if any one of them reject it.
    is there any way to get the information of parallel process without defining different variable for each parallel approval process.
    as we get no of parallel process at run time we cannot do it.
    so if you can help me out for this problem i will be very thankful to you.
    please reply soon its a bit urgent.

    Create a fork with 2 parallel branch and 1 necessary branch. Now in 1 branch you put a wait for Event step and in the other you put the parallel approval task. When the user is using the Reject fnality you need to raise the event that you have put in the wait for event step. Regarding the WI_ACTUAL_AGENT Container element you need to bind this value from Task to Workflow in order to know which user has executed this workitem. I think if you have confusion try to make use of parallel subworkflow instead of parallel task.
    Thanks
    Arghadip

  • Parallel Approval in Self Servie HR (SSHR)

    Hi All,
    We have a requirement in which we need to send approval to multiple people at once. And if any approver approves the transaction, it should be considered approved and should not require any further approvals.
    According to the metalink note 473038.1, parallel approval is not possible in SSHR but the workaround is available using Roles in HRMS.
    I tried using this workaround and it seems only half of this solution is working and half not. It sends approvals and it is visible in Worklist but not sending any approval emails for approvers. Approver has to go into SSHR and has to approve the transaction. There is no push notification or any other way for approver to know that there is any action pending for his attention. Is there any solution which can send approval mails? Or any other solution for the parallel approvals?
    Thanks for help in advance.
    Regards,
    CAH

    Hi,
    Thanks for looking into the issue.
    I can receive the FYI notifications. So the notification mailer is up. Also, for other transactions, where only one approver is required, I am able to receive the notification. So Notification Style is also not disabled.
    Any other thought?
    Thanks,
    Chirag

  • Parallel Approval In Quoting

    Hi All,
    Our customer requires Parallel Approval in quoting. (Approval mail to be sent to more than one approver). Customer will be using AME.
    Is there any way we can achieve this? Please confirm.
    - Mahesh Jayaraman

    At this time, Quoting doesn't support parallel approval. you can follow this approach as mentioned in this document.
    You can follow the workaround mentioned in the Whitepaper Note 471125.1 Configuring Parallel Approvers Notification Using Oracle Approvals Management for Oracle Self-Service Human Resources (R11i10/R12)
    If you need help, please let me know.
    Thanks
    RK
    925 998 1494
    Independent Consultant.

  • Parallel approval workflow, end process

    Hi everyone
    I have a approval workflow that has 3 users approvers with a parallel approval. 
    I want to end the workflow (Approved or rejected) when ONE OF THIS USERS complete your task 
    Does anyone know a way to do it ?
    Thanks in advance!
    Regards

    Hi,
    The following settings in SharePoint designer for your reference:
    More informaiton is here:
    https://social.technet.microsoft.com/Forums/en-US/2cd81250-1124-4d61-b78d-78e747f7fd64/parallel-approval-workflow-where-one-approval-completes-the-workflow?forum=sharepointcustomizationprevious
    Best Regards
    Dennis Guo
    TechNet Community Support

Maybe you are looking for

  • Why Do i need SCOM 2012 R2 with Exchange 2013 ?

    This is a question is commonly asked now a days with the "Managed Service" Feature of Exchange 2013 , why do I still need SCOM for just my Exchange monitoring ? I have my understanding that still with managed service in exchange there are several com

  • HP Officejet 4500 G510n-z Wireless connection prints from Windows Vista but not from Windows 7

    HP Officejet 4500 G510n-z printer appears to be connected to my Dell Notebook running Windows 7 on the HP Solution Center page but does not print.Documents just get stuck in the que. It was printing then it wasn't then it was then it wasn't. The prin

  • How to use encoded password in shell script ?

    Hi everybody, For make a load file in oracle table, I'm using a LKM File to Oracle updatding with a sqlldr (shell script). My problem is very simple : For security reason in this shell-script , I don't want to see in clear the password of the Oracle

  • Help on Reconstruction of Binary Tree

    I have everything expect the reconstruct method and main method. Could someone help me create the reconstruct and main method? package binarytree; public class BinaryTree { public BinaryTree(Object value, BinaryTree left, BinaryTree right){          

  • Simple Web Frontend for existing Java app

    Hi there! (sorry for my english at first ;) I have an existing java app which currently is used via command line. It's a server application which mostly does monitoring outputs and functions you can use in the shell are like starting/stopping the ser