Inclusive gateway is not working in one of the scenario - critical issue

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2014 12:45 AM
This is how I am trying to use Inclusive Gateway in my requirement.
In my process, had one human activity followed by two parallel human activities. Each parallel human activity attached with boundary signal event. These boundary signal events are further connected to Inclusive gateway and Inclusive gateway is connected to the first human activity. This modelling is purely related to my customer requirement. Enabled Cancel Activity - true on both the boundary signal events.
If the boundary signal event is triggered through rest signal api, active tasks of 2 parallel human activities should be cancelled, execution flow of two boundary signal event should be converged at Inclusive gateway and proceed to the first human activity, this should create only one task for the first human activity.
The problem here, Inclusive gateway is not converging the flow at it's gateway, this is leading to creation of two tasks for the first human activity because of two execution flows of boundary signal events.
In my process, had one human activity followed by two parallel human activities. Each parallel human activity attached with boundary signal event. These boundary signal events are further connected to Inclusive gateway and Inclusive gateway is connected to the first human activity. This modelling is purely related to my customer requirement. Enabled Cancel Activity - true on both the boundary signal events.
If the boundary signal event is triggered through rest signal api, active tasks of 2 parallel human activities should be cancelled, execution flow of two boundary signal event should be converged at Inclusive gateway and proceed to the first human activity, this should create only one task for the first human activity.
The problem here, Inclusive gateway is not converging the flow at it's gateway, this is leading to creation of two tasks for the first human activity because of two execution flows of boundary signal events.
Labels:
- Labels:
-
Archive
6 REPLIES 6

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2014 03:48 AM
Any idea from Activiti folks please ??
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2014 04:25 AM
Can you create jUnit test for it please?
Regards
Martin
Regards
Martin

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-10-2014 03:16 AM
I am not using eclipse plug in to create a Junit test case as I use modeler for process modelling. Here attached the sample process which can be used to re produce the issue.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-15-2014 06:14 AM
Hi Martin,
Any update on this post. Please see below my elaboration on the attached process.
In the attached process, Task for Par 1 and Par 2 will be created after completing Task of Activity Task 1. Now run the rest api to trigger the signal event as below.
http://localhost:8080/activiti-rest/service/process-instance/processid/event/cam000
Since Cancel Activity property is enabled on each Par 1 and Par 2, tasks of Par 1 and Par is cancelled and flow reaches Activity Task 1, This flow should create only one task for Task 1 since Inclusive Gateway. But two tasks being created for Task 1.
Any update on this post. Please see below my elaboration on the attached process.
In the attached process, Task for Par 1 and Par 2 will be created after completing Task of Activity Task 1. Now run the rest api to trigger the signal event as below.
http://localhost:8080/activiti-rest/service/process-instance/processid/event/cam000
Since Cancel Activity property is enabled on each Par 1 and Par 2, tasks of Par 1 and Par is cancelled and flow reaches Activity Task 1, This flow should create only one task for Task 1 since Inclusive Gateway. But two tasks being created for Task 1.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-17-2014 03:36 AM
Any update from Activiti folks on this thread. Thanks for your response.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2014 02:23 AM
You attachment was removed
Could you create jUnit test?
http://forums.activiti.org/content/sticky-how-write-unit-test
Regards
Martin
This attachment was removed because it contains data that could pose a security risk.
Could you create jUnit test?
http://forums.activiti.org/content/sticky-how-write-unit-test
Regards
Martin
