Parallel gateway executes mores executions then it should
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2012 09:57 AM
Hi,
we use parallel gateway to split a process into two parallel executions and then join them like this:
[img]http://unknown.cz/actis/parGWProblem.jpg[/img]
We implemented our own BpmnParseListener and added a start and end listeners to all activities.
These listeners log all events like this:
This problem started to occur “just like that”. Without us changing a single line of code.
We use Activiti engine 5.8 and all processes are created in designer 5.8.
Is there any other info you need me to provide?
we use parallel gateway to split a process into two parallel executions and then join them like this:
[img]http://unknown.cz/actis/parGWProblem.jpg[/img]
We implemented our own BpmnParseListener and added a start and end listeners to all activities.
These listeners log all events like this:
Activity start: vyhodnoceniTemplate (execId=102533; procId=102533; type=serviceTask)
Problem is that with above scenario the parallelGateway1 executes three executions:Activity start: parallelgateway1 (execId=102533; procId=102533; type=parallelGateway)Activity end: parallelgateway1 (execId=102554)..execution of other tasks..Activity end: parallelgateway1 (execId=102555)..execution of other tasks..Activity end: parallelgateway1 (execId=102556)Activity start: exclusivegateway27 (execId=102556; procId=102533; type=exclusiveGateway)
Strange thing is that the third execution jumps immediately to exclusivegateway27 which the one after callActivity1. This problem started to occur “just like that”. Without us changing a single line of code.
We use Activiti engine 5.8 and all processes are created in designer 5.8.
Is there any other info you need me to provide?
Labels:
- Labels:
-
Archive
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2012 10:54 AM
Hi,
It's very difficult to respond to this without the full process definition.
But what I see from the attached images is that you only have one incoming sequence flow in the 2nd parallel gateway. Then that gateway just executes, because only one sequence flow is incoming.
Best regards,
It's very difficult to respond to this without the full process definition.
But what I see from the attached images is that you only have one incoming sequence flow in the 2nd parallel gateway. Then that gateway just executes, because only one sequence flow is incoming.
Best regards,
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2012 04:57 PM
The second parallel gateway has two incoming sequence flows but the other one is hidden behind the red line. I'll try to provide you with the whole process definition.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2012 10:04 AM
The issue disappeared after restarting the whole server. Do you still need me to provide the whole process definition? Because it seems to me that it wasn't problem of that process.
