we want to provide a functionality to our users which results in the need to change a running process programmatically. The goal is to change the process in that way that the flow is set to a special task independent of the currently active task.
Let's take a very simple process definition: start -> usertask1 -> usertask2 -> usertask3 -> usertask4 -> end. Now the user shall be able to use a function for which we have tell the running process instance to continue with usertask2 regardless which usertask is active a this time.
It is theoretically possible, but it is not very easy to do (i would say nearly impossible, and I know the engine through and through).
Most of the times when you are thinking you need to remodel the process at runtime, the solution is either to - remodel the process to something that covers the use case - not use a process, but something else (eg dynamic tasks)