Parallel activities

hi all,
I'm stuck on a workflow that has 3 branches.  I need to perform three different tasks in parallel and then come together afterwards to proceed with the rest of the workflow (perhaps using a junction).  Each of the three branches have only one Activity,
which is an Invoke Runbook that calls other activities.  Each eventually returns either a 0 (success) or a 2 (Error), depending on the outcome of their respective Activities.  If it's an error, I send to an Error Routine via a Smartlink.
I'd like for the entire workflow to stop at some point if one or more of those 3 activities fails.  In other words, I need to ensure that all three complete successfully before moving on past the junction.
I realized in my tests that a Junction doesn't have any type of validation intelligence.  If one of the three activities fails, it will still move ahead.  I'm trying to figure out a better way rather than having to run the activities sequentially.
 (I'm looking to optimize the workflow as much as possible).
Any suggestions?
Thanks in advance.

Thanks Anders.  So I think I have the parallel execution figured out already (I did leverage that article in doing so) and I use Invoke Runbooks to accomplish this.  However, there's still a problem when bringing them back together.  Here's
an example:
Invoke Runbook 1:  Configure DHCP Server on a VM 1
Invoke Runbook 2:  Configure Print Services on VM 2
Invoke Runbook 3:  Install Exchange on VM3
As you see all of them can run independent of one another, which they do today.  However, I want to bring them back together and proceed with the runbook only if all three succeed.  This is where I am struggling.
Btw, I do have error routines that branch off of each, which work when a failure does occur.  However, if I have a junction that connects the three the junction will still carry on even in a failure event.

Similar Messages

  • Schedule parallel activities on different resources for the same period

    Hi,
    I am trying to create a PPM where I need to define parallel activities on different resources for the same time period.
    For example:
    Input prod: P1
    Output prod: O1
    Now I define a dummy activity A1 to define this consumption i.e. 1 PC of P1 gives 1 PC of O1.
    Now I have got 3 resources R1, R2, R3.
    I define 3 activities A2, A3, A4 for these resources.
    Now I have to arrange activities A2, A3, A4 such that they start simultaneouly after activity A1 and also end simultaneouly.
    The Fixed duration for all the resources is 1 week.
    My requirement is that out of these resources system should plan for demand considering the resource with minimum capacity
    i.e. kind of bottleneck resource.
    I am using CTM engine for planning.
    I have defined A1 as predecessor for all the 3 activities A2, A3, A4 and after completion all the activities have a dummy successor activity  S.
    But this setting is not working and PPM is not getting exploded, If I use a normal linear relationship between activities it works fine but my requirement is not getting satisfied.
    Can anyone please help me in this case or suggest some alternate method.
    Thanks & Regards,
    Sanjog Mishrikotkar

    Hi,
    You cannot use the old solman key as systems are on different server.
    I think you have to delete the old Dev system and then generate new solman key.
    Thanks
    Sunny

  • Best way to do parallel activities

    Are there any comments on the best way to do parallel activities in LabVIEW. An example is a program doing data acquisition or video capture and reading several com ports - all asynchronously. One way is to use parallel while loops and use occurrences or notifications to start each loop. I saw a posting where Sergey Krasnishov suggested vi server. Then I guess you run different instances of LabVIEW programs and use datasocket rather than local variables to exchange data between the programs. It seems to be decision as to whether you let LabVIEW determine the threading between activities (making sure not to tie up the processor in any of the parallel loops) or in the vi server case letting Windows determine which application runs wh
    en.

    > However its not clear to me if this makes better use of the processors
    > time in terms of switching between the loops than if the 2 while loops
    > are on the same diagram.
    >
    For deeper details on how a VI is executed, you might want to look at
    Steve Roger's slides from his NIWeek presentation.
    A quick summary is that LV schedules execution based upon dataflow and
    the nodes that are ready to execute do so in what we call an execution
    system. Today's LV has five execution systems and each supports five
    priorities. In single threaded LV, there is one thread servicing the
    various execution systems. In multithreaded LV there can be many OS
    threads, each assigned to one execution system at a particular priority.
    Each VI has a setting/property stating where its execution is to
    occur, though there is some inheritance of priority to prevent inversion.
    If you do not change the way LV allocates threads for the various
    execution systems, the default is to have one per cell, or one per
    execution system per priority. This means that a single VI, which runs
    in one execution system at one priority will use cooperative
    multitasking to carry out the execution of the loops.
    It isn't clear to me exactly what your goal is with parallel processing,
    but without a second CPU, you will only have the CPU doing one thing at
    a time and it is a matter of how often it switches between the tasks and
    what precedence they tasks get. If you wish to have finer grained
    parallel execution, there are several techniques.
    One simple one is to place a wait of zero milliseconds in each parallel
    operation. Each of these will cause the code to reschedule itself and
    if there are other operations available, they will get a turn. If not,
    the node will continue executing. This technique typically works very
    well and your diagram is in control of where the task switching occurs.
    Another technique is to leave the loops in the same VI, but change the
    LV configuration to have multiple threads for the standard execution
    system. There will then be more than one OS thread that executes LV
    code as it becomes available. It will be up to the OS to decide
    everything about how the threads execute on the processor(s) available.
    Another technique is to move the loops within separate VIs. Simply
    placing one of them in a subVI is sufficient. Then set the VI Property
    to have the execution take place in different execution systems. Again,
    more than one OS thread will be used, and ideally the behavior is
    indistinguishable from the first. Occasionally, two loops in the same
    VI will execute slower than this approach on multhprocessor computers
    due to cache lines on the processors and how often a write from one
    processor invalidates memory cached by the other processor. This
    difference typically goes away when debugging is turned off on the VI.
    Greg McKaskle

  • Parallel Activities and Change Requests

    We are beginning to play around with using parallel activities in CRs, but have noticed that when we create CR with parallel activities our workflows fall behind. After around 3 - 5 hours the workflow will process and notifications and status changes will
    occur. Could this be because parallel activities appear to be designed with Release Management in mind and so there are not solid relationships between Release Management and CRs without linking a Release to a CR?

    You may have an issue with a particular workflow, that could be slowing down the execution of other workflows. I would suggest taking a look at the link I pasted below. It is a great blog post by Travis Wright on how to troubleshoot workflow performance
    issues in SCSM.
    http://blogs.technet.com/b/servicemanager/archive/2009/12/21/troubleshooting-workflows-in-service-manager.aspx
    Matthew Dowst |
    Blog | Twitter

  • Resource assignment to Parallel activities

    Hi,
    this is regarding resource allocation to Parallel activities. I have two activities that occur in parallel 1. Preparing drawings for table, 2. Preparing drawings for Chari.
    Now these activities occur on the same day (one day duration) and done by one single draft man.
    I have assigned one draft man as a resource to both the activities. (Meaning one draft man will do both activities in one day), the problem is in the histogram it is showing two draft man as a required resource on this particular day.
    Qstn: How to make P6 understand that this single resource will do both activities in one day (and still assign one draft man as resource to both the activities.)
    Thanks in advance..
    Regards,
    Imad

    You need to reduce the units (hours) by one half for each of them. If you currently have them for 8 hours/day and the resources limit is 8, it will show as needing two.

  • Stop all parallel and series task after rejection in sharepoint 2013

    How to stop all parallel and serial tasks to stop and terminate the workflow once an approver rejects a request at any hierarchy or any branch of parallel activities.
    I am looking for SharePoint 2013 SPD workflow.

    Hi Arun,
    Based on your description, my understanding is that you want to stop all parallel or serial tasks and stop the workflow once an approver rejects a request.
    I recommend to edit the Start a task process action in the workflow and set the Wait for task completion under Task Options:
    If the workflow contains other steps under the Start a task process action and you want to stop the workflow after an approver rejects the task, then I recommend to add a condition to check if the Task outcome is approved under the Start a task process and
    move all the other steps inside the action.
    After that, only if the all the tasks are approved, the workflow will run the other steps, otherwise it will go to the end of the workflow.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • To call Parellel N activities in sun idm 8.1

    Hi
    Is it possible to call N parallel activities in idm.
    We want to launch parallel threads which will go to each approval.
    We are trying with AND Split and AND join. But we are not able to write dyanmic call to N Parallel activities.
    We don't want to mention dynamic activity name
    EX:
    <Activity id='0' name='Processing' andSplit='true'>
    <Action id='0'>
    <expression>
    <block trace='true'>
         <set name='threads'>
                        <list>
                        <s>1</s>
                        <s>2</s>
                        <s>3</s>
                        </list>
                        </set>
    </block>
    </expression>
    </Action>
              <!-- <Iterate for='name' in='threads'/> -->
              <Transition to='Level$(eachlevel)'>          
              <block trace='true'>
                   <dolist name='eachlevel'>
                   <ref>threads</ref>
                   </dolist>          
                   </block>
              </Transition>
    <WorkflowEditor x='345' y='383'/>
    </Activity>
    ....

    You might want to post this in the Sun IDM forum. Sun Java System Identity Manager
    -Kevin

  • CTM can consider parallel sequence?

    Hello experts,
    My customer consider to use CTM with parallel sequence.
    REgarding that, I found a SAP note 1177608. It describes as below
    u201CDuring the CTM-PDS transfer, the system creates the relationships of the parallel sequence of a routing, even though the parallel sequence is not supported by CTMu201D
    By the note, parallel sequence can be created, but parallel sequence is not supported by CTM engine.
    Is there any work around for achieving it?
    Kind regards,
    Seongsik

    Hello,
    I went through this and checked with development team.
    CTM really do not consider parallel sequence and It currently is not planned to support parallel activities
    on CTM for future releases.
    Regarding workaround, I do not know any as well.
    Regards,
    Michel Bohn

  • Request Deletion Job Problem

    Hi All,
    The request is supposed to be deleted by the system automatically as and when there is a new request is loaded. But the job is cancelled and the requset was not deleted.
    The Job Log contains the following information.If any one has seen this error please do let me know whats the solution for this.
    Job log
    Job started
    Lock NOT set for: Deleting transaction data one request at a time
    Job cancelled after system exception ERROR_MESSAGE
    If you have any ideas how to resolve this do let me know.
    Regards
    vijay thammineni

    I think are you loading and deleting parallel activities to the same cube or ODS? ..
    So for deletions, it tried to lock the object.. but since it was already locked by other process it failed..
    Also check in SM12 to see any locks ( remained ) on the cube?
    regards,
    Hari

  • Is there a way I can persist New-WebServiceProxy or System.servicemodel.endpointaddress

    I have some Runbooks that must make upwards up 50,000 calls to various web services. I am already leveraging parallel activities but these are still required to generate a Proxy.
    I haven't been able to persist a web proxy between .net activities in the same Runbook. I'm also open to using the object below if that is possible.
    $endpoint=New-Object System.servicemodel.endpointaddress("")
    Would the PowerShell IP be appropriate in this case?
    Moved On

    See Kappy's previous write-up.
      Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities

  • How to build timeout in BPEL flow?

    Can someone tell me what activities and service to use to build timeout? I could use 'Flow' and put one of the parallel activities as 'Wait'. But how to make the process continue when wait timeout?

    you have wait - for generic wait activities, and onAlarm, to timeout a callback or other operation .. (it's used together with onMessage)
    hth clemens

  • Simple HTTP Post Handler - Best Practice?

    I would like to create a fairly simple ASP.Net application that takes an XML record from an HTTP post request, submits it to a process that invokes a command line app that parses the XML file, takes the parsed XML file (as XML), and returns the result. 
    For now the process can be synchronous as the transform has to complete and there are no parallel activities that need to be performed.
    I'm not sure that writing an HTTP Handler is the way to go, but maybe I'm mistaken.  Plus there are no examples of doing that in Visual Studio 2013 using IIS 8.0 or 8.5 and I don't really understand the value of applying a file extension or processing
    an HTTP post to initiate the request, perhaps using a dedicated port.  I already have a class library for handling the process request.
    I'm also a little confused about reading the post request - it seems I can just do it during the page load and that I should be able to extract the first request form field - that of course means using a webform to process the request which seems to be the
    most straight-forward way to do this. So I'm looking for the best practice for fielding this kind of request.  My target server is Windows 2012, but I'm developing with VS 2013 and C# on Windows 7 using IIS Express and configuring IIS is confusing. 
    Overall it is a fairly simple app, but there are so many rich new features in VS 2013 (most of my work has been in VS 2005).  I also want to build a test app and am looking for the best way to do so, although I think I can build a simple client app
    to do that.  The business requirements will be to issue the post request from a MarkLogic xquery request which will take care of any JSON wrappers and balance between multiple Windows servers to handle the load.
    Thanks for any help with this!
    ~Tim

    Hi Tim,
    Thank you for posting in the MSDN forum.
    Actually this forum is to discuss the VS IDE, if this issue is related to web development, you could ask this question in the ASP.NET forum:
    http://forums.asp.net. If then, you could get an answer more quickly and professional. Thanks for your cooperation.
    Best Regards,
    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.
    Click
    HERE to participate the survey.

  • Deliverables in implementation project?

    Dear Gurus,
    what are the deliverables in implementation project?

    Hi,
    For quick understanding
    Ensuring successful implementation of a project, the Project Scope is a vital and critical component containing with documents of the projectu2019s deliverables with Scope and out of scope. In Project the background need to mention the project definition, Objective, Deliverable, Scope and out of Scope. The scope statement is an agreement between the project team and the project customer by identifying both the project objectives and the major project deliverables (what is possible).
    The deliverables part conations:
    1. Development of a project plan( you can have methodology or tool to implement) for overarching project
    2.Development of project plans for associated project( GAP or Parallel Activities)
    3.Development of a communication plan
    4.Production of monthly project status reports to document progress
    5. Production of monthly report
    6.Production of a final report
    7.Production of project completion report
    8.Project review (Continuous improvement)
    For check the links:
    http://www.thespot4sap.com/Articles/SAPImplementationRisks_12.asp
    http://iris.tennessee.edu/Blueprint/Project%20Charter.doc
    Regards,
    Biju K

  • Global template and rollouts vs. Solution Directory

    Hello,
    I would like to know what is the best way to maintain the global template and the related rollouts documentation.
    I know the functionality of Solution Directory, ie. it should be the primary place to maintain a solution in production, changes should be done using maintenance project, checking out scenarios etc. However, my customer is running into a couple of challenges. The current situation is as follows:
    - The global template phase I has been finished (containing financial template).
    - The global template phase II development is starting (containing logistics template).
    - The phase I template has been rolled out to five countries which all are in production.
    - The phase I template will continue with new rollouts coming.
    - All the country-specific rollouts are actually in one physical SAP system so there is only one system to be maintained.
    I see it somehow impossible to try to maintain the template + rollout documentation in one single solution in Solution Directory. There is only one Documentation tab in the solution and if we put all the country-specific documentation there it is a mess. Furthermore, all the rollout projects are separate, it would be difficult to manager rollout projects with one maintenance project. Not to add the fact the compare and adjust functionality applies only to template projects not solution.
    I have the feeling that we would need continue maintaining the global template and rollout projects in SolMan Implementantion projects (template + rollout projects, template versions, compare and adjustment etc.). Only if I want to start process monitoring I would use solution but otherwise it cannot be very much utilized at the moment.
    Any comments? Have I missed something here now? I would appreciate any practical experiences about this.
    Br,
    Timo

    Hi Timo -
    The situation you are experiencing is similar to what I have seen.  And that is...ensuring Solution Directory is the "Single source of the Truth".  It is almost impossible when you have two parallel activities going on between 1) SAP implementation projects and 2) SAP maintainence/sustain activities in production.
    Solution Manager seems to be a great tool for companies that are in a sustain mode, resolving issues when found in production.  We recently decided to change our approach from SAP's recommended and best practice of using the Solution Directory connected to a Maintainence project and implementation projects being seperate rollout initiatives managed seperately.  Instead, we have changed our "Solution Manager Landscape" to encompass all activites into a 1 template project.  We now don't plan on going back to the SAP best practice of Solution Manager until we are completely done implementing SAP and we have identified what our true business processes are.  For example: creating the Business Process Hierarchy.

  • Workflow Agent Listener Service - Performance tuning for high volume

    We have AR and Collection which initiate thousands of workflows. We also have various other workflows that run parallell activities. We have workflow backgrond engine schedule as Y,N,N for each of the item types.
    It takes many hours for the workflows to progress. In some cases the background engine stays running on the current manager for hours when it reaches flow steps that take longer. It looks like the Workflow Agent Listener Service processes a single flow at one time which is killing us when longer running processes are running. We run 1 Workflow Agent Listener Service with 30 threads assuming it would pick up and process 30 items. It is very hard to tell if we have improvement.
    Does anyone have any information on the following-
    1) is it better to have more than 1 Workflow Agent Listener Service or is 1 sufficient?
    2) is there a benefit to having multiple threads?

    Please mention the details of the application release, database version and OS.
    Can you find any errors in the workflow/database log files?
    Any locks in the database?
    Please see these doc.
    Troubleshooting WF_DEFERRED Agent Listeners Performance [ID 468650.1]
    Autoadjustment Business Events Blocking Wf_deferred Queue [ID 1120818.1]
    Performance Caused By Lock On WF_EVENT.LISTEN [ID 579471.1]
    Thanks,
    Hussein

