AnsweredAssumed Answered

Changing control flow during execution

Question asked by ajeje93 on Jan 31, 2017
Latest reply on Feb 25, 2017 by ajeje93

I would like to know if it is possible to change the control flow of a process during execution.

For example in the following process:example

It is possible to jump form "Service Task 2" directly to "User Task 4" or maybe going back to "User Task 1"?

I read in documentation about ActivityBehavior class that can be invoked from a Java Service Task and there is stated that there is the possibility to change control flow of the process, but how can I do that?

I didn't find anything about how that can be done and I am also wondering if it is possible doing such a thing only from a Java Service Task or there is the possibility (always using the example) to go, for example, from "User Task 1" directly to "User Task 4" and then maybe going back to "Service Task 2" (?).

So my question is more in general: is there the possibility to change control flow in some way with Activiti?

I thank in advance everyone that will answer to my question.

Outcomes