1 Reply Latest reply on Apr 23, 2006 4:05 AM by kukeltje

    Synchronization of subprocesses

    ilya_klyuchnikov

      Hi all

      I am developing some service using jBPM.

      There are many suprocesses (inside process-state nodes) that run simultaneousely. I need some variables shared between ALL subprocess - for example totalAmount. The thing is that any subprocess can change values of this variables and the behaviours of ALL subprocess depend on values of these variables. Also I need a persistence of these variables.

      I can't use context of parent process via variable element inside process-state because variable of parent context will not be updated till the subprocess finishes.

      Any possible solutions?

      Thanks.