Hello everyone.
We’re facing a problem with reading process variables from oustide running process. From what i’ve seen
calling runtimeService.getVariable(processId, variableName)) causes increment in a version column on the process/variable, which causes database flush after transaction ends. Meanwhile a process that is running is accessing variables in it’s steps and flushes data to database as well.
Is there a way to read process variable from outside process without incremeting version and causing OptimisticLockException?
Thanks in advance for all the answers.