Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-2992

execute multiple statements with variable passing in script tag

XMLWordPrintable

    • Low

      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.

              Unassigned Unassigned
              lakemove_jira Jay Liu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified