Question

multi instance subprocess return value

Hi, 

Is there a way to get a return value from a multi instance sub process? 
E.g. I want the subprocess to return a true or false. 
If any iteration returns false I want the process to go one way, and if all return true - the other way. 
Or return a number which I can add later on in the process, so I get a sum of all the return values of each iteration? 

Like 0

Like

1 comments
Best reply

Greetings!
 

Unfortunately, it wasn’t straightforward to implement your idea, but I’ve added examples. In the subprocess schema, add a logical parameter and set its value according to the logic. In the external process, use a script task element. I hope this helps you.



Regards, 
Orkhan
 

Greetings!
 

Unfortunately, it wasn’t straightforward to implement your idea, but I’ve added examples. In the subprocess schema, add a logical parameter and set its value according to the logic. In the external process, use a script task element. I hope this helps you.



Regards, 
Orkhan
 

Show all comments