Problem in Parallel Dynamic Block

Hi All
I have a scenario in GP,
An initiator will make request and he/she want to get approval from multiple approvers. So the request want to go multiple users at a time.
Here I tried this with one Sequential block and a Parallel dynamic block.
In Sequential block I created inputform callable object using webdynpro DC and in Parallel dynamic block also created approval form using webdynpro DC.
Here i am facing a problem, while reaching the form to approval users, if any of the approver open it executed and submitted all other approver actions are also terminating or the inbox content is disapearing.
I want to exit from the Parallel dynamic block only after finishing all of the approvers submition.
Is any setting or modifications can be done to achieve this?
If anybody knows about this problem please reply me.
regards
Sajith

Hi Sajith
I think you are attaching multiple users to the same action (having approval form Callable Object). This will send the action to multiple approvals, but the process will be terminated on approval from any one of the multiple approvers. Due to this the request goes off from other approver's inbox.
I think for your scenario you can have a sequential block in which you pass the approver action to next approver only when the previous approver has approved it. You can do this by keeping a decision dialog process control, which gives you two actions approve and reject.
This will send the initiators request to multiple approvers and for the last approver you can terminate the process.
Parallel Dynamic Block is used for a scenario where you have to take a vote or survey, in this case you pass the survey document to multiple users (and multiple users are decided at runtime).
Please go thru this link to understand the Parallel Dynamic Block properly.
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/7e5b306b3b2679e10000000a1553f7/frameset.htm
Regards,
Anish

