AnsweredAssumed Answered

parallel level reject issue

Question asked by prashant1 on Sep 28, 2012
Latest reply on Sep 28, 2012 by frederikheremans1
Hi

I'm very new to this acitiviti.I done one parallel app-rover work flow .When i raised task the first level four task is creating if any one app rover rejects ,the complete task has to be closed .But now only one task is closing.I have attached diagram what i made.
This is my code
if (ecn.getEcnStatus().equals("Approved"))  
         {
            runtimeService.setVariable(assignedTask.getExecutionId(), "status", "accept");   
         }
         else
            runtimeService.setVariable(assignedTask.getExecutionId(), "status", "reject"); 
      
            taskService.complete(assignedTask.getId());


Thanks in Advance

Outcomes