use doThreadInvoke in see the API (write java service). Start every threaded service with a same uniqueID and a dedicated uniqueID
–start your main service–
doThreadInvoke serviceX with uniqueID = 657244268878 and threadID =1
doThreadInvoke serviceX with uniqueID = 657244268878 and threadID =2
doThreadInvoke serviceX with uniqueID = 657244268878 and threadID =3
doThreadInvoke serviceX with uniqueID = 657244268878 and threadID =4
–end–
-details of serviceX-
(doStuff)
sleepRandom time
write key (%uniqueID%_ % threadID %) to memory ->see PSUtilities how to that that
check if all the 4 memory keys are available
→ yes: do your evaluation
→ no: stop
This is just a solution. Lot’s of java. You must have a pretty good reason not to use the modeller or the broker.