0 Replies Latest reply on Mar 16, 2012 10:13 PM by Affan Dar

    Getting state of a process instance after it has completed

    Affan Dar Newbie

      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