Bug 814700 - JBPM engine does not support converging OR gateway
Summary: JBPM engine does not support converging OR gateway
Keywords:
Status: NEW
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: jBPM 5
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Kris Verlaenen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-20 13:12 UTC by Radovan Synek
Modified: 2024-03-01 02:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Converging OR gateways are not supported in JBoss BRMS 5.3.1.
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
process definition (6.23 KB, application/octet-stream)
2012-04-20 13:12 UTC, Radovan Synek
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBPM-3344 0 Major Resolved Inclusive OR gateway is not supported in converging mode 2017-03-21 15:45:03 UTC

Description Radovan Synek 2012-04-20 13:12:30 UTC
Created attachment 579001 [details]
process definition

I believe this issue is already known, so just for evidence (I was not able to find it in bugzilla).

OR (Inclusive) gateway is supported only as diverging. When you add converging OR gateway to your process definition, Parse Exception occurs saying that this type of gateway is not supported:

java.lang.IllegalArgumentException: Unknown gateway direction: Converging
	at org.jbpm.bpmn2.xml.InclusiveGatewayHandler.createNode(InclusiveGatewayHandler.java:34)
	at org.jbpm.bpmn2.xml.AbstractNodeHandler.start(AbstractNodeHandler.java:73)
	at org.drools.xml.ExtensibleXmlParser.startElement(ExtensibleXmlParser.java:385)


See an attachment for the process definition example.

Comment 1 Kris Verlaenen 2012-04-20 13:27:37 UTC
This is indeed not yet supported.

Comment 3 lcarlon 2012-06-08 00:33:39 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:
Converging OR gateways are not supported in JBoss BRMS 5.3.

Comment 4 JBoss JIRA Server 2012-11-28 10:23:49 UTC
Maciej Swiderski <swiderski.maciej> updated the status of jira JBPM-3344 to Resolved

Comment 5 JBoss JIRA Server 2012-11-28 10:23:49 UTC
Maciej Swiderski <swiderski.maciej> made a comment on jira JBPM-3344

OR converging gateway support added

Comment 6 JBoss JIRA Server 2013-06-07 19:06:15 UTC
Marcos Dutto <mdutto.gecos> made a comment on jira JBPM-3344

The solution is not working properly for this example. All task are WorkItems and "Script" is complete by an external user.
The problem is that there are cycles and your solution doesn't take it in consideration.

Comment 7 JBoss JIRA Server 2013-06-08 07:13:02 UTC
Maciej Swiderski <swiderski.maciej> made a comment on jira JBPM-3344

Could you upload bpmn2 file as looking at the image itself does not provide enough details?

Comment 8 JBoss JIRA Server 2013-06-08 07:13:04 UTC
Maciej Swiderski <swiderski.maciej> made a comment on jira JBPM-3344

Could you upload bpmn2 file as looking at the image itself does not provide enough details?

Comment 9 JBoss JIRA Server 2013-06-10 11:58:45 UTC
Maciej Swiderski <swiderski.maciej> made a comment on jira JBPM-3344

Marcos, looking again at the diagram you attached it looks like you don't use OR converging gateway but XOR instead. Could you please try with the OR converging to ensure it does not work as expected?

Comment 10 JBoss JIRA Server 2013-06-10 13:44:59 UTC
Marcos Dutto <mdutto.gecos> made a comment on jira JBPM-3344

This is the .bpmn file for my process. I also attach two WorkItemHandlers that are use in it.

Comment 11 JBoss JIRA Server 2013-06-10 13:47:21 UTC
Marcos Dutto <mdutto.gecos> made a comment on jira JBPM-3344

The image looks like i am using XOR Gateway but it is an old version of my process. I tried with OR Converging gateway and it didn't work.

Comment 12 JBoss JIRA Server 2013-06-14 15:44:42 UTC
Maciej Swiderski <swiderski.maciej> made a comment on jira JBPM-3344

Marco, in general current gateway support does not cover all possible cases so I opened new issue for it to improve that.

As it comes to your case you might get around the current limitations by including the XOR gateway inside the loop no to create the OR flow again in case the XOR needs to be reevaluated. Unless that is explicitly what you need.

Thanks for reporting that

Comment 13 JBoss JIRA Server 2013-06-14 15:46:45 UTC
Maciej Swiderski <swiderski.maciej> made a comment on jira JBPM-3344

Marcos, in general current gateway support does not cover all possible cases so I opened new issue for it to improve that.

As it comes to your case you might get around the current limitations by including the XOR gateway inside the loop no to create the OR flow again in case the XOR needs to be reevaluated. Unless that is explicitly what you need.

Thanks for reporting that

Comment 18 maruusa 2024-03-01 02:20:31 UTC
I appreciate you sharing this excellent and practical knowledge. As a result, I now know more techniques for resolving system faults. https://fnfgo.io


Note You need to log in before you can comment on or make changes to this bug.