AnsweredAssumed Answered

Dynamically control the flow

Question asked by prasanna_bits on Dec 14, 2011
Latest reply on Jan 9, 2012 by ronald.van.kuijk
Hi,

We in Cisco have a use-case where we need to add implicit links from every task to an initial custom task.
When user decides, use case requires that the current active instance's state is now reset to force a particular task being active and the follow up tasks remain not executed.

start–>task1–>task2–>task3–>task4–>task5–>end

instance1 - task3 is active and when the user interrupts, the control now goes to task2 and makes task2 active and task3 execution details are removed on the same instance1 and for *tracking* reason we do not want to destroy instance1 and create a new instance.
We do not want the backarrows from every task (task3, task4) into task2, this needs to be implicit.

0. Does this even makes sense to achieve in Workflow engines, specifically in activiti?
1. What is the best way to do such a scenario in Activiti?
2. Could you point to some Engine APIs which can help in getting this done?

Thanks a lot for your time
Prasanna Rajaperumal

Outcomes