[jboss-user] [jBPM] - Getting state of a process instance after it has completed

Affan Dar do-not-reply at jboss.com
Fri Mar 16 22:13:57 EDT 2012


Affan Dar [https://community.jboss.org/people/affandar] created the discussion

"Getting state of a process instance after it has completed"

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

--------------------------------------------------------------
I want to get the state of a process instance after it has completed. I.e., did it end up being ProcessInstance.STATE_ABORTED or STATE_COMPLETED?

Problem is that the state is not logged in the ProcessInstanceLog table and the entry for the instance has been removed from the ProcessInstanceInfo table when the process completes.

What is the recommended way of getting this info? 

I can probably subscribe to events from the engine that will notify me when a process has completed so I could persist this info myself but seems like this info should already be available somewhere out-of-the-box.

Thanks
--------------------------------------------------------------

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

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/20120316/f0afba09/attachment.html 


More information about the jboss-user mailing list