Bug 807640

Summary: Conditional sequence flow is not supported by jBPM engine
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Radovan Synek <rsynek>
Component: jBPM 5Assignee: Kris Verlaenen <kverlaen>
Status: ASSIGNED --- QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GACC: jlocker
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
In the BPMN 2.0 specification, conditional flow can be used without gateways. The JBoss Enterprise BRMS Process Designer supports this feature; however, knowledge bases will not build when processes include conditional flow in the process definition without using gateways.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Radovan Synek 2012-03-28 11:51:26 UTC
Conditional flow can be used without gateways (multiple outgoing connections from activity node, each with it's condition) by BPMN2 specification.

Guvnor BPMN designer supports this feature, but when you try to build knowledge base with this process definition, you get Exception - "This type of node cannot have more than one outgoing connection!" 

See commit: https://github.com/rsynek/jbpm/commit/5a1303fadabca1fb89da29d68dbe7d2b6d8e986d

in this pull request: https://github.com/droolsjbpm/jbpm/pull/56

Comment 1 lcarlon 2012-05-31 00:09:25 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
In the BPMN 2.0 specification conditional flow can be used without gateways, the BRMS process designer supports this feature, however, knowledge bases will not build when processes include conditional flow in the process definition without using gateways.

Comment 2 Maciej Swiderski 2012-06-14 11:30:05 UTC
This was implemented on master (5.4.0-SNAPSHOT):
https://github.com/droolsjbpm/jbpm/commit/e19270b87d0faa7d1e5931a5cb674aa47f14d541
https://github.com/droolsjbpm/jbpm/commit/8f0c9db262ae5611d16159454d43cd091c668f0e

As recommendation is to use gateways this feature is by default disabled and can be enabled by configuring system property: -Djbpm.enable.multi.con=true