cancel
Showing results for 
Search instead for 
Did you mean: 

parallel level reject issue

prashant1
Champ in-the-making
Champ in-the-making
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
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
Can you add a screenshot of your process in-line?