[jBPM Users] - event type="task-assign" doesn't fire
by aroeder
I'm using jBPM 3.2.2 and my task node looks like that:
| <task-node name="INDEX_DATA">
| <task name="enterIndexData" swimlane="INDIZIERUNG">
| <controller>
| <variable access="read,write,required" name="title"> </variable>
| <variable access="read,write" name="agentNumber"></variable>
| <variable access="read,write,required" name="type"></variable>
| </controller>
| <event type="task-assign">
| <action name="de.firstdata.jbpm.action.LogTimesAction"/>
| </event>
| </task>
| <transition to="process_end" name="next"></transition>
| </task-node>
|
But the event type="task-assign" never gets fired, when I assign an actor by:
| TaskInstance task = ctx.getTaskInstance(pTaskInstanceId);
| task.start(actorID);
|
What am I doing wrong?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251066#4251066
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251066
16 years, 7 months
[jBPM Users] - JBPM Java Task return value
by jbpmjboss11
Hi I am trying to run a Java task with return var as a part of my JBPM flow. I could successfully pass input arguments to the class mentioned in Java task but while getting value back from the Java task it throws exception saying ...
java.lang.NullPointerException
at org.jbpm.pvm.internal.cmd.GetExecutionVariablesCmd.execute(GetExecutionVariablesCmd.java:60)
at org.jbpm.pvm.internal.cmd.GetExecutionVariablesCmd.execute(GetExecutionVariablesCmd.java:36)
org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54)
at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.getVariable(ExecutionServiceImpl.java:130)
Please respond if someone has already faced and resolved this issue...
Thanks
Yucon
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251063#4251063
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251063
16 years, 7 months