AnsweredAssumed Answered

Can I change process structure at runtime

Question asked by gpavlov on Feb 16, 2012
Hi Activiti people,

Suppose that I'm running a process instance and in the middle I need to change the remaining process flow, without losing the state so far or going through the same steps I've already been.
For simplicity, let's say there's no parallel flows and the execution token is on a linear execution path at the moment. What is subject to change shall be only the transitions and activities that lie ahead. Let's say that I need to add another activity or split the flow, after the activity that I'm currently in passes the execution token next.
How would you advise to implement that with Activiti (even if it requires some changes in the core classes), and where to start looking first?

Outcomes