Assigning Multiple tasks in process dynamically

Hello,
Please help me out in solving following problem
Scenario:
Step 1: Query the DB get all the Products (Multiple rows).
Step 2: For each Product merge the product information to a template, rendering it as PDF and Assigning it to a user(Assign Task Activity)
With out waiting for the user action i would like to repeat step 2 so that i can assign all product information as different task dynamically
Can any one please help meto achieve this?(PFA Process Design diagram)
Thanks in advance
Regards
Rao

This is more tricky than it sounds.
You could use a gateway with one branch that goes to the User step and another branch that goes straight to the end of the gateway and set the gateway to No Wait.
Then, from the end of the gateway object loop back to the start of the gateway so that it assigns it to the next person.
In the next version of LiveCycle, you should be able to use the Mutli User Task operation to assign a task to multiple users in parallel.
Jasmin

Similar Messages

  • BPM 11.1.1.5 Dynamic assignment of task to user

    Hi,
    I'm working with BPM 11.1.1.5 (without feature pack). I have a requirement to assign a task to a user dynamically, based on data that I pull from a DB query. If the task expires, I will assign it to another user once again based on a DB query.
    I have not been able to find a way to do this. I have tried creating the Participant List "By Expression", where the expression is: /task:task/task:systemAttributes/task:assignees/task:id, where I have previously assigned a LDAP user id to a TaskExecutionData input variable. This does not work!
    I've read a number of forum posts where people are trying to do this, but they are either not answered or answered inadequately.
    I've read a number of posts where people talk about doing this using bpws:getVariableData() where the dynamic user list is stored in a variable. This would be great, if it worked for BPM as this is exactly what I'd like to do. However, this is a BPEL solution as far as I can see! I haven't been able to find a way to access a declared variable from the Expression Builder form in BPM.
    Does anyone have a solution for this, please?
    Any help would be greatly appreciated. Is this something that is easier to do in PS5?
    Many thanks,
    Brian.

    Hi Brian,
    Not sure if this is what you need, but to assign the BPM work item instance to a participant based on information read from a database table, one approach is to:
    1. Read the table and return the userId to a process data object variable upstream of the Interactive activity.
    2. Pass the variable with the user id into the Interactive activity's human task.
    3. Open the human task, click the Assignment tab -> double click the performer icon in the center -> change the "Build a list of participants using" dropdown to "Names and Expressions" -> click the plus icon -> click "Add a User" -> under "Data Type" change the dropdown selection to "By Expression" -> click the "..." button under "Value" -> expand "task" -> expand "task:payload" -> select the variable that you set the user id to.
    I think there is probably more to your question than this, but hopefully it's a start.
    Dan

  • How to assign a parent or child process to BPEL process Dynamically

    Hi friends,
    root_id (varchar) - the conversation id of the instance at the top of the invocation tree. Suppose A -> B -> C, root( B ) = A, root( C ) = A, parent( B )= A, parent( C ) = B. This instance, instance at the top of the tree will not have this set. There will be relation between ROOT_ID, PARENT_ID and CIKEY in the cube_ instance at dehydration data base.
    Here I want to assign root_id or parent_id dynamically to my bpel process dynamically. Let me know if anybody knows about that.
    Thanks in advance...
    Hari Mandadapu

    Hi,
    I'm more puzzled as to why you would want to do this? As you have explained these columns provide details of the process tree. Why would you want to alter the values set by BPEL there by changing the process tree it created?

  • Multiple resources assigned to task, single resource complete it to 100%?

    I would like to assign a task to multiple resources (say, for example, the computer services techs) and have whichever one completes the task mark it as complete. Any time this happens, it completes it only up to the fraction of the task they have. For example,
    if I have assigned 5 of them to a task, one of them finishes it, and marks it as complete, the project only shows 20% complete, which is wrong. Is there another way to do this?
    Thanks,
    Ian

    Hello Ian,
    Are you working with MS Project Standalone (ie not connected to Project Server)? In case you are, you have to set the remaning work for the other resources (that didn't actually worked on the task) to 0. For that I'd advice to split your window in MS Project
    and use the task form in order to edit the remaining work for each assignments.
    In case you're using Project Server (which version?) with timesheet or/and task updates, you could use the team assignments. This feature allows you assigning tasks to a team, then members of this team will self-assign themselves to the appropriate tasks
    and update those tasks.
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Assignment of task to multiple employess in WebClient 2007

    Hi Experts,
    I have 2 requirement from Client pertaining to Activities in WebClient.I am wondering if tihs is possible.
    1)Client wants to assign Task to multiple employees at the same time. Is this possible? if yes how?
    Can a field be created in webGUI to assign to group( Employees)???
    2)As we know once the Task is created in appears under My Open Tasks in the employee responsible home page. My quesry is how can the employee know who has assigned the Task. If an employee is assigned to 2 managers then how to determine who has assigned the task as there is no information as such about the person who has assigned it???
    Regds...
    Edited by: akscrm akscrm on Jun 20, 2008 3:50 PM
    Edited by: akscrm akscrm on Jun 20, 2008 11:03 PM
    Edited by: akscrm akscrm on Jun 23, 2008 10:17 AM

    Hi,
    here are my recomendations:
    1) as Christian suggested you can change the partner determination procedure customizing and enable the partner function employee responsible for more then one entry. In the new Web UI, you have the parties involved assignment block on the task overview page, where you could then enter the employee responsibles. It is also possible to search/enter a group.
    2') if you want to avoid enhancing the partner determination procedure with another partner function, you could check the change log on the overview page, as this log will contain also the assignment action. But this is only applicable if you have just this sole requirement, with no new requirement like searching/ reporting. Otherwise I recomend the solution provided by Christian in his reply above.
    Best regards,
    Erika

  • UWL - System doesnt support multiple tasks assignment for the same assignee

    Hi all,
    we have some tasks coming from our back- end system. When a certain task needs to be substituted to a colleague, no problem ... for one task. When we wish to assign him a second task, we get following message :
    <i>System does not support multiple tasks assignment for the same assignee</i>
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/0b/1fc20097b74c41b38621ec2a9454bb/frameset.htm">help.sap.com - substitution</a> :
    <i> System does not support multiple tasks assignment for the same assignee 
    For example: User can only assign one task to an assignee at a time in workflow.
    Collaboration Task does not support other tasks at all.</i>
    Is substitution only limited to one task per person? What would be a workaround? It's possible to create for each combination of tasks a definition in the back- end which is available from the substition drop down list, but this is not what our customer would like to see.
    Many thanks,
    Kevin

    Hi Boris,
    we're using the WebflowConnector.
    Thanks,
    Kevin

  • Assign Multiple Sales Org for One Plant in STO process

    Hi Experts,
    Aware that I can assign multiple sales org to 1 plant (relationship: many to many).
    I am trying to create STOs to supplying plant and assigning them to different sales organization but encountered problem.
    Example:
    Supplying Plant 1000 - Sales Org 1000A (food) and 1000B (apparel)
    Receiving Plant 1100
    Plant 1100 wants to issue 2 STOs to Plant 1000 - 1 for each Sales Org (for instance STO1 to food division, and STO2 for apparel division).
    However, when I tried creating STO in the system, noticed that in the shipping tab (item details) the sales org, DC has been assigned to 1 particular assignment and data is locked.
    Tried to get into SPRO to configure and define the shipping data for plants but noticed that it's 1 to 1 relationship (SPRO - IMG - MM - PO - Set up Stock Transport Order - Define Shipping Data).
    How can this be done?

    You can set different sales areas (~sales organisation) for one plant in SAP - based on issuing SLoc provided STO between storage locations is activated.
    SPRO > Materials Management > Purchasing > Purchase Order > Set up Stock Transport Order > Set Up Stock Transfer Between Storage Locations > Define Shipping Data for Stock Transfers Between Storage Locations
    Edited by: Csaba Szommer on Jul 2, 2011 6:14 PM

  • Performance Implications When Assigning Multiple VCPUs

    A wise man once told me not to assign more than two virtual CPUs to a VM due to CPU reservations, which in turn means slower performance. Does Oracle VM manage CPU requests better than VMware so multiple CPUs can be assigned to the VMs? Anyone have any benchmarking?

    "1. The only option within the Assign Task operation that lets you assign the user dynamically is by using an XPath expression."
    Yes
    "If I were to use this, should I be embedding the logic within the form itself and then use the XPath expression to find the user by dynamically updating the form after the first user completes the task?"
    I depends. If you can get to it server side, it woulb probably better. If you need to make a change to something, you don't want to change the form.
    "Is there another approach to achieve this other than having the logic for selecting the user defined in the form itself?"
    I'm not sure where the logic for the next user is located, but you could make a database or web service call from the process to get the next user instead.
    "I believe embedding the logic in the form might not be a good idea as it can have performance implications and also having user information in the form itself doesn't seem right."
    I agree.
    "Is there an operation that I could use, which would contain the logic that I would need to determine the next user and then assign the task to the user based on the result of the operation?"
    Again, I need a bit more info as to where the info (logic) is located.
    Jasmin

  • Create multiple Task Instance from one Task Instance

    We have a process, where user can request for multiple resources(access) in one single request.Currently user has to wait until all the resource requests are approved by application owners to start the provisioning process.
    I am thinking of splitting that one request(task) into multiple task, based on the number of resources requested.so that, if one resource request is approved user can get that particular access.
    My question :
    1.How will I split the one task into multiple task and pass the required information to child task?
    2.How do I handle views?Currently since its one task , we checkout and check-in the same view.
    3.How will I overcome the possibility of one view overwritten by the other.
    Thanks.

    We have a process, where user can request for
    multiple resources(access) in one single
    request.Currently user has to wait until all the
    resource requests are approved by application owners
    to start the provisioning process.
    I am thinking of splitting that one request(task)
    into multiple task, based on the number of resources
    requested.so that, if one resource request is
    approved user can get that particular access.
    My question :
    1.How will I split the one task into multiple task
    and pass the required information to child task?
    2.How do I handle views?Currently since its one task
    , we checkout and check-in the same view.
    3.How will I overcome the possibility of one view
    overwritten by the other.
    Thanks.Hi,
    yes u can split one task into multiple task means as ur requirment diffrent task for different resource. so u have to write diffrent W/F for each resource and call them by setting a counter for number of resource.
    the below code help u.
    <Variable name='index'>
              <i>0</i>
         </Variable>
    <Activity id='1' name='createNewTask'>
              <Action id='0' name='createView' application='com.waveset.session.WorkflowServices'>
                   <Argument name='op' value='createView'/>
                   <Argument name='type' value='Process'/>
                   <Argument name='viewId' value='Process'/>
                   <Argument name='taskName'>
                             <s>give any name to the task</s>
                   </Argument>
                   <Argument name='process'>
                             <s>task name that u want to launch</s><!-- u can get task name dynamicly by rule also by passing resource name -->
                   </Argument>          
                   <Argument name='accountId' value='$(accountId)'/><!-- pass the required information to child task as argument -->
                   </Action>
                   <Action id='1' application='com.waveset.session.WorkflowServices'>
                   <Argument name='op' value='checkinView'/>
                   <Argument name='view'>
                        <ref>view</ref>
                   </Argument>
                   </Action>
                   <Action id='2'>
                        <set name='view'>
                        <null/>
                        </set>
                   </Action>
                   <Transition to='incrementIndex'/>
    </Activity>
         <Activity id='2' name='incrementIndex'>
              <Action id='0'>
                   <set name='index'>
                        <add>
                             <ref>index</ref>
                             <i>1</i>
                        </add>
                   </set>
              </Action>
              <Transition to='createNewTask'>
                   <lt>
                        <ref>index</ref>
                        <ref>length</ref><!-- number of resource-->
                   </lt>
              </Transition>
              <Transition to='end'/>
         </Activity>

  • Can I assign a task based on information from another column?

    For example:
    Let's say I have a column called "Question Type" and this column has multiple checkbox choice, those being:
         Math
         Science
         History
         English
         Other
    I want to allow users to be able to select multpile catagories for the question, like making one both math and science (which right now is completely possible)
    I then want another column that says who the problem is assigned to. Bob is good at math, Joe at science, Jill at histroy, Jenn at English, and Billy handles everything else.
    1) Is there a way that the task can be automatically assigned to my math expert Bob when I specify that the item I am adding is a math problem?
    2) If I make a problem both math and science, can the task be assigned to both Bob and Joe?
    Thanks in advance!

    Hi,
    According to your post, my understanding is that you wanted to assign a task based on information from another column.
    To assign task to multiple users, you need to:
    Create a workflow and add action: Start Approval Process.
    Click these user, select the Group, change One or a time(serial) to
    All at onec(paralle).
    Right click the action, select Properties, click ExpandGroups, change No to
    Yes.
    Then you can assign task to each member of the group.
    I recommend to follow the steps as below to achieve what you want:
    Create a custom list, add columns: Question Type(Choice); Assigned to(Person or Group).
    Create a workflow associated the list.
    Add conditions and action as below:
    Then the task can be automatically assigned to 123 when the item is a math problem.
    In addition, if you make a problem both math and science, the task can be assigned to both 456 and 789.
    You can add other conditions to satisfy all the requirements.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Assigning My Tasks according to Role Hierarchy

    Hi,
    I have to configure EP's <b>My Tasks</b> in such a way that Project Manager can assign the tasks to his team members but team member should not be able to assign the task to his Manager. i.e. I want to assign the task hierarchically.
    Can some one tell that how can I configure My Tasks for this requirement? I am using EP6.
    Thanks in advance.
    Manish

    First thanks to everyone providing me lots of information regarding OS & Java internals
    The problem that I am facing is,
    There are multiple applications running on one Solaris box say Application-1 and Application-2. Now due several design holes Application-1 eating up most of the CPU cycles(Not all the time but during upgrades, reporting etc) Please note Application-1 need to run no matter whether it is eating CPU or not.
    Now Application-2 is having two sub component
    1. Reading binary data from several clients (High priority task)
    2. Parsing those data(well performance tuned java code with high CPU utilization)
    In this above scenario if Application-2 sub component (2) runs along with Application-1 which consumes most of the CPU cycle then the whole system will be state to function.
    I know the answer will be to tune the code which eats the max CPU and fix the problem, but you need to consider this is one application of 7 years age and still the development is happening on top it.
    So only possible solution from my side to isolate the component I can reduce the priority of execution and wait till the component which can not be get delayed processing. Means yield Application-2 sub component &ndash; 2 for Application-1 to complete its processing.
    Sounds strange right? But I am not finding any other ways to solve this issue immediately
    So the solution I figured out is to have a component to check the System recourse Utilization and yield Application-2 sub component-2 till have enough CPU to proceed(Again I know it really a bad way to solve an issue)

  • Need to find a calendar to schedule multiple assignments with multiple tasks set on specific days for multiple people

    There may be no such animal as what I am searching for, but I thought I'd give it a try.
    What I need to do is find a calendar app that allows me to have individual calendars for staff members that I can place a several-days-long assignment and have those people access remotely on an iPad or iPhone (autosync).
    I also want to be able to have tasks set on specific days within that assignment that have alerts/reminders for each stage of the assignment.
    Being able to custom colour each individual assignment (not just the person's own calndar) is also necessary, as these asignments overlap and need to be easily distinguishable at a glance. Each assignment needs to be its own entity and not affect any furture or previous entries, even if I choose the same colour.
    It needs to be in a month by month view and be able to be something each person can subscribe to and sync up with for changes on a daily basis. It does nothave to be a calendar like in the screen shot below, it could be a linear calendar that has days across the top and assignments down the left side.....
    Here is a screen shot of a rudimentary excel spreadsheet I have been using. It is awkward and becoming unmanageable as the number of assigments increases and more staff are being added on. And I must send a new spreadsheet out every time I make a change or add an assignment, which is several times a week.
    I suspect I may be asking for the world, but if anyone knows a direction I can go in to start a search, I'd be grateful. I haven't had success of my own so far and need to find something soon.
    iCal doesn't work for me due to the fact I can only colour code the calendar itself and not the event, plus not being able to have multiple tasks within one event. And the qty of assignments I'd have would see most getting lost, eliminating my abilty to see every staff member's assignmanet at the same time.
    Thank you in advance if you have a suggestion and if not, thanks for looking at my dilemma! 

    check with T-code TPM44
    zashok

  • How to assign a task to Reuestor in OIM 11g

    How to assign a task to a requestor (who has raised a request for other user).
    I created a Task assignment adapter and mapped variable in Process definition as
    Map To: Request Info
    Qualifier: Requester User Login
    Still it returns null and default task is assigning to System adminstrator. I am pasting the Task Assignment code here. User key value coming as Null.
    Do you have any idea what is the exact mapping required in Process definition.?? Pls note: I am using OIM version 11.1.1.5.0
    public class TaskAssignmentToUserAdapter {
         Logger logger = Logger.getLogger("COM.IDM.PROV.COMMON.ADAPTERS");
         public String getTargetType(String targetType){
              return targetType;
         public String assignTaskToUser(String userKey,tcDataProvider dataProvider ){
              System.out.println("The user key value:" +userKey);
              return userKey;
         }

    Not sure what sample code I can give you, but you need to do a query in your adapter like:
    select REQUEST_KEY from OIU where ORC_KEY='?'
    Here ORC_KEY should be mapped to the process instance key.
    Once you have the Request key, you can use RequestServcie APIs to get the requester information. http://docs.oracle.com/cd/E14571_01/apirefs.1111/e17334/oracle/iam/request/api/RequestService.html#getBasicRequestData_java_lang_String_
    Or if you don't care then get the requester key from the request table. Thus you can have the final query as:
    select USR_LOGIN from USR where USR_KEY=(select REQUESTER_KEY from REQUEST where REQUEST_KEY = (select REQUEST_KEY from OIU where ORC_KEY='?'))
    HTH,
    BB

  • Firefox won't start, no error message, firefox.exe showing in Task Manager Processes

    Firefox (v3.6.6 on Windows Vista) will not open. When the icon is clicked, the hourglass shows for a few seconds, goes away, and nothing else happens. There are no error messages. 'firefox.exe' shows on the Task Managers Processes tab. I also cannot open Firefox in SafeMode or with the ProfileManager.
    I have tried restarting the computer, uninstalling and reinstalling firefox, deleting my firefox profile. I have tried all of these things multiple times in different orders with no results.
    Please Help!
    == This happened ==
    Every time Firefox opened
    == Yesterday ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; InfoPath.2; MS-RTC LM 8; .NET CLR 3.5.30729; .NET CLR 3.0.30729; MS-RTC LM 8)

    dmcritchie, thank you for your reply!
    Before I received your response, I tried something that seems to have worked. I used Chrome to go to the Firefox website and downloaded Firefox (without uninstalling it first) and went through the installation process again. For some reason, this worked, even though I already had the latest version of Firefox, and I can now open Firefox successfully.
    If it stops working again, I will try your suggestion. In the meantime, thank you much!

  • How to assign multiple categories to a webapp item that is populated from a frontend form?

    We have a webpage with a form that allow users to populate a webapp, but we also need that the user can assign multiple categories to the webapp item that is going to insert.
    The support forum told us that it is not possible to assign categories from the frontend, but only from the admin area.
    Is there any workaround to this issue? We do not want the users to access to the admin area because we need them to populate the webapp only from the web form.
    Thanks for any help on this.
    Franco

    Dont know if this will help:
    http://bcgurus.com/tutorials/dynamic-categories-for-business-catalyst-introduction

Maybe you are looking for

  • How to edit a video that has already been exported?

    I have a video which was exported, however I would like to go back and edit some things. When I open FCPX, I am unable to find the video file at all, and the only way I can even see it in the program is by importing the already exported file. Obvious

  • LIne Item Reports CJIF & CJID - not showing output

    Hello Friends, Can anybody help me to find out why CJIF - Result analysis and CJID - Line item settlement not giving any out put though we are regularly doing RA & settlement for RA as well as Incoming order. Thanks and beste regards Bharat

  • RegisterFont when running local doesn't work.

    Hi guys anybody knows why Font.register(class) doesn't work when i run from my local machine? the fonts.swf is loaded from a server loading fires a complete event so that should be fine. However when i load the fonts.swf also from local machine then

  • Word search image

    Hi guys, This one's quite advanced... I'm working on a online book project that takes a .pdf, converts each page into a JPEG and stores them to a unique folder. I have created a flash file that the user is directed to upon the .pdf's upload which det

  • Why Interface is necessary in Java?

    Hi, we know interface is like a skeleton, that contains only method signatures and variables. Methods must be public, abstract and variables must be public static final. simply we are implementing interface and defining all the methods in our class.