Hello all !
when params are saveing when process start is ok, I see in table VariableInstanceLog, example decisionInfoMap, and when I get the variable for example:
StatefulKnowledgeSession ksession = JbpmAPIUtil.getSession();
WorkflowProcessInstance pi = (WorkflowProcessInstance) ksession
.getProcessInstance(pid);
return pi.getVariable(key);
I see that variable,
but when I'm adding other variable for example:
StatefulKnowledgeSession ksession = JbpmAPIUtil.getSession();
WorkflowProcessInstance pi = (WorkflowProcessInstance) ksession
.getProcessInstance(pid);
pi.setVariable(key, value);
nothing is save in VariableInstanceLog table
how to save variables properly ?
second question is how to get process context ?
regars