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.

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

  • 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

  • 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

  • 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

  • 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 participants blocks in External Routing Service

    I'm trying to configure an External Routing service (it implements IAssignmentService interface) as described in Developer's Guide for Oracle SOA Suite[1].
    The assignment stage configuration needed: one or more parallel participants blocks in the same stage, each one configured with different participants and voting rules.
    The CustomAssignmentService below shows my custom External Routing Service: when I try to add two or more parallel participants, only the first one it is assigned to the task.
    I haven't found documentation: how can I implement parallel participants blocks in External Routing Service?
    Product version: SOA Suite 11.1.1.6
    References:
    [1] http://docs.oracle.com/cd/E28389_01/dev.1111/e10224/bp_hwfmodel.htm#BABCFHCC
    ----------- CustomAssignmentService.java ------------------
    package br.com.iprocess;
    import java.util.Map;
    import oracle.bpel.services.workflow.metadata.routingslip.model.*;
    import oracle.bpel.services.workflow.metadata.routingslip.model.Participants;
    import oracle.bpel.services.workflow.metadata.routingslip.model.ParticipantsType.*;
    import oracle.bpel.services.workflow.task.IAssignmentService;
    import oracle.bpel.services.workflow.task.ITaskAssignee;
    import oracle.bpel.services.workflow.task.model.Task;
    import oracle.bpel.services.workflow.IWorkflowConstants;
    public class CustomAssignmentService implements IAssignmentService {
    private final String OUTCOME_APPROVE = "APPROVE";
    private final String OUTCOME_REJECT = "REJECT";
    public Participants onInitiation(Task task, Map propertyBag) {
    return createParticipant(task, propertyBag);
    public Participants onReinitiation(Task task, Map propertyBag) {
    return createParticipant(task, propertyBag);
    public Participants onOutcomeUpdated(Task task, Map propertyBag,
    String updatedBy, String outcome) {
    return null;
    public Participants onAssignmentSkipped(Task task, Map propertyBag) {
    return null;
    public java.util.List getAssigneesToRequestForInformation(Task task,
    Map propertyBag) {
    return null;
    public java.util.List getReapprovalAssignees(Task task, Map propertyBag,
    ITaskAssignee infoRequestedAssignee) {
    return null;
    public Participants createParticipant(Task task, Map propertyBag) {
    ObjectFactory objFactory = new ObjectFactory();
    Participants participants = objFactory.createParticipants();
    participants.getParticipantOrSequentialParticipantOrAdhoc().add(addParticipantsGroup1(objFactory));
    participants.getParticipantOrSequentialParticipantOrAdhoc().add(addParticipantsGroup2(objFactory));
    return participants;
    private Parallel addParticipantsGroup2(ObjectFactory objFactory) {
    Parallel parallelParticipant = objFactory.createParticipantsTypeParallel();
    ParallelCompletionCriteriaType vote = objFactory.createParallelCompletionCriteriaType();
    ParameterType defaultOutcome = objFactory.createParameterType(OUTCOME_REJECT);
    defaultOutcome.setType("STATIC");
    vote.setDefaultOutcome(defaultOutcome);
    String defaultPercentage = "51";
    ParameterType percentageOfOutcome = objFactory.createParameterType(defaultPercentage);
    percentageOfOutcome.setType("STATIC");
    vote.getOutcomePercentage().add(percentageOfOutcome);
    parallelParticipant.setAllResponders(vote);
    Resource resource = objFactory.createResource();
    resource.setValue("manager1, manager2");
    resource.setIsGroup(false);
    resource.setType("STATIC");
    parallelParticipant.getResourceOrRoutingSlip().add(resource);
    Resource resource2 = objFactory.createResource();
    resource2.setValue("manager3");
    resource2.setIsGroup(false);
    resource2.setType("STATIC");
    parallelParticipant.getResourceOrRoutingSlip().add(resource2);
    return parallelParticipant;
    private Parallel addParticipantsGroup1(ObjectFactory objFactory) {
    Parallel parallelParticipant = objFactory.createParticipantsTypeParallel();
    ParallelCompletionCriteriaType vote = objFactory.createParallelCompletionCriteriaType();
    ParameterType defaultOutcome = objFactory.createParameterType(OUTCOME_REJECT);
    defaultOutcome.setType("STATIC");
    vote.setDefaultOutcome(defaultOutcome);
    String defaultPercentage = "51";
    ParameterType percentageOfOutcome = objFactory.createParameterType(defaultPercentage);
    percentageOfOutcome.setType("STATIC");
    vote.getOutcomePercentage().add(percentageOfOutcome);
    parallelParticipant.setAllResponders(vote);
    Resource resource = objFactory.createResource();
    resource.setValue("operator1, operator2, operator3");
    resource.setIsGroup(false);
    resource.setType("STATIC");
    parallelParticipant.getResourceOrRoutingSlip().add(resource);
    return parallelParticipant;
    }

    I'm trying to configure an External Routing service (it implements IAssignmentService interface) as described in Developer's Guide for Oracle SOA Suite[1].
    The assignment stage configuration needed: one or more parallel participants blocks in the same stage, each one configured with different participants and voting rules.
    The CustomAssignmentService below shows my custom External Routing Service: when I try to add two or more parallel participants, only the first one it is assigned to the task.
    I haven't found documentation: how can I implement parallel participants blocks in External Routing Service?
    Product version: SOA Suite 11.1.1.6
    References:
    [1] http://docs.oracle.com/cd/E28389_01/dev.1111/e10224/bp_hwfmodel.htm#BABCFHCC
    ----------- CustomAssignmentService.java ------------------
    package br.com.iprocess;
    import java.util.Map;
    import oracle.bpel.services.workflow.metadata.routingslip.model.*;
    import oracle.bpel.services.workflow.metadata.routingslip.model.Participants;
    import oracle.bpel.services.workflow.metadata.routingslip.model.ParticipantsType.*;
    import oracle.bpel.services.workflow.task.IAssignmentService;
    import oracle.bpel.services.workflow.task.ITaskAssignee;
    import oracle.bpel.services.workflow.task.model.Task;
    import oracle.bpel.services.workflow.IWorkflowConstants;
    public class CustomAssignmentService implements IAssignmentService {
    private final String OUTCOME_APPROVE = "APPROVE";
    private final String OUTCOME_REJECT = "REJECT";
    public Participants onInitiation(Task task, Map propertyBag) {
    return createParticipant(task, propertyBag);
    public Participants onReinitiation(Task task, Map propertyBag) {
    return createParticipant(task, propertyBag);
    public Participants onOutcomeUpdated(Task task, Map propertyBag,
    String updatedBy, String outcome) {
    return null;
    public Participants onAssignmentSkipped(Task task, Map propertyBag) {
    return null;
    public java.util.List getAssigneesToRequestForInformation(Task task,
    Map propertyBag) {
    return null;
    public java.util.List getReapprovalAssignees(Task task, Map propertyBag,
    ITaskAssignee infoRequestedAssignee) {
    return null;
    public Participants createParticipant(Task task, Map propertyBag) {
    ObjectFactory objFactory = new ObjectFactory();
    Participants participants = objFactory.createParticipants();
    participants.getParticipantOrSequentialParticipantOrAdhoc().add(addParticipantsGroup1(objFactory));
    participants.getParticipantOrSequentialParticipantOrAdhoc().add(addParticipantsGroup2(objFactory));
    return participants;
    private Parallel addParticipantsGroup2(ObjectFactory objFactory) {
    Parallel parallelParticipant = objFactory.createParticipantsTypeParallel();
    ParallelCompletionCriteriaType vote = objFactory.createParallelCompletionCriteriaType();
    ParameterType defaultOutcome = objFactory.createParameterType(OUTCOME_REJECT);
    defaultOutcome.setType("STATIC");
    vote.setDefaultOutcome(defaultOutcome);
    String defaultPercentage = "51";
    ParameterType percentageOfOutcome = objFactory.createParameterType(defaultPercentage);
    percentageOfOutcome.setType("STATIC");
    vote.getOutcomePercentage().add(percentageOfOutcome);
    parallelParticipant.setAllResponders(vote);
    Resource resource = objFactory.createResource();
    resource.setValue("manager1, manager2");
    resource.setIsGroup(false);
    resource.setType("STATIC");
    parallelParticipant.getResourceOrRoutingSlip().add(resource);
    Resource resource2 = objFactory.createResource();
    resource2.setValue("manager3");
    resource2.setIsGroup(false);
    resource2.setType("STATIC");
    parallelParticipant.getResourceOrRoutingSlip().add(resource2);
    return parallelParticipant;
    private Parallel addParticipantsGroup1(ObjectFactory objFactory) {
    Parallel parallelParticipant = objFactory.createParticipantsTypeParallel();
    ParallelCompletionCriteriaType vote = objFactory.createParallelCompletionCriteriaType();
    ParameterType defaultOutcome = objFactory.createParameterType(OUTCOME_REJECT);
    defaultOutcome.setType("STATIC");
    vote.setDefaultOutcome(defaultOutcome);
    String defaultPercentage = "51";
    ParameterType percentageOfOutcome = objFactory.createParameterType(defaultPercentage);
    percentageOfOutcome.setType("STATIC");
    vote.getOutcomePercentage().add(percentageOfOutcome);
    parallelParticipant.setAllResponders(vote);
    Resource resource = objFactory.createResource();
    resource.setValue("operator1, operator2, operator3");
    resource.setIsGroup(false);
    resource.setType("STATIC");
    parallelParticipant.getResourceOrRoutingSlip().add(resource);
    return parallelParticipant;
    }

  • Task 0085 for parallel SID assignment terminated with errors

    Hi,
    While activating the ODS object we are getting the following error
    Task 0085 for parallel SID assignment terminated with errors
    Can anyone help me on this issue.
    Thanks
    Sheela Datla

    Hi Sheela,
    Does the problem happen with activating the ODS object (definition) itself or with activating the data in the
    ODS? I think that there must be other errors apart from Task 0085. At the time of the error you should check in
    sm21 and st22 for additional error messages and dumps. If the problem is with the activation of data in the ODS
    you should also check sm37 for the job that is created for the ODS activation , you may find more detailed
    information in the job log. You should also check the activation step in the 'Details' TAB in the monitor for
    the load there may also be more detailed information here.
    In transaction rscusta2 (ODS customizing) you should try the following setting for the activation:
    No. of Par. Proc.    3          
    Min. No. Data Recs.  10000     
    Wait Time in Sec.      600
    Before changing the values you have in RSCUSTA2 please take note of the values you have already in
    case you want to change them back.
    Best Regards,
    Des.

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

  • WLI task assignment in parallel work flow

    I have been working with the WLI for a proof of concept leveraging the task assignment
    features. Following the worklist tutorial I was trying to assign a task usining
    a parallel process. The server indicated it was unable to assign the tasks in
    parallel b/c one of the parallel branches claims the task and does not allow for
    the assignment to the other branch.
    Is there a way to do this? Any assistance would be appreciated.
    Thanks,
    William Ferris

    Hi Rami,
    if you use process controlled workflow available in SRM7, you can easily implement the scenario. Using process schema evaluation, you can implement two different schema for department 1 and department 2 based on differement department.
    Thus you can achieve two different workflow - if the requestor is from department 1, one step workflow (only manager)will be triggered. If the requestor is from department 2, two step workflow (first manager of the department and then buyer of department 1)will be triggered .
    I hope, it helps you.
    Thanks and regards,
    Ranjan

  • 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

Maybe you are looking for

  • Why do I get spanish on my mouse whenever I click right?

    When I click left on the desktop it is in English but I when I right click on the webpage it is in spanish. I prefer to have it all in English as it was in the beginning. thank you

  • Installing Oracle 10.2.0 on Windows Server 2008 64bit

    Dear all(s) Recently i am running production database 10.2.0 on windows server 2003 32 bit. there is some memory limits and i cannot set SGA,PGA > 2 GB. I want to mode production database 10.2.0 on windows server 2003 64 bit, please guide me in follo

  • TV out fuction not workin after upgrade 7.0.2 in ipad2

    I have an Ipad2 the video output worked with my rca cable out. After upgrading to the new 7.0 it no longer works. When I plug in my cable my Ipad recognizes it. But I only get sound coming out and no image. Help!! Tried to uninstall ios 7 with no luc

  • DestroyJavaVM does not completely shut the VM

    Hi All, I'm using JDK 1.4.2. The platforms used are WindowsXP and MacOSX. In my Native Application after setting up the JVM using JNI_CreateJavaVM, i use the same to load some jar files using URLClassLoader. After all is done i need to shut the VM an

  • Dblink adds any value in this case ?

    Our application has an Oracle db. We have to get some data (via C# / ODP.NET) from our db tables, call a stored procedure in a totally different (geographically dispersed) database, and then insert some rows in our database based on the stored proced