JBoss BPM Suite 6 で Remote API を使用して jbpm プロセス変数をアップデートする
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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
