Hide Forgot
Description of problem: When executing a process with embedded subprocess, that changes its variable, the change is not reported to added listeners. Version-Release number of selected component (if applicable): BRMS-5.3.0-ER3 How reproducible: Every time Steps to Reproduce: 1. execute SimpleBPMNProcessTest in jbpm-bpmn2 module 2. search for testSubProcess Actual results: RUNNING: testSubProcess x = null x = Hello Goodbye World Expected results: RUNNING: testSubProcess x = null "toString of ProcessVariableChangedEvent from beforeVariableChanged()" "toString of ProcessVariableChangedEvent from afterVariableChanged()" x = Hello Goodbye World Additional info:
Events are generated properly but they are not printed out by default since they use logger and its debug level, which is disable. Can be enabled in src/test/resources/log4j.xml. When enabled exected events are printed out.
Tomáš, is this still valid? If not, please close.
It seems that the problem was somewhere else. We check changed variables by variable ID, but the ID of variable inside the subprocess is not '<variable_name>', but rather '<subprocess_node_id>:<variable_name>'. Could you please document that? So the users know what to expect.
I'll add a note and let you know when it has been updated.
The fixed for this issue should be included in ER7. Please do verification on it.
This is already included in documentation.
Closing as status already set to verified.