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 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.