[jboss-user] [jBPM] - Problems with usage python language in jpdl.xml

Andrey Chuyko do-not-reply at jboss.com
Tue Mar 30 03:01:36 EDT 2010

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">
   *int xxx = 13 + 54*12
   println "$xxx -HELLO!"*
<transition to="wait" />

Print following result +*661 -HELLO!*+
And how we see  *int xxx = 13 + 54*12 remembered and printed !!!!!!!

But script on python language
yyy = 13 + 54*12
print yyy, "-HELLO!"
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

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100330/354d43e3/attachment.html 

More information about the jboss-user mailing list