Boundary Event associated to a User Task is listening for the signal even when the User Task is not active
Issue
- It has been observed that
Boundary Eventassociated to aUser Taskis listening for thesignaleven when theUser Taskis not active. To prove this behavior , attached is a samplejBPM6 Projectwhich can be imported inJBDSor anyEclipsebasedIDEand execute theProcessMain.javaclass to reproduce the problem. Is this expected behaviour? - In short the process which has the following sequence of flows can cause the problem upon receiving the
signal.
Start -> Signal -> XOR gateway (Converging) -> Script Task -> User task
(having a Boundary Event) -> End
User task (having a Boundary Event) -> XOR gateway (Converging) -> Script Task -> User task (having a Boundary Event) -> End
As it can be seen from above flows there are two signal events and they both use the same SignalRef SignalOne , and when the process is instantiated it waits for signal to continue moving forward. Now, the problem is that when the process instance is signalled , it is observed that the script task is executed twice.
Environment
- Red Hat JBoss BPM Suite (BPMS)
- 6.0.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.