i'm thinking about a way of storing a global variable in the jbpm database without starting any process so that, whatever the process is, it can get access to this variable.
i'm using jbpm 6.4, and, I got some ideas:
I saw the interface KieContext.getVariable()/setVariable() methods, but i am not able to see any implementation of it.
i want to do something like this:
MyObject variable = someJob();
//store the global variable in the kie context
//retrieve it whenever i want
//starting some process with that variable
Store the variable while constructing the runtimeEnvironment
but dont know how to do it?
Retrieving data ...