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.

Similar Messages

  • Assigning multiple users to one action dynamically using Webdynpro

    Hi Experts,
    In my scenario we need to send a request to list of people dynamically .
    How can we pass list of people through context parameter in the block.
    I am passing the value through context but only first user in the list getting task in UWL.
    It will be very useful if anyone providing any document regarding this.
    Thanks,
    Rajesh
    Edited by: Rajesh on Jun 22, 2009 12:35 PM

    Hi Pratik,
    I need some help regarding the Parallel dynamic block
    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.

  • Restrictions on using multiple user tasks in parallel ?

    Hi there,
    are there any restrictions on creating / managing multiple user tasks sequentially or in parallel in a BPEL process ?
    Sometimes my BPEL engine (OC4J/2.0.11) generates an error about "unregistered object ..." and the BPEL process failes.
    The BPELConsole then is not able to display the process state anymore.
    Thanks,
    Wolfgang

    There should be no restriction on how many task you can run in parallel. The only requirement is to use distinct partnerLinks (the partnerLink is statefull and embedded the correlation information).
    If you are combining flowN and tasks, you can achieve this by using local partnerlink (not supported by the designer but supported by the engine so a local partnerlink can be added to the process using the XML source representation of the BPEL).
    -Edwin

  • 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

  • Using of one transaction by multiple users simultaneously

    Dear Cons
    We have one P.O number. we want to do Migo with reference to that P.o by three users simultaneously. During simultaneously use by multiple users the system gives a message that this p.o is currently used by other user, how can we solve this problem.
    example- the p.o contains 50000 mt material ( coal). The material is carried out by trucks into the gate. the users are using T-code- MIGO truckwise. in order to speed up the process as there are lot of trucks carrying material by multiple users the system is not processing data under one p.o.
    regards,
    nrk

    Hi,
    Alternative you can think of is not to do GR against PO directly, but first create inbound delivery for each of the physical shipments/trucks.
    Then you can do GR against each inbound delivery separately.
    Regards,
    Dominik Modrzejewski

  • Assigning Action to multiple users dynamically

    Hello,
    I have a GP Application wherein the user fills out a form which goes for approval to the Approver....the approver is determined using the 'Assign users to Process Role' Callable Object dynamically which works fine....now i want one more approver to get the same workitem in the worklist as the other....i tried to map this user to the same user identifier as done for the first user.....but it does not work.....how can i achieve this..?
    Any help would be highly appreciated..
    Regards,
    Anil

    Anil,
    Has i am not wrong are you trying to assigning a task to multiple users dynamilally?
    if so..
    Please Use parallel dynamic block and pass list of users to role.
    Reply me if you want more info.
    Regards,
    Rajesh

  • Issue in implementing Dynamic participant chooser process Step

    I am facing issue in implementing Participant chooser process Step.
    I want to create dynamic Participant chooser process Step, I have implemented 'ParticipantStepChooser' class and overwrote 'getParticipant' method. But this process did not appear in Dynamic participant chooser dropdown in CQ5.6 environment.
    I deployed same code in CQ5.5 and process appeared in Dynamic participant chooser dropdown.
    This is the sample code which I have used:
    @Component(immediate = true, metatype = true, label = "DMP Config Service123")
    @Service
    @Properties({
            @Property(name = Constants.SERVICE_DESCRIPTION, value = "A sample implementation of a dynamic participant chooser.", propertyPrivate=true),
            @Property(name = Constants.SERVICE_VENDOR, value = "Adobe", propertyPrivate=true),
            @Property(name = ParticipantStepChooser.SERVICE_PROPERTY_LABEL, value = "******** Hello ********", propertyPrivate=true),
            @Property(name = "immediate" , value = "true", propertyPrivate=true)
    public class MyDynamicParticipant implements ParticipantStepChooser {
        private static final String TYPE_JCR_PATH = "JCR_PATH";
        @Activate
    void activate(ComponentContext context) {
      LoggerUtil.infoLog(this.getClass(), " ");
        public String getParticipant(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) throws WorkflowException {
      LoggerUtil.infoLog(this.getClass(), "inside getParticipant method{} ");
            WorkflowData workflowData = workItem.getWorkflowData();
            if (workflowData.getPayloadType().equals(TYPE_JCR_PATH)) {
    String path = workflowData.getPayload().toString();
    String pathFromArgument = args.get("PROCESS_ARGS", String.class);
    if (pathFromArgument != null && path.startsWith(pathFromArgument)) {
    return "admin";
            return "administrators";

    Make sure to change your imports in 5.6 to use granite api. Please change from [1] to [2].
    [1]
    import com.day.cq.workflow.WorkflowException;
    import com.day.cq.workflow.WorkflowSession;
    import com.day.cq.workflow.exec.ParticipantStepChooser;
    import com.day.cq.workflow.exec.WorkItem;
    import com.day.cq.workflow.exec.WorkflowData;
    import com.day.cq.workflow.metadata.MetaDataMap;
    [2]
    import com.adobe.granite.workflow.WorkflowException;
    import com.adobe.granite.workflow.WorkflowSession;
    import com.adobe.granite.workflow.exec.ParticipantStepChooser;
    import com.adobe.granite.workflow.exec.WorkItem;
    import com.adobe.granite.workflow.metadata.MetaDataMap;

  • How to assign Action to multiple Users dynamically in GP

    Hello Experts,
    I have the following scenario in GP
    I have created a Web Dynro GP Callable Object and from my Web Dynpro i need to a pass a list of Users to which a particular Action needs to be assigned.
    I am able to return a single value from web dynpro to gp.
    Can some one help me how to return a list of users to gp.
    I have done the following: In the getDescription method I have added an attribute of multiplicity 1_N:
    IGPStructureInfo outputStruct = technicalDescription.getOutputStructureInfo();
    IGPAttributeInfo list1 = outputStruct.addAttribute("List1", IGPAttributeInfo.BASE_STRING);
    list1.setMultiplicity(IGPAttributeInfo.MULITIPLICITY_1_N);
    then in the complete method I am trying to set an Arraylist to this variable:
    IGPStructure output = execContext.getOutputStructure();
    output.setAttributeValue("List1", userList);
    Here userList is an Arraylist which contains the list of User Id's..
    However I get the following exception:
    com.sap.caf.eu.gp.exception.api.GPInvocationException: Multiplicity of attribute with name List1 and namespace null does not allow single values to be set/received
    at com.sap.caf.eu.gp.structure.impl.GPStructure.setAttributeValue(GPStructure.java:114)
    Can someone help me in knowing how I can return a list as an output parameter to GP from Web Dynpro...
    Regards
    Sundeep

    Hi Srinivasan,
    Of course the Role is Runtime defined...
    I would brief you again the mapping that I have performed in the Design time at the processlevel.
    From Web Dynpro I return a List of type String and Multiplicity 1..N.
    I map this List with the leaf item User Identifier contained in the User List Input parameter of the Assign User to Process Role callable object.
    However since the User Identifier parameter is of cardinality 0..1 only the first value in the returned list is getting assigned to it. Thus the task is getting assigned to only one user.
    Now it is not possible in Design time to Group or consolidate parameters of different types. Thus the List which is of type String cannot be mapped to User List or the User_Item contained within it which are both of type Structure and multiple cardinality.
    I even created a Structure in Web Dynpro of cardinality 1..N and withing it i included a List of type String and cardinality 1..N. Now I returned this Structure from Web Dynpro and tried to map it to the User Item Structure of the Assign User to Process Role Callable object, but doint this the task did not get assigned to any user..
    One question:
    Don't you think that in order for the task assignment to happen using the Assign User to Process Role Callable Object the leaf item User Identifier parameter contained in the User_List input parameter of this callable object needs to be populated with the required User Id's.
    But if the cardinality of this parameter is always 0..1 , is it possible to achive the assignment of an Action to multiple Users at runtime using this Callable Object?
    Can you please explain the parameter mapping you followed in order to achive this...
    Regards
    Sundeep
    I want to ensure that you remain in the top 3 contributors in this forum 
    I will continue to reward points for your answers
    Edited by: Sundeep Sethi on Sep 4, 2008 1:47 PM

  • Error during Parforeach dynamic processing!

    Hello All:
    Hope to have some input to an unsolvable error in the workflow template that I have developed.
    I have developed a workflow in which I am using a block with “parforeach” dynamic parallel processing and in that block I am displaying notification of absence. IN the block I have created a task which displays notification of absence.
    I have maintained User_ID(this is a multiline container element which has multiple user ids) as my parallel processing multi-line element so that all the users entered in the User_ID element can access the workitem. Now I was able to create different work items for all the users entered , but when any one of the user is accessing the work-item, the work flow is getting in the error status with the following error log messages.
    Flow item Test Worflow for dynamic block (Workflow 000000033121) has the status "Error" 
    Error when starting work item 000000033121                                              
    JOIN entry missing for fork on node 0000000008                                          
    Error when loading the callback component (work item 000000033126)                      
    Error during result processing of work item 000000033126                                
    Work item 000000033121: Object FLOWITEM method EXECUTE cannot be executed               
    Error when loading the callback component (work item 000000033126)                      
    Error when loading the callback component (work item 000000033126)                      
    User_ID is entered as Multiline element.
    In the control tab of block, (Note: USER_ID is the multielement)
    &USER_ID[&_WF_PARFOREACH_INDEX&]&    ->    &_USER_ID_LINE&
    In the “display absence” step of block, I am assigning in the “Agents” area of the control tab as: &_USER_ID_LINE&
    Now, when I execute the workflow, I am able to see that the work-items are sent to the respective agent inboxes given in the USER_ID element and when I execute(display absence form) any one of it , the workflow is set to error status giving the above mentioned errors.
    Please help me. I am missing any binding elements??
    Do I need to add any JOIN in my dynamic step??
    Regards,

    Hi Satya,
    Hmmmm.... well you've correctly assigned the multiline container element and the binding between workflow and container.  However the way you have assigned the agents is a little suspicious - as it relies on a guaranteed order of processing.  That might be what is confusing the workflow.
    Try the following instead.
    a) Put your task into a subflow.
    b) Call the subflow using the parforeach processing
    I think you'll find this less problematic.
    Also be careful to watch what you are passing back from the task to the workflow - you don't want any deadlocks here.  Either don't pass anything back, or pass back the values into  a table using the APPEND binding option rather than the usual assign (just select the arrow button in the binding).
    Regards,
    Jocelyn

  • 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

  • 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

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

  • 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

Maybe you are looking for

  • XML Comment

    hi all, if i want to add a comment to a dom, do i have to do this through adding a text node to an element, i.e document.createTextNode("<!--" + commentstring + "-->");or is there a way to explicitly add a comment to an xml element in the java api? m

  • Designjet 130. The printer prints not the right colors

    Ru: Принтер печатает не правильные цвета: жёлтый - отсутствует (отображается белым), красный - печатает розовый, зелёный - печатает  голубой. Калибровка не помогает. Все картриджи полны краски. En: The printer prints not the right colors : yellow - n

  • Tabset in region

    Hi Gurus, We have a requirement to have tabbed pages within a region on a page. Is this something that is supported. I know we can have tabs on a page but within a region is what I was looking for. If yes do we have a sample template somewhere where

  • The games on Facebook either take forever to load or when they do, they hang-up. What do I do?

    I love playing Zuma Blitz and other games on Facebook, but it now takes literally forever to load the games and when they're finally loaded I play once and they hang-up. I have played using Internet Exployer 8 and also using Firefox 3.6 . I have also

  • Adobe widget JQuery UI

    Can I import the xml that the adobe widget JQuery creates into a html DW page? It generates an html page automatically but takes up the whole page. I'd like to incorporate a smaller formatt into a css layout