Groovy - Issue passing variable between templates within the same job
Hello
I have Issue passing variable between templates within the same job.
In GroovyValidationReport I got error:
The Groovy script failed to compile with internal error: Compile Error:No such property: strCalcScenario for class: groovy.lang.Binding
As a background
- I have main script rule Dataform_processing which is run after user save custom form in Planning.
Within this script we call first template which is called G_Declarations.
// Creates lists and strings of edited members for calculation
%Template(name:="G_Declarations",application:="MGMT",plantype:="INPUT",dtps:=())
2. In G_Declarations template we define all different variables (let's look only on this one from error, variables called strCalcScenario but we have the same error for other too)
Tagged:
0