In JBPM 3, the following code snippets are used to update the jbpm_variableinstance table's value column
jbpmConfiguration = JbpmConfiguration.getInstance(); jbpmContext = jbpmConfiguration.createJbpmContext(); processInstance = jbpmContext.getProcessInstance(process.getProcessId()); contextInstance = processInstance.getContextInstance(); contextInstance.setVariable(strkey, strValue);
After moving to JBPM 6.0.x, how to update a process's variable using Remote API?
- Red Hat JBoss BPM Suite(BPM Suite)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.