Hi!
This may sound weird.
This is my obesrvation (there may be some reason behind it and I would be glad if someone can tell me that)
In my action handler I am using methods
1.executionContext.getContextInstance().getProcessInstance().getTaskMgmtInstance().getSwimlaneInstance(taskInstance.getSwimlaneInstance().getSwimlane().getName()).getActorId()
2.taskInstance.getName()
3.taskInstance.getSwimlaneInstance().getSwimlane().getName()
4.executionContext.getContextInstance().getProcessInstance()
methods (Just printing these variables)
My Process has 4 step
start--> WE-->PI--> End
Swimlane WE is for user(ernie) and PI if for user(bert)
I am using action handler for WE step. (i.e. printing these variavles here)
When ernie or grover starts the process , I get correct output ;
i.e.
1. ernie
2.taskWE
3.WE
4.org.jbpm.graph.exe.ProcessInstance@173a14c (for e.g.)
But If Cookie Monster or bert start the process, I get output as
1. Cookie Monster (or bert)
2. task (which is a start task)
3. Null ( as there is no swimlane assigned for start task)
4.Exception is :java.lang.NullPointerException
I dont understand why there is a difference in the output of the same program???
I would like to know any inputs in this regard.
B.T.W. 3.0.6 gpd is g8!
It somewhat related to http://jira.jboss.com/jira/browse/JBPM-500
Thanks and Regards,
Hi!
Surprisingly with PostgreSql database I get all the answers correct.
I configured jbpm module to work with PostgreSql.
I am using Aqua datastudio for queries etc.
Thanks!