Swaminathan Bhaskar [
https://community.jboss.org/people/swaminathan.bhaskar] created the
discussion
"Re: Work Item not persisted"
To view the discussion, visit:
https://community.jboss.org/message/760700#760700
--------------------------------------------------------------
Here is the debug output ... I do see the insert into WorkItemInfo but nothing in the
database table while I see a record for ProcessInstanceInfo and SessionInfo
Any thoughts ?
-----> Session ID: 2
Hibernate: insert into ProcessInstanceInfo (OPTLOCK, processId, startDate, lastReadDate,
lastModificationDate, state,
processInstanceByteArray) values (?, ?, ?, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?,
OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update ProcessInstanceInfo set OPTLOCK=?, processId=?, startDate=?,
lastReadDate=?, lastModificationDate=?,
state=?, processInstanceByteArray=? where InstanceId=? and OPTLOCK=?
-----> Starting new Business process com.bac.jbpm5Samples.sample07 <ID:2>
Hibernate: select processins0_.InstanceId as InstanceId0_0_, processins0_.OPTLOCK as
OPTLOCK0_0_, processins0_.processId
as processId0_0_, processins0_.startDate as startDate0_0_, processins0_.lastReadDate as
lastRead5_0_0_,
processins0_.lastModificationDate as lastModi6_0_0_, processins0_.state as state0_0_,
processins0_.processInstanceByteArray
as processI8_0_0_ from ProcessInstanceInfo processins0_ where processins0_.InstanceId=?
Hibernate: insert into ProcessInstanceLog (end_date, processId, processInstanceId,
start_date) values (?, ?, ?, ?)
Hibernate: insert into NodeInstanceLog (log_date, nodeId, nodeInstanceId, nodeName,
processId, processInstanceId, type) values (?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into NodeInstanceLog (log_date, nodeId, nodeInstanceId, nodeName,
processId, processInstanceId, type) values (?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into NodeInstanceLog (log_date, nodeId, nodeInstanceId, nodeName,
processId, processInstanceId, type) values (?, ?, ?, ?, ?, ?, ?)
*Hibernate: insert into WorkItemInfo (creationDate, name, processInstanceId, state,
OPTLOCK, workItemByteArray) values (?, ?, ?, ?, ?, ?)*
-----> Waiting in custom work item custom_work_item <ID:2> for 60 secs
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/760700#760700]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]