Launch multiple child process from parent
Hello AgilePoint!
I am investigating the capability of launching multiple child processes from a single form. Example -
User adds 5 cars to a repeating subform. Once submitted, launch a single subprocess (or if needed another app) for each row in the repeating subform - so a total of 5 forms created.
I have found documentation and understand how to launch one process. Is this something that can be accomplished?
Thank you in advance!
Tim Dempsey
-
Hello Tim,
Yes, you can use Subprocess System Activity to start child processes.
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
-
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
Please sign in to leave a comment.
Comments
4 comments