Launch multiple child process from parent

Comments

4 comments

  • Avatar
    AgilePoint NX Support

    Hello Tim,

     

    Yes, you can use Subprocess System Activity to start child processes.

    https://documentation.agilepoint.com/00/appbuilder/cloudappExampleSubprocessMilestoneIntroduction.html

     

    From your explanation I understand that the use case is to have child processes for each repeating subform. I think you would need to read about Loop Activity too. This example, is based on SharePoint list item but the concept is same.

    https://documentation.agilepoint.com/00/appbuilder/cloudappExampleSubprocessLoopIntroduction.html 

     

    Thank you 

    AgilePoint NX Support

    1
    Comment actions Permalink
  • Avatar
    Alexey Shmelkin (ABSC.de)

    Hi Tim,

    if you also want to run all this processes asynchronously, then you should also set "wait for complete" for the subprocess activity to false.

    Regards

    Alexey

    1
    Comment actions Permalink
  • Avatar
    Tim Dempsey

    Thank you AgilePoint Support! That link has introduced me to accomplishing this functionality and Alexey that is surely what we needed :). That will save a tremendous amount of tinkering.

    One follow up question - In the example provided, I don't see where the boolean field (LoopAgain) is set to exit the loop. I would think that there would need to be a workflow step to determine if all of the rows have been handled, then set the variable to true. No?

    All the best,

    Tim

    0
    Comment actions Permalink
  • Avatar
    Alexey Shmelkin (ABSC.de)

    Hi Tim,

    Next Loop activity sets variables to current ones and will also set the boolean variable automatically to true, if it was the last one.

    Regards

    Alexey

    0
    Comment actions Permalink

Please sign in to leave a comment.