Hello everybody,
first of all sorry for bothering the dev-list but I've been trying around for some
time now and would like to know if this is possible or not. Actually I just want to do a
very simple thing. I have process variables and I would like to use them as parameter
values when performing java tasks. So I specify the argument of a java task like this:
<arg><object expr="#{attendeeId}" /></arg>
! Supposing attendee is a process variable of type String. !
Caused by: java.lang.Exception: couldn't create argument 0: script evaluation er
ror: javax.el.PropertyNotFoundException: Cannot find property attendeeId
at org.jbpm.pvm.internal.wire.descriptor.ObjectDescriptor.getArgs(Object
Descriptor.java:348)
at org.jbpm.jpdl.internal.activity.JavaActivity.perform(JavaActivity.jav
a:79)
Is this possible? Ronald thought it was. How does JUEL know that attendeeId is of simple
type and that there isn't a getter to be invoked like in the examples given in the
documentation? For #{order.owner} JUEL would inkove order.getOwner() on the bean.
Thanks for your help.
Sebastian
--
Mit freundlichen Grüßen / Best regards / Cordialement
Sebastian Schneider, schneider(a)dvz.fh-aachen.de