JBoss Community

Re: Map based persistence doubt

created by Christian Marmolejo in jBPM - View the full discussion

I have realized that method "SimpleProcessStorage.saveOrUpdate(ProcessInstanceInfo processInstanceInfo)" is never called after signaling any event (it is only called once after process start). This way, the storage cannot update and store the current state of the process after receiving the signal. If method "SimpleProcessStorage.findProcessInstanceInfo(Long processInstanceId)" is called after first signal (for example before second signal), it returns an old state of process which is still waiting for first signal.

 

Am I missing something? Is it really a bug?

 

Cheers

Reply to this message by going to Community

Start a new discussion in jBPM at Community