]
Kris Verlaenen updated JBPM-2992:
---------------------------------
Fix Version/s: jBPM 4.x
execute multiple statements with variable passing in script tag
---------------------------------------------------------------
Key: JBPM-2992
URL:
https://issues.jboss.org/browse/JBPM-2992
Project: jBPM
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.4
Reporter: Jay Liu
Labels: script
Fix For: jBPM 4.x
Attachments: EnvironmentBindings.java
Original Estimate: 2 hours
Remaining Estimate: 2 hours
due to the EnvironmentBindings.java, it is not possible to execute script like below
(javascript):
var b = "value b";
var c = b;
scriptEngine will report error like
sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "b" is not
defined. (<Unknown source>#4) in <Unknown source> at line number 4
because EnvironmentBindings never accept new variable passed to it.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: