Hi, when a process is finished, its runtime data is deleted from session. You can use audit data to check information about running/ended processes (http://docs.jboss.org/jbpm/v5.1/userguide/ch07.html#d0e2836), and also query task server (which does not delete completed tasks).
Why would you need to "reopen" a process?
Thanks for your help..
I need to reopen a process, because Sometimes the users can complete a task with wrong information, the users can have a mistakes when they entry data, and for that information the process goes to an end node and the process is finished, but I want to give to the users the choice that they can to reopen a process, if dont exist this option they have to start a new process again.
I think that creating a small process definition to fix badly closed ones could be one option. I mean, if a process ends and some information was entered wrong, you can decide to instantiate a new process (with another definition) to fix that wrong completed task. At least from a business level perspective it makes more sense that reopen a business process.
In that case, I can build another process definition with the same information than the closed process, and change the status of the last task in Reserved, in this way the user can entry the new information and continue with the normally execution since last completed task.
In the wrong information, is for example when the user task form have a Yes or No question, if the users choose Yes option, the process continue but if they choose No option, the process finished. They can have a mistakes when they choose the option, and sometimes the process is too large and they have to start again the complete process....