cancel
Showing results for 
Search instead for 
Did you mean: 

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

penusila611621
Champ in-the-making
Champ in-the-making
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.
6 REPLIES 6

penusila611621
Champ in-the-making
Champ in-the-making
Any idea from Activiti folks please ??

martin_grofcik
Confirmed Champ
Confirmed Champ
Can you create jUnit test for it please?

Regards
Martin

penusila611621
Champ in-the-making
Champ in-the-making
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.

penusila611621
Champ in-the-making
Champ in-the-making
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.

penusila611621
Champ in-the-making
Champ in-the-making
Any update from Activiti folks on this thread. Thanks for your response.

martin_grofcik
Confirmed Champ
Confirmed Champ
You attachment was removed

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
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.