parallel level reject issue

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2012 12:43 AM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2012 05:57 AM
Can you add a screenshot of your process in-line?
