ScriptTaskActivity should support storing script execution result in a process variable with configurable name

Description

The ScriptTaskActivity should not ignore the script execution result, but should store it under a configurable name (e.g. configured via a custom scriptTask attribute "result-var" or "var" in the BPMN process definition) in the process variables. That way, the result of e.g. a JUEL script task can be published back into the process state, whereas now, a JUEL script task cannot modify any state (as EL does not support assignments) and thus, is not useful at the moment.

Assignee

Christian Stettler

Reporter

Christian Stettler

Labels

None

Components

Fix versions

Priority

Major
Configure