Spring 3 & jBPM 5 & LocalTaskService

帖子地址:https://community.jboss.org/thread/195386

Hi Guys,

I am also struggling in config Spring + Local Human Task.

I am using Spring 3.0, JBPM 5.4.0.Final, Drools 5.5.0.Final

I can config to use JTA and Non-JTA, both can run in Spring container in my test case, but the only issue:

The human task never got insert into database, I can get ProcessInstance and Workitem inserted.
But I never see any “insert into Task”  sql statement in console.

I have debug it, it seems the program run to the em.persist(entity) statement in TaskPersistenceManager and no exception raised but nothing happend on Task entity.

I don’t know why the task not got insert. Does anybody have the same issue?

My Spring Config as below