-
1. Re: Reopen ended process and copy of a process
calca Oct 7, 2011 3:09 PM (in response to diduch)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?
Demian
-
2. Re: Reopen ended process and copy of a process
diduch Oct 10, 2011 10:32 AM (in response to calca)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.
-
3. Re: Reopen ended process and copy of a process
salaboy21 Oct 12, 2011 8:46 AM (in response to diduch)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.
-
4. Re: Reopen ended process and copy of a process
diduch Oct 12, 2011 10:28 AM (in response to salaboy21)Thanks..
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....
-
5. Re: Reopen ended process and copy of a process
salaboy21 Oct 12, 2011 10:50 AM (in response to diduch)Diduch,
I didn't suggest to create a similar process. What you can do is just create another process that uses the business information and allow an user to correct some bits, but In no way I was suggesting to create another duplicated process definition from your original one.
Cheers