Andrey Chuyko [
http://community.jboss.org/people/chuiko.andrew] replied to the discussion
"Problems with usage python language in jpdl.xml"
To view the discussion, visit:
http://community.jboss.org/message/534562#534562
--------------------------------------------------------------
Thahks,
http://community.jboss.org/people/rebody Huisheng Xu for your replay!!!
I have told about locale variable.
So, script on groovy
<script name="invoke script" var="text" lang="*groovy*"
g="113,18,104,52">
<text>
*int xxx = 13 + 54*12
println "$xxx -HELLO!"*
</text>
<transition to="wait" />
</script>
Print following result +*661 -HELLO!*+
And how we see *int xxx = 13 + 54*12 remembered and printed !!!!!!!
*
But script on python language
*<text>
yyy = 13 + 54*12
print yyy, "-HELLO!"
</text>*
throw org.jbpm.api.JbpmException: script evaluation error: javax.script.ScriptException:
groovy.lang.MissingPropertyException: No such property: yyy for class: Script1
It is strange!
Thanrs a lot Andrey.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/534562#534562]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]