loop over multiple process at a time
I am unable to understand how to loop over multiple process at a time?
start-----> process1(returns list)-----> condition<>----->process2----------process4
Used multiInstantiation, to loop only one process(process1)
How to acheive the case, where according to the list returned from process1.. apply condition and do either process2/process3 according to the condition, for every values from the list.
OK this is sort of making sense now...
First these things are NOT processes are they? They are Tasks, aren't they?
Terminology is very important.
From what you are saying...
I have a task 1 that returns a list (multiple values). The list entry is either A or B, there can be no other result.
I want to loop the list and
if 0 then execute tasks 2 and 4
if 1 then execute tasks 3 and 5
I then want to finish.
First - this is two different processes, well sort of, it's one process with two tasks and one SUBprocesses.
Task 1 - get the List
Task 2 - MultiInstan the list and call the subprocess
Gateway - what is my choice
if 0 then tasks 2 and 4
if 1 then tasks 3 and 5
All done please see the sample here...by the way - not tested but I'm sure you'll work it out.
PS: If this reply answers your question, please mark a resolved.
Thank you, but unfortunately, I didn't mentioned about an end for the tasks.
If I follow this way, it has to come back to the first Pool/MasterPool, so that I can process something and show data in form..
Which is best practice: for multiple multi loops...
create more subprocess, and keep the Master only to call the subprocess and end the process?
or is there any other way?...
Sorry Sean for my unclear English,
I am glad that at-least an expert like you are there to guide people like us..
I am trying to make a process, which has all custom connectors, so even I was not clear about how should I get the output, from each connectors.
Once I write a connector, I am able to fix that a loop over the next process is required, or not....
As and when I execute a problem, I post it here, and you give a solution, which I will try, and then move forward to my next step.
I am finding it hard, when a senario like...
have to fetch from databse list of values, then iterate over next couple of tasks(process and gives some data-list)---> then again couple of tasks to be iterated(gives list)--->then reportShould be shown on form, select data from form(table).. redirect to another form(editable), edit and approve(endtask)(approve will change data in DB).
I think this could be the best process flow related comment I can see in the community forum..
Still there are lots of things have to be there to understand in both process as well as Ui..
Thank you Sean, for spending time to provide guidance on this.