How to update jbpm process variable when using Remote API in JBoss BPM Suite 6?
Issue
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?
Environment
- Red Hat JBoss BPM Suite(BPM Suite)
- 6.0.x
- 6.1.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.