How to change a jBPM process variable value in a Script Task without using kcontext

Solution Verified - Updated -

Issue

  • Given an application requirement which it must be designed to be workflow engine agnostic. Some Script Tasks is required the ability to set the value of process variables however the use of the implicit variable kcontext is jbpm-specific, so it can not be used. How to change a value for a process variable without using kcontext or another jbpm-specific API?

Environment

  • JBoss Enterprise Business Rules Management System Platform (BRMS)
    • 5.3.1

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