cancel
Showing results for 
Search instead for 
Did you mean: 

Resurrect process or task

cbs-michaelyu
Champ in-the-making
Champ in-the-making
Is in BPMN specification or Activiti implementation that a completed process or task can be restarted.
I think, manually changing the DB tables might be possible. For example, change the "END_TIME_"  column back to NULL, however, there are many tables and columns involved and it is very dangerous practice. I am also not sure whether restarting a completed process or task is against BPMN specification.
For example, we are trying to use Activiti to build up a ticketing system for development team. Once a bug ticket is closed, we might need to reopen it. That's why we come up with this reviving process or task idea.
2 REPLIES 2

frederikherema1
Star Contributor
Star Contributor
Reviving processes or task is not possible, the engine doesn't allow this. You can always "model" this into your process, NOT ending the process at all and having eg. a receive-task to trigger a "reopen" of the issue.

In your filters (task/processinstance) you take into account the opened/closed state, using eg. a variable

Hi Frederik,

I have a similar kind of issue. In our process we have two human tasks A and B...When Task A completes Task B will be created. If Task B is approved Flow ends, where as if Task B is rejected We will re-open the Task A.

In the case of re-opening the Task A , Engine by default creates a new task id in act_ru_task table , is there any possibility to re-open a previous completed Task A instance rather than creating a new task when the flow comes back to Task A again(Second time due to Rejection from Task B)

Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.