Similar Messages

  • Regarding Parallel Dynamic Block

    Hi,
    I tried to use PDB (Parallel dynamic block). But it is behaving differently that, I assigned action to 3 users and then the task is appearing in all of the 3 users uwl.But while any of the one user started working on that then remaining users uwl task got disappeared or seems locked or terminated. I did not understand why it is happening like this. can you please help me to solve this issue.
    My process structure is mentioning below:
    Process
    Init Block (Sequential block)
    Input action
    Block (PDB)
    output block (parallel block)
    output action
    Is there any alternative way to do this if PDB will not solve this issue?
    Is it possible to create actions dynamically in a block. suppose this block is creates statically as a parallel block.?
    Mahesh please help me if you have any idea or information about this.
    thanks in advance,
    Sajith

    Hi Dipankar,
    Thanks for ur response.But that form is not going parallel to same users.and i have other problem.If that form go to multiple users.
      That form has to states Approved and rejected.Though any one of them rejected that process must be continuously.not to be terminated.
    If u have any idea /if u worked on same Scenario pl z send document.
    Thanks,
    Santhosh

  • GP task dissappers in parallel dynamic block

    hi,,
    I want to use gp workflow using webdynpro development component callabale objects.
    The flow is an initiator will initiate a task , it goes to 3 different users only after the three approvers have approved,  it should move to the third single approver.
    So i have used parallel dynamic block in the second step and the callable object is of webdynpro development component type .Now when an initiator initiates a task the three approves are getting the task.If any one approves also the task disappers form the other two users and moves to the next level.
    I want the task to be moved to the next level only after  if all the three users have approved.
    please help....
    Thanks in advance,
    shami.

    hi,
    thanks for ur response.
    From the initiator the process should go to three approvers simultaneously.
    And then only after the three approvers have approved it should go to the third level approver.
    how can this be achived..
    thanks in advance.
    shami.

  • Assigning roles to Parallel dynamic block-multiusers

    Hi David,
    I am using PDB in that one sequential block is used , which I am assigning to multiple users.I have assigned the role in Process- Default role tab.
    Parallel dynamic block
    Sequential block
    Action1----
    assigning multiuser
    Every thing is working fine except when PDB will execute it will go to all users UWL but one user will complete the process, other user's process will not be able to complete the process.that process will end there.
    Do you have any guideline for this?
    Yogesh

    Hi Yogesh,
    Select the sequential block(body block) under the PDB and open the Roles tab. There select the option "Filled From Conext Parameter" and in the drop-down that appears select the user id. You must have an input parameter defined for all the COs present under the PDB type string and which is mapped to a username/role/group at parameter grouping.
    Refer this document for step-by-step guide : <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/fe43ced1-0c01-0010-10ae-bc49598b18f6">Using Parallel Dynamic Block and Dynamic User Assignment (GP)</a>
    Thanks,
    Dipankar

  • Issue regarding Parallel dynamic block

    Dear All,
    I need some help regarding Parallel dynamic process issue.
    My Process structure as follows.
    Process
    ->Sequential Block
    --->Action1
    --->Parallel Dynamic Block
    >Sequential Sub Block
    >Action2
    I am able to trigger the tasks to multiple users.
    Action2 has to  perform by multiple users.
    Action2 contains Webdynpro Callable Object.
    Webdynpro CO view contains two buttons namely "Approve" and "Send Back".
    My requirement is
    1)If All users selects approve then Action2 has to complete and control moves to Action1
    2)If anyone selects Send Back then Action2 will be completed and control moves to Action1.This process will be continues still all the users Approve.
    I am struggling for this requirement so please  help me.

    Hi Rajesh,
    Question 1:
    I am trying to call the Action1 in the Sequential Sub Block from Action 2.At that time i am gettin the following error.
    Transition between blocks cannot be defined because there is a parallel block in the path.
    @nswer 1:
    Please include "Action2 " and "Action1(On Send Back from Action2)" in the subblock.
    If both the actions are in the same sequential block (sub-block) then you can set result state.
    Question 2:
    Please suggest me what to set result state of Action2 when it is completed and how to call Action3.
    Tell me Action3 comes under Sequential Block?
    @nswer 1:
    Action2 must have two result state
    1. Completed -- Assign it "Terminal"
    2. Send Back -- Assign it "Action1(On Send Back from Action2)"
    Action3 is outside Parallel Dynamic Block. The structure of your sequential block will look like this
    Process
    ->Sequential Block
    --->Action1
    --->Parallel Dynamic Block
    --->Action3
    Regards,
    Pratik

  • How to use parallel dynamic block in guided procedures!!

    hi
    My application is as following i have to initiate a process from a webdynpro for java application and after that i have to send the action to the multiple users..
    For that i created a parallel block inside that a sequential block and inside that an action .
    In my wdj coding i created a variable user and assigned this parameter for the role of that action.
    But the problem is it is not going to the multiple users.
    pls suggest me if there is some other solutions to do this.....
    Pls give me a solution it is urgently needed
    With regards
    Shanto Aloor
    Edited by: Armin Reichert on Jun 18, 2008 12:11 PM

    Hi,
      Refer this
    Regarding Parallel Dynamic Block

  • Urgent ......!!!!!how to use parallel dynamic block in guided procedures!!

    hi
    My application is as following i have to initiate a process from a webdynpro for java application and after that i have to send the action to the multiple users..
    For that i created a parallel block inside that a sequential block and inside that an action .
    In my wdj coding i created a variable user and assigned this parameter for the role of that action.
    But the problem is it is not going to the multiple users.
    pls suggest me if there is some other solutions to do this.....
    Pls give me a solution it is urgently needed
    With regards
    Shanto Aloor

    Hi,
      Refer this
    Regarding Parallel Dynamic Block

  • Passing Multi line values to Parallel Dynamic Block.

    Hi All,
    In process structure as follows.
    Process:
    Sequential Block:
    ->Action1:
    DDPTSStatus(0..n)
    ReqSequence(0..n)
    ListofStakeHoldersforApproval(0..n)
    Action2:
    DDPTSStatus(0..n)
    ReqSequence(0..n)
    ListofStakeHoldersforApproval(0..n)
    PDB Block:
    ->Sequential Block:
    -->Action3:
    Multiline Input
    --->DDPTSStatus(0..n)
    --->ReqSequence(0..n)
    --->ListofStakeHoldersforApproval(0..n)
    Multiline OutPut
    --->DDPTSStatus(0..n)
    --->ReqSequence(0..n)
    --->ListofStakeHoldersforApproval(0..n)
    Sequential Block:
    ->Action4:
    DDPTSStatus(0..n)
    ReqSequence(0..n)
    ListofStakeHoldersforApproval(0..n)
    I have done parameter grouping for PDB Multiline input (nodes) with Output of Action2 nodes at process level.
    While i am trying to initiate action for Multiple users it is getting tasks in all users who are initiated but if one person performs the task action remaining users wont get the task and it will show No activity Present.
    I think when i am Passing the values from Action2 output to PDB Action Input the problem is.
    I am pasting the code which i wrote complete method of Action2 CO setting values for Multiline Input please correct me if i am wrong
    IGPStructure output = executionContext.getOutputStructure();
    for(int i=0;i<2;i++)
    { IGPStructure struct_ddptsStatus_out =
    output.addStructure("DDPTSStatus");
    // Set the values of the output parameters
    /////////////development comments/////////////////
    struct_ddptsStatus_out.setAttributeValue(
    "Status",
    wdContext
    .nodeVn_DDPTSStatus()
    .getCurrentElement()
    .getAttributeValue(
    "va_status")); }
    executionContext.setResultState("Success");
    executionContext.processingComplete();
    Please tell me whether this code is correct.
    Regards,
    Rajesh

    Solved on my OWN.....
    Edited by: RAJESH NIMMAKAYALA on Jul 28, 2009 10:44 AM

  • Multiple user in a parallel dynamic process step?

    Hi,
    anyone an idea how to address an process step in an parallel dynamic block simultaneously to multiple users?
    I already tried the ‘Assign Users to Process Role’-Callable Object. Unfortunately each added user to one step in the parallel dynamic block was added to the same step in each parallel thread.
    Any suggestions how to solve this problem in a other way?
    Thanks and best regards
    Robert

    WKAriyoshi wrote:
    Is there a way to execute the Prompt User for Input in parallel process while executing the read data part? Is there another way to request a password from the user?
    Executing these tasks (reading from instrument AND prompting user for inputs) in parallel loops can solve your problem instantly, if you can share the code, one can pin point what & where exactly changes are required or parallel loop can be included (along with any other changes which might be required).
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • Parallel Conditional Block Example

    I am new to Guided Procedures. I am trying to create a process that has a parallel conditional block where the block would execute when an output parameter equals some value.  All the examples seem to have just simple sequential blocks.  Can anyone point me in the right direction/reference??  I am sure this is very simple for you GP wizards. 
    Thanks.

    One way for you to go about it is:
    - first you need create one main sequential block B1 that'll contain the parallel dynamic block B2
    - then you need your parallel dynamic block B2 that'll contain sequential blocks (B3 and B4) for each branching
    The first callable object of your parallel dynamic block will be a "decision value" callable object. Based on the result of the decision value, the block B3 or B$ will be choosen.
    Straightforward and easy to test. I mean normally

  • Parallel insert blocked on business table

    Hi guru, i've got this problem: parallel insert blocked on the same table. This event is periodic and the name table change of time in time.
    Version SAP is R/3 Enterprise 4.7 witn DB ORACLE 9.2.0.8 on SO AIX 5.3 ( ML 10)
    Thank You for yuor support
    MC

    You need to provide more info that that.... whats the context?, whats the error?, is this a question or a statement?
    Read the "Rules of Engagement"
    Regards
    Juan

  • Hi i have an ipad mini and i have not used it for 2 month or more. Today i have tried to use it i came across with a problem. my Ipad is blocked and it asks me to wait 23,401,418 :) what should i do need your help. thanks

    hi i have an ipad mini and i have not used it for 2 month or more. Today i have tried to use it i came across with a problem. my Ipad is blocked and it asks me to wait 23,401,418 what should i do need your help. thanks 

    Have you charged ipad Try a Reboot press & hold power button & menu button hold both down until you see Apple Logo You may need to do this more than once. Bsydd uk

  • Problem in aligning dynamic UI with the static UI

    Hi All,
    I have problem in aligning dynamic UI with the static UI, I am using Matrix layout.
    Static fields are spread over 2 colums and 3 rows:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    Now when a value is selected in C, than E becomes visible, and depending on the values selected in E, there are dynamic UI generated, i.e dynamic lables and depending on some validation it will be either a dropdowns or input fiels or both.
    at run time screen is like this:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    dynaSPACEdropdown
    dynbSPACEinput field
    if I change my selection in E than layout looks like:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    dynaSPACESPACEdropdown
    dynbSPACESPACEinput field
    Requirment: I need all the lables as well as dropdown/ input fiels in line with the static fields irrespective of my selection in E.
    Something like this:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    dyna   SPACEdropdown
    dynbSPACESinput field
    dyncSPACESdropdown
    All this elements are in a group and that group has 2 transparent containers, 1 for static and for holding dynamic UI.
    I tried playing with the container properties, and also tried fixing width of dynamic UI but still the alignment issue is encountered.
    Can U guys plz give in ur valuable inputs as i need to fix this urgently.
    Regards,
    JJ

    Hi Armin,
    Can you please elaborate your solution ?, I do not have an idea of InvisibleElement & IWDView.resetView() ,
    If you can give me the exact pointer than it would be great and a good learning exp. for me.
    Thanks for the action assignment part, it worked.
    if (wdContext.nodeMaterialClass().size() > 0 && wdContext.currentContextElement().getActionMatCls()) {
         if (wdContext.currentMaterialClassElement().getMaterialClass_Description() != null || !wdContext.currentMaterialClassElement ().getMaterialClass_Description().equalsIgnoreCase(" ")) {
               IWDGroup Searchgroup = (IWDGroup) view.getElement("DynGroup");
    Searchgroup.destroyAllChildren();
    view.getContext().reset(false);
                                                      for (int i = 0; i < wdContext.nodeMaterialCharateristcs().size(); i++) {
                                  //this for label
         IWDLabel CharLabel = (IWDLabel) view.createElement(IWDLabel.class, "label" + i);
         CharLabel.setText(wdContext.nodeMaterialCharateristcs().getMaterialCharateristcsElementAt(i).getDescr_Char());
         CharLabel.setDesign(WDLabelDesign.EMPHASIZED);
         CharLabel.createLayoutData(MatrixHeadData.class);                              CharLabel.setWidth("154px");                              Searchgroup.addChild(CharLabel);
                 further there are conditions to create either dropdown or input field
    Can you please point where and how to apply your solution.
    Regards,
    JJ

  • How to create dynamic blocks in oracle forms

    Hi All,
    Is it possible to create a dynamic blocks and items in forms? I mean based on table driven values I want to create a blocks and items in the forms.
    I appreciate the help.
    Thanks
    Srini.

    No, Here is an example.
    Say for example I have a table called docs in that I have three columns col_name, col_type, and table_name the data will look like below
    col_name|col_type|table_name
    empno|     single row|     emp
    empname|     single row|     emp
    I want to create a block pointed emp table and columns (fields on the block) with specified in my docs table. The col name and table name may change based on some rules. So I want to create block (s) based data in docs table.
    Thanks
    Srini.

  • Problem with Family Protection blocking

    I have an ongoing problem with Family Protection blocking allowed websites from my daughter.  I checked her account settings which are the same as her brother's and he has no problems.  I then removed her account and created a new one and copied the settings across from his to ensure everything was the same - still no difference.  Any suggestions?  I guess I could try reinstalling but it is such hassle to get a code etc...

    I am experiencing this issue as well. I can download about 50 of my 900 songs through family sharing the rest say unable to download. Apple call support and genous at Apple store were both unable to solve the issue. I've resorted to using the same Apple ID on all devices but obviously this is not ideal. If anyone has success solving this I would love to see a post on it. It's definitely something with the iTunes or Apple id end of things and not device or setting related because I have tried everything I can locally.

Maybe you are looking for