Workflow Soluiton

 View Only
  • 1.  Simultaneous DS Tasks

    Posted Apr 24, 2017 09:56 AM

    I have workflow that takes a user uploaded Excel file, then using a for each loop sends computer names from the file to a model that runs a series of DS tasks. All of this works correctly, but the loop waits for the current computer to finish before it sends the next. Is there a way to continue to iterate through the loop and send computers through the model. I tried switching the workflow to asynch, but that did not do what I expected. All of the computer must move through independently.

     

    model.JPG



  • 2.  RE: Simultaneous DS Tasks

    Posted Apr 25, 2017 03:42 AM

    Create a new model, as a Service, and call that model in the for each instead of using an embedded model.

     



  • 3.  RE: Simultaneous DS Tasks

    Posted Apr 27, 2017 09:29 AM

    I created a new model as a service and tried calling it with both a linked model and a dynamically linked model and get the same results. Is there something else I'm missing?



  • 4.  RE: Simultaneous DS Tasks

    Posted Apr 27, 2017 09:32 AM

    Dnamic.JPG



  • 5.  RE: Simultaneous DS Tasks
    Best Answer

    Posted Apr 27, 2017 09:38 AM

    With the async component, in a Web App Project try

    media_play_green.png



  • 6.  RE: Simultaneous DS Tasks

    Posted Apr 27, 2017 11:43 AM

    That was it. Thanks for helping me jump through the right hoops in the right order.