Translated message

A translation of this page exists in English.

JBoss BPM Suite 6 で Remote API を使用して jbpm プロセス変数をアップデートする

Solution Verified - Updated -

Issue

JBPM 3 では、以下のコード抜粋を使用して、jbpm_variableinstance テーブル値の列をアップデートします。

    jbpmConfiguration = JbpmConfiguration.getInstance();
    jbpmContext = jbpmConfiguration.createJbpmContext();
    processInstance = jbpmContext.getProcessInstance(process.getProcessId());
    contextInstance = processInstance.getContextInstance();
    contextInstance.setVariable(strkey, strValue);

JBPM 6.0.x に移行した後、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.

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