[jboss-user] [jBPM] - Re: Why is ProcessInstanceInfo emptied after process ends?

Franck cdsosi do-not-reply at jboss.com
Wed Jan 2 12:38:24 EST 2013


Franck cdsosi [https://community.jboss.org/people/cdsosi] created the discussion

"Re: Why is ProcessInstanceInfo emptied after process ends?"

To view the discussion, visit: https://community.jboss.org/message/787112#787112

--------------------------------------------------------------
This is strange, I have just made a small test with "Evaluation" process bundled with jBPM, here are the results with only the 1st step of the process (start process and input values in the form).
>>
select * from processinstancelog;
 id |        end_date         | outcome | parentprocessinstanceid |       processid       | processinstanceid |       start_date        | status
----+-------------------------+---------+-------------------------+-----------------------+-------------------+-------------------------+--------
  1 | 2013-01-02 16:53:00.519 |         |                      -1 | com.sample.evaluation |                 1 | 2013-01-02 16:21:53.245 |      2
  2 |                         |         |                      -1 | com.sample.evaluation |                 2 | 2013-01-02 18:20:37.303 |      0

 select * from processinstanceinfo;
 instanceid | id |  lastmodificationdate   |      lastreaddate       |       processid       | processinstancebytearray |        startdate        | state | optlock
------------+----+-------------------------+-------------------------+-----------------------+--------------------------+-------------------------+-------+---------
          2 |  2 | 2013-01-02 18:20:37.352 | 2013-01-02 18:20:39.155 | com.sample.evaluation |                  1067759 | 2013-01-02 18:20:37.299 |     1 |       3

>>

To have better visualization paste text between >> in a text editor. As you can see instance id number 2 has no end date in ProcessInstanceLog.

I have no idea why your ProcessInstanceLog table is always empty...

Franck
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/787112#787112]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130102/5b5c908c/attachment-0001.html 


More information about the jboss-user mailing list