AnsweredAssumed Answered

Upstream loop

Question asked by puvan on Jan 17, 2014
Latest reply on Jan 17, 2014 by martin.grofcik

I have a requirement to implement upstream loop in the activiti. I have tried as below steps

start -> service task 1 -> service task 2 -> exclusive gateway ->
       if (true) go to  service task 3 -> end
       if (false) go to service task 1

Here is the result, I am getting
In if(true) case, it run successfully
but, if (false) case, I am getting following exception
Exception in thread "main" org.activiti.engine.ActivitiException: No outgoing sequence flow of the exclusive gateway 'exclusiveGw' could be selected for continuing the process

Can you please help me to fix the issue.