Maybe you are looking for

  • Loading into Windows 7 (Boot Camp) takes really long.

    Hello, I recently installed Windows 7 Ultimate on my MBP Early '11 and thought everything went well, but after a restart I noticed it's not. When I try to start up a black screen shows up and the _ symbol blinks for about 2 minutes until Windows 7 fi

  • File to bank correctly generated but not downloaded

    Hi everyone! I am a beginner SAP analyst. I have searched for related information but everything did not helped me. I hope I have been enough clear to describe my problem: I need to download payment medium (text file to my PC) at DME Administration,

  • I restored my iphone 4 a few months ago

    i restored my iphone 4 a few months ago and my music got deleted but when i go on itunes it has a cloud in the top corner of the albums that i have does this mean i can get my music back and dont have to pay for them again

  • Return 0 for months with title which doesn't contain any transaction

    SELECT decode(c.ORGANIZATION_CODE,'MP','Main Plant','MP2','Sub Plant','NA') Organization,a.ORGANIZATION_ID ,A.INVENTORY_ITEM_ID,b.DESCRIPTION, TO_CHAR(A.TRANSACTION_DATE,'MON') MONTHH,ROUND(ABS(SUM(A.TRANSACTION_QUANTITY)),2) TRAN_QTY FROM MTL_MATERI

  • Has anyone configured NT realm in 8.1?

    Hi there, Our client currently using Windows NT Server, would like to see if use the NT realm for WebLogic Server 8.1 and then further for WebLogic Portal 8.1. I have gone through the steps in http://edocs.bea.com/wls/docs81/ConsoleHelp/security_6x.h