Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.