Description of problem: When fireUntilHalt is called from KieSession that is obtained from RuntimeEngine, no rules are fired. According to BZ [1], using fireUntilHalt in jBPM engine is not a valid use case, so it should throw UnsupportedOperationException or something similar, so the user is informed, that he should not use it. See [1] for more info. How reproducible: Run test from this paste [2] Additional info: [1] https://bugzilla.redhat.com/show_bug.cgi?id=1218291 [2] http://pastebin.com/t40cS285
it does work ok when using singleton runtime manager only as it does keep the ksession active so it can be used. enabled tests in jbpm-test-coverage that proves it and is same as linked in this bs jbpm master: https://github.com/droolsjbpm/jbpm/commit/ab41cdee03b421d741775c0cdf0f15ca419eab8c 6.3.x: https://github.com/droolsjbpm/jbpm/commit/2dcaf21d724d251e013870bc356eee509ef8c56e
Verified. The test passes. Is this somewhere documented? I think we should document this behavior if we don't have it documented yet (only singleton runtime manager when using fireUntilHalt).