How to update jbpm process variable when using Remote API in JBoss BPM Suite 6?

Solution Verified - Updated -


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)
    • 6.0.x
    • 6.1.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content