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&...]