AnsweredAssumed Answered

signalEventReceived & local variables

Question asked by fritz128 on Sep 5, 2013
Latest reply on Sep 17, 2013 by trademak
I launch many subrocess by command:

for (int i = 0; i < count; i++) {
  signalEventReceived(signalName, executionId, subprocessVars);
}

I can't use multi-instance because I doesn't know the amount of subprocesses and I have to launch new subprocess on user request.

Problem:
Each subprocess contains the same set of variables, so they should be overriden by siblings subprocesses.
signalEventReceived(signalName, executionId, subprocessVars) writes to the global process context.
Question:

How to write local subprocess variables on subprocess start? Something like setVariableLocal.

Outcomes