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