I am using
| <arg><object expr="#{attendeeId}"/></arg>
|
attendeeId is 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 the expression correct?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263395#4263395
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263395
I'm sorry I wasn't clear enough. I'm new to this and couldn't describe it as well as I would have liked to. I solved it though. I'm using 3.x so I couldn't use identity service so I just did this:
| private String getUserEmail(String userid) {
| JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
| JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
| Session hbSession = jbpmContext.getSession();
| Query query = hbSession.createSQLQuery("SELECT EMAIL_ FROM JBPM_ID_USER WHERE NAME_='" + userid + "'");
| String emailAddress = (String) query.list().get(0);
| jbpmContext.close();
| return emailAddress;
| }
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263383#4263383
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263383