[jboss-dev-forums] [jBPM Development] - Jbpm 5.4 spring configuration : Human Task is not created
mayank sahai
do-not-reply at jboss.com
Thu Apr 4 03:34:06 EDT 2013
mayank sahai [https://community.jboss.org/people/mesa] created the discussion
"Jbpm 5.4 spring configuration : Human Task is not created"
To view the discussion, visit: https://community.jboss.org/message/806382#806382
--------------------------------------------------------------
hi all ,
i am trying to use jbpm 5.4 with spring. i have created a simple business process definition with one HumanTask and rule Task.
Running UnitTest case (by extending JbpmJUnitTestCase) Process flow works fine and process completes successfully BUT when i use spring configuration to deploy and run Business Process then HumanTask is never created in database , hence querying it using LocalTaskService results in Nothing.
i am using single persistence unit (process+task) and running a localTaskService to assign/complete workitem.
can somone please take a look and help.
There are two zip files :
1) (test-success) that contains persistence.xml used by test case , respective passing junit test case and console logs.
2) (process-spring) that contains spring config file , jbpm utility class (used to create session and taskservice), failing test case(uses this spring config) and console logs.
from two logs i can clearly see that in Testcase (uses spring config) process goes fine and inserts entry in workitemInfo table but the does not create an Entry in Task table.
i checked everything but unable to find a clue.
thanks
Mayank
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/806382#806382]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130404/03c303d8/attachment.html
More information about the jboss-dev-forums
mailing list