Parallel Task Processing

Hi all,
due to some performance issues - I have broken a task into 4 tasks so that they can be run in parallel.
The particular task is the 1sided reclass (it is taking 22-23 mintues to run)
I have broken this into 4 tasks, each pointing to different sets of companies.
However when the task group is kicked off - a little while later I get an error message re data is locked.
I have 4 tasks - each assigned to a method.  Each method is assigned a set of companies in the trigger, and in the source I have set company as inherited from trigger.
I cannot understand why the data would be locked when each task is looking at different companies.  Also - we are using the matrix scenario, but each PC is only assigend to a single company.
Anybody got any ideas.
Thanks

Eugene
I have four methods - and I assigned a single company within each method - to see if this would work - but it did not.
Is this what you meant when you said to assign the appropriate method to eash company individually ?
Thanks

Similar Messages

  • Task's Process context doesn't get updated in parallel tasking

    All,
    I have a parallel task in my BPM process flow; the parallel task can have a max of 3 owners. The owners can either approve / reject the task. There are 3 boolean attributes in the process context that are used to store the decisions of these task owners.
    When the process is initiated, these 3 attributes are set to true. So, there is no issue if all the 3 owners approve the task. The flow continues. If one of the owners reject first, followed by the other 2 owners approving the task, then the decisions are not captured. Hence, rejection flow is not triggered at all. But if the first 2 owners claiming the task approve and the last one rejects, the rejection flow is triggered.
    Observation: When a owner approves / rejects, I am able to see the changed decision in NWA PROCESS context and in the output mapping of this task. But now, when the 2nd owner claims the task, the input mapping of this task doesnt have the updated value of the first owner's decision.
    How to solve this issue?
    Can someone please assist?
    Many thanks,
    Subathra M

    Hi Subathra,
    Is it the same webdynpro component that is assigend to the 3 parallel task? In that case you can use one attribute to capture the decision. if tthe first user selects approve and then the second user select reject the attribute will be updated to reject.
    Regards,
    Shilpa

  • Changing OSM task state/status from another parallel task flow

    Hi, guys!
    I have a problem with implementing parallel task flow. Let's consider such situation: there are two parallel task flows, the first flow contain manual task, upon completion which I need to change second flow's task state/status and vice-versa. I studied XMLAPI functions, wsapi operations, api from automation package but couldn't find appropriate aproach.
    Thanks!
    Edited by: serj129 on 15.08.2011 2:50

    Have you any suggestions?
    I tried to implement 2 automation task, which contain automation plugins. First task implemented xquery sender as completed event, the second task implemented xquery reciever, which changes status to success, but this approach isn't working.
    All properties of automation plugins configured properly, but I always receive next exceptions:
    ####<Aug 22, 2011 4:39:52 PM ALMT> <Warning> <EJB> <car07-eth0.telecom> <AdminServer> <ExecuteThread: '13' for queue: 'oms.automation'> <oms-automation> <> <> <1314009592567> <BEA-010065> <MessageDrivenBean threw an Exception in onMessage(). The exception was:
    java.lang.RuntimeException: No transaction associated with request.
    java.lang.RuntimeException: No transaction associated with request
         at oracle.communications.ordermanagement.cluster.message.ClusterMessageHandlerBean.onMessage(Unknown Source)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
         at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3747)
         at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
         at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    >
    ####<Aug 22, 2011 4:39:52 PM ALMT> <Warning> <EJB> <car07-eth0.telecom> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1314009592571> <BEA-010216> <The Message-Driven EJB: BiTTLautomation.BiTTLautomation.OSMManualListenerMDB is throwing exception when processing the messages. Delivery failed after 185 attempts. The EJB container will suspend the message delivery for 60 seconds before retry.>
    ####<Aug 22, 2011 4:40:09 PM ALMT> <Info> <oms> <car07-eth0.telecom> <AdminServer> <Timer-8> <admin> <> <> <1314009609038> <BEA-000000> <impl.OrchestrationCascadingLRUPolicy: Evicted order /order/474 from orchestration cache due to cache entry expiry>
    ####<Aug 22, 2011 4:40:24 PM ALMT> <Info> <oms> <car07-eth0.telecom> <AdminServer> <ExecuteThread: '13' for queue: 'oms.automation'> <oms-automation> <BEA1-08945C597092560E5D6A> <> <1314009624879> <BEA-000000> <plugin.AbstractAutomator: Creating automation plugin [class oracle.communications.ordermanagement.automation.plugin.XQuerySender_iults7_Impl] built using SDK version [7.0.2.437]>
    I suggest that it is not correct approach, because of automation context restored from DB is related to other task.
    Have any ideas of changing task status from OSM DB directly. This approach is temporary, for compatibility with performing manual tasks in 2 systems: OSM and other
    Thanks!
    Edited by: serj129 on 22.08.2011 3:59
    Edited by: serj129 on 22.08.2011 3:59

  • Avoid Duplicate Tasks when Expanding Groups for Custom Task Process

    Is there a way to:
    Avoid Duplicate Tasks when Expanding Groups for Custom Task Process?
    I've got a people metadata column that I am planning on putting groups into.  I want the groups to expand and send a task for all users in the groups.  I also want to avoid creating multiple tasks if a user happens to be in two groups at the same
    time.
    I'm trying to work out a way to assign users a read task based on job training requirements.  Right now assigning groups and using a workflow task to confirm read is what I'm trying to accomplish.  I just end up getting two tasks for a user if
    their in multiple groups.
    David Jenkins

    Hi David,
    Please verify the followings:
    After Participants, select Parallel(all at a once)
    Expand Task Options, select ‘Assign a task to each member within groups’
    Open the action properties, make sure ExpandGroup is Yes
    Also in SharePoint Designer ,you can edit the property for the Start Approval Porcess to enable ExpandGroup:
    Reference:
    https://social.msdn.microsoft.com/Forums/office/en-US/d14da1c4-bd5a-459b-8698-3a89bb01e6ad/expand-groupnot-creating-tasks-for-users-issue-in-sharepoint-2013-designer-workflow?forum=sharepointgeneral
    https://social.technet.microsoft.com/Forums/office/en-US/ac245d45-ff66-4341-815c-79213efc4394/sharepoint-2010-designer-workflows-and-sharepoint-user-groups?forum=sharepointcustomizationprevious
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Start a Task Process Action in SPD 2013 does not expand SharePoint Groups

    I created a site workflow in SPD 2013, and added a "start a task process".  I specified that the participants would be a group, the tasks would be created in parallel and "Assign a task to each member with groups" is checked. 
    I did check after the fact that "ExpandGroup" is "Yes" in the properties.
    However, when executed, the group gets assigned a task, not individual users within the group.
    I have seen other postings where others have the same issue, but no resolutions besides MS is investigating.  Is this some issue with my setup?  I have tried this in multiple environments with the same results.

    Hi  wangsy101,
    According  to your description, you create a workflow with “Start a task process” in SharePoint 2013 Designer, and the participants was a group, and you had make sure that the “ExpandGroup” was “Yes”. However, when executed, the workflow didn’t assign
    the task to individual users within the group.
    I reproduced the process, and in my testing , everything worked well.
    When you start the workflow and view the workflow, you will see the Assigned to field is the group. And when you open the related tasks, you will note that there are some new tasks related to individual users within the group. It  means that the “ExpandGroup”
    works correctly.
    If the issue still exists, please create an approval workflow  with SharePoint 2010 Designer platform, and set the same configuration to test.
    I hope this helps.
    Thanks,
    Wendy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Multiple User Task Process in SharePoint Designer

    HI ,
    I have 2 Users in Approval Level , and i have created Task process for Both Users using SharePoint designer 2013. 
    I have selected Parallel ( All at once) option. Once Task Process created, the !st User Approved & 2nd User Rejected, The OutCome coming as Rejected.
    I need an Outcome as Rejected even any one in Group Rejected the Task Process.
    Please Help me on this.
    Sugumaran Srinuvasan

    Hi,
    By design in SharePoint, if there is a user reject the task, the task outcome will become to Rejected.
    If you want to end workflow once one user reject the task, you need to change the workflow action as below:
    Then when the first one reject the task, the action will be completed and the task outcome will become to Rejected.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Start a Task Process assigns tasks in the reverse order

    Hello,
    I am using SPD2013 and Sharepoint 2013 Online.
    I am using 'Start a Task Process' using  people from the Person or Group Lookup column that allows multiple selections.
    For some reason, the 'Start a Task Process' action assigns the participants in the reverse order. I am currently assigning the participants using...
    'Workflow Lookup for a User'
    Data Source: Current Item
    Field from Source: the Person/Group Lookup
    Return Field as: Display Name; Semicolon Delimited.
    The problem is not isolated to just one workflow, but all workflows in the sharepoint site. I tried deleting the workflow and remaking it but I am still having the same problem.
    The tasks are assigned as expected if I don't use 'Workflow lookup for a User."
    Has anyone run into this issue before? Thanks for all of your help.

    Hi CalvinKwon,
    How did you set the participants when the workflow work as expect? Set users one by one?
    Are you using “Serial(one at a time)” or “Parallel(all at once)” for assigning tasks?
    I did a test and found that:
    If I used “Serial(one at a time)” , the order of assigning task is random regardless of using “'Workflow lookup for a User” or one by one.
    If I used “Parallel(all at once)”, the order of assigning task is right regardless of using “'Workflow lookup for a User” or one by one.
    I could not reproduce this issue on my SharePoint On-premise, it seems to only happen on SharePoint Online.
    Please test with “Start Approval Process” action using SharePoint 2010 platform.
    And as this issue is about SharePoint Online, I suggest you create a new thread on Office 365 forum. The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly
    can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Office 365 forum:
    http://community.office365.com/en-us/f/default.aspx
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to use a pwa group in CREATE A TASK PROCESS in SPD 2013 for project server workflow approval process

    I am working on a Project Server 2013 workflow. I am creating this using Sharepoint Designer 2013. In this workflow I am using approval process at one stage. I have created a security group SalesManagers in PWA. I want to use this group for workflow approval
    process. I want all users of this group get approval tasks. 
    For this I used START A TASK PROCESS activity in the SP Designer. I clicked on
    this user and created task process. But here I could not find SalesManager group which I created in PWA. I was only able to find the users. I can also see
    Administrators for PWA . But couldnot find SalesManager or any other security group created in pwa.
    Can anyone suggest how I can get the security group created in pwa.

    NBDevelopment,
    I believe SPD only recognizes the SharePoint Groups and not the project server security groups.
    The Administrators for PWA, and few other groups like Project Managers for PWA etc., are synced SharePoint Groups with the security groups, which is why they show up in SPD.
    You could create a SharePoint Group for the Sales Managers group and use that in SPD.
    Cheers,
    Prasanna Adavi, Project MVP
    Blog:
      Podcast:
       Twitter:   
    LinkedIn:
      

  • Error when reassigning a custom task process

    Hello!
    I have an error when reassigning a custom task process.
    That is what I see at the workflow history: Task assigned to xxx was delegated by xxx. Coments: xxx
    However in the second line of the history an error is shown with the following information:
    Event type: error
    User ID: System account
    Description: An error has occurred in nameofthetask
    No new task is created for the user who the task was reassigned to.
    Any help would be appreciated

    Hi,
    From the error message, I
    guess that you come across an OOTB Approval
    Workflow.
    When you define your workflow, there is a section "Enable content Approval Workflow Activities", where you can check "Update the approval status after the workflow is completed (use
    this workflow to control content approval)". If you check this option, and you do not have content approval enabled on the library level, you get the system account error message. If you do not check it, everything works fine.
    Or you can go to the document library settings and go to Versioning Settings Page, set "Require content approval for submitted items to?" to yes and everything should be fine.
    Refer to  the following blogs about the similar issue:
    http://mossnwss.blogspot.com/2008/10/workflow-error-system-account-error-has.html
    https://sharepointtechs.wordpress.com/2011/11/18/workflow-error-an-error-has-occurred-in-approval/
    Besides, here is a similar post, you can use as a reference:
    https://social.msdn.microsoft.com/Forums/en-US/fff5ee1f-904b-4a95-989f-c5a079cdf666/workflow-error-system-account-an-error-has-occured-after-workflow-completed-moss-2007?forum=sharepointcustomizationlegacy
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Some fields are missing in Current Task - Designer Workflow Approval Task Process

    Hi All,
           I am using approval task process activity in designer workflow. When i go to the single task behaviour page, some fields are missing under Current Task Source.
    Some missing fields are :
    1. Assigned To
    2.External participants
    3. Form Urn
    I am trying to get the above fields but not available. What could be the issue?
    Puli Bala

    Hi Puli,
    I think your task list is corrupted, could you please try to associate your workflow to another task list in SharePoint Designer > Click Workflows on left navigation > Click to open your workflow > Under Settings section, select another task
    list and test.
    Thanks & Regards,
    Emir
    Emir Liu
    TechNet Community Support

  • How to create parallel tasks using parallel for loops

    Hi,
    I am setting up a program that communicates with six logic controllers and has to read the system status every 100 ms. We are using OPC datasockets for this, and they appear a little slow. 
    I have created a uniform comm. method for all controllers, and now I find myself programming this method six times to communicate with each system. I am wondering if this could be done more elegant using the parallel for loop, in which case I would program an exchange once and then have six workers running simultaneously. Since a picture is more clear that a thousand words, what I am asking is this:
    Is it possible to replace something like
    by
    and have this for loop running these tasks in parallel (on different cores / in different threads)?
    I have configured the loop to create 8 instances at compile, so I would have 2 instances surplus available at runtime if I find I need an additional system.
    The benefits of the method show in the second picture to me are:
    * takes less space
    * modifications have to be made only once
    * less blocks, wires and stuff makes it more clear what's going on.
    * flexibility in the actual number of tasks running (8 instances available at runtime)
    * if more tasks are required, I need only to update the maximum number of instances and recompile, i.e. no cutting and pasting required. 
    Unfortunately, I don't have those system available yet, so there's no way to test this. Yet, I would like to know if the above works as I expect - unfortunately the labview help is not completely clear to me on this.
    Best regards,
    Frans 
    Solved!
    Go to Solution.

    Dear mfletcher,
    First of all: thanks for confirming that my intuition was right in this case.
    As for your question on the help: below is a copy/paste from the help on the 'configure parallelism dialog box' 
    Number of generated parallel loop instances—Determines the number of For Loop instances LabVIEW generates at compile time. The Number of generated parallel loop instances should equal the number of logical processors on which you expect the VI to execute. If you plan to distribute the VI to multiple computers, Number of generated parallel loop instances should equal the maximum number of logical processors you expect any of those computers to ever contain. Use the parallel instances terminal on the For Loop to specify how many of the generated instances to use at run time. If you wire a larger number to the parallel instances terminal than you specify in this dialog box, LabVIEW only executes as many loop instances as you specify here.The reason for me doubting if what I programmed would work the way I intended lies in the fact that the help only mentions processors here, which would be interpreted as actual cores. Thus on a dual core machine, the number should be 2.
    I think it would be helpful to mention something about threads here, because in some case one would like to have more parallel threads than there are cores in a system.
    In mu case I would like to create six threads, which on my dual core processor would be spread over only two cores. Then these six threads run in parallel.I know that in case of heavy math that would not help, but since I am doing communications, which have timeouts and such, and that probably runs smoother in six parallel tasks even though I only have two cores. 
    Hope this helps in improving the help of the for loop.
    Regards,
    Frans 

  • Workflow task process participants in serial order: how to make it stop at first rejection

    I have listed 3 participants as task process participants in serial order on my approval process. Currently even if the first one rejects, it moves on to the next one and then next no matter if they reject or approve it. The final outcome is rejected if
    anyone of them reject it.
    Is there a way to stop the workflow and mark the workflow status as rejected if anyone of the participants mark it as rejected?

    Hello All,
    i have read the article
    http://office.microsoft.com/en-us/sharepoint-designer-help/understand-approval-workflows-in-sharepoint-2010-HA101857172.aspx#_Toc264526218 but could not find anywhere a step by step process to End workflow on first rejection in Designer 2010.
    Can you please help me the steps in SP2010 for setting the Workflow Status as Rejected on the first Rejection itself?
    Thanks,
    Shubhangi
    $hubhangi

  • How to enforce order of execution of parallel tasks?

    How do I set the order of execution of parallel tasks in a container?
    The execution isn't truly random. It appears to be set to a random constant at package creation.
    Demo
    I set up a dummy package.
    Max concurrent executions = 1
    sequence container with four script tasks that do a thread.sleep
    The tasks always execute in the order 4, 2, 1, 3. Closing/opening the solution makes no difference to the order of parallel execution.
    Is there a way i can change the execution order? Do I need to change the guid/id of the object (tried this but it invalidates the xml) or is there an order somewhere else in the XML?
    I've found a hack/workaround but it's a bit ugly so I'm wondering if there's a way to do it without adding dummy tasks.
    Basically if i create a dummy start task and then drag off "on success" constraints to each of the four threads, the threads will execute in parallel in the order in which i created the constraints
    Why do i want to do this? I have a number of parallel tasks in a sequence container where three will take a long time and the rest won't take as long.
    I'll minimise the time required for the execution of container by using parallel tasks AND controlling the queue order (longest first). It won't matter whether I have 1 logical cpu or as many logical cpus as i have tasks.
    Thanks
    Jakub @ Adelaide, Australia

    I think the problem you are trying to say is 
    a) You have multiple tasks( i assume 10) now out of these 3 execute slowly.
    b) You done have any constraints for task execution, so what you want to achieve is that the 7 task should continue without waiting for the other 3 in your case the 3 are starting up earlier and other 7 are not able to start as a result.
    AS arthur pointed out these are 2 diff things constraints and parallel execution, and there would always be some task which would be started at some point of time.
    But if you know in advance some tasks are going to take time, i would suggest keep 2 diff sequence containers in 1 keep the 7 tasks which runs fast in another one keep the other 3 which tend to run slow
    Abhinav http://bishtabhinav.wordpress.com/

  • Custom task process

    Hallo Everyone,
    I have a reusable workflow which is based on custom content type. In this workflow iam creating a custom Task process when a condition is satisified. This custom task process creates a new task list and create a task there but i have a custom Task list created
    from visual studio and i want to create task in this task list. 
    Anyone knows how to do this ?. 
    Thank you.

    Hi,
    You need to change TemplateType and Type form “10000” to "107", then the custom task list will be appeared.
    The result is as below:
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <ListInstance Title="List1"
    OnQuickLaunch="TRUE"
    TemplateType="107"
    Url="Lists/List1"
    Description="My List Instance">
    </ListInstance>
    </Elements>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <!-- Do not change the value of the Name attribute below. If it does not match the folder name of the List project item, an error will occur when the project is run. -->
    <ListTemplate
    Name="List1"
    Type="107"
    BaseType="0"
    OnQuickLaunch="TRUE"
    SecurityBits="11"
    Sequence="360"
    DisplayName="List1"
    Description="My List Definition"
    Image="/_layouts/images/ittask.png"/>
    </Elements>
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Missing Editor for Cancel Email in Start a Task Process object

    I'm using SPD 2013 and the 'Start a task process' object in a list workflow.  I've successfully modified the Task Creation email, but when someone completes the task, others in the group receive the default task cancelled email and I cannot find an
    editor to modify the cancel email.
    I can go to properties to view the CancelationEmailbody field, but there is no way to add or change lookup fields.
    Thanks,
    KJ727

    Hi,
    As I understand, you are using SharePoint designer worfklow on 2013 platform and you would like to edit cancelation email body for task process.
    From my experience, there is no OOB option for you to edit cancelation email body. Since workflow 2013 is different from 2010, task forms are auto-generated based upon a certain Content Type. As workaround, I'd recommend you using approval workflow on 2010
    platform. In addition, you could try codeplex 2013 approval workflow, please check the link below:
    http://sharepointwf.codeplex.com/
    More information:
    http://blogs.msdn.com/b/sharepointdesigner/archive/2012/09/14/how-to-manipulate-the-task-form-with-sharepoint-designer-for-new-task-actions.aspx
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.workflowservices.activities.singletask.cancelationemailbody(v=office.15).aspx
    Regards,
    Rebecca Tu
    TechNet Community Support

Maybe you are looking for

  • Text in Dynamic Textfield gets cut off

    Hi I have a dynamic text field which is just one line of text. For some reason letters like g or p that go below the regular line of text get cut off. I have made the field bigger, and also played around with the _height Property but it doesn't make

  • GR for PO in forex resulted in currency conversion rounding difference

    Hi, I have created a PO in foreign currency and when I perform a GR in MIGO, it created the following 4 FI postings: 1) DR Stock - Amount in Forex, Amount in Local Curx 2) CR GR/IR - Amount in Forex, Amount in Local Curx 3) DR Rounding Diff  0.00 in

  • Connecting and sending data to web service

    Hi, I have to implement the functionality in PDF document to connect with the web service and send the form data in xml format on Click event of a button inside the form. During the initial development and testing I have found that document can only

  • JAVA EXPERTS kindly chip-in

    class Test Test t=new Test(); class TestA public static void main(String[] args) Test t=new Test(); I'm getting a run-time error in above code that is Exception in Thread "Main" java.lang.StackOverflowError while the following code is working very fi

  • I lost my apps icons

    I have lost my app icons.  When I go into Apps and do a search, I can open them, but the icons aren't on my screen.  Also, I lost my calculator and other utilities.  Anyone know how to get them back?