| Summary: | Signal event node is not triggered unless it has incomming connection | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | Tomas Schlosser <tschloss> |
| Component: | jBPM 5 | Assignee: | Kris Verlaenen <kverlaen> |
| Status: | VERIFIED --- | QA Contact: | Radovan Synek <rsynek> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | BRMS 5.3.0.GA | CC: | lpetrovi |
| Target Milestone: | ER6 | ||
| Target Release: | BRMS 5.3.0.GA | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Tomas Schlosser
2011-10-27 11:21:27 UTC
I'm not sure this is a real issue, but rather a discussion about what it means to trigger a node. There are currently two types of node events, triggering (entering) a node and leaving a node. In the current implementation, catching intermediate events are not generating trigger events (they are only generating left events, as they are not really triggered, rather activated from outside). Similarly, throwing intermediate events are not generating left events (they are only generating triggered events, as they are not really left, as they have no outgoing connection). It would be possible to also generate both of these events for intermediate events, but since intermediate events don't have any real behaviour themselves, I'm not sure it would be useful to do so. Could we decide whether this is actually on issue or not and if not, close the issue? I would recommend that the current implementation is what we believe should be the expected behaviour. If the user want to get an event when a signal node is triggered by an external event, he can use the nodeLeftEvent for that. Thank you Kris for clarification. It sounds logical as you described. However, could it be added to documentation? Some generic information like "nodes without incoming connection do not generate NodeTriggeredEvent and nodes without outgoing connection do not generate NodeLeftEvent". Updated in community docs: https://github.com/droolsjbpm/jbpm/commit/89bca815b8efc026dae51cd52afc0077a4f0eb71 Update status to ON_QA. Please verify them against ER6. |