[jboss-user] [jBPM] - connection with constraint and jbpm.enable.multi.con
rigazilla
do-not-reply at jboss.com
Fri Apr 19 09:08:41 EDT 2013
rigazilla [https://community.jboss.org/people/rigazilla] created the discussion
"connection with constraint and jbpm.enable.multi.con"
To view the discussion, visit: https://community.jboss.org/message/809283#809283
--------------------------------------------------------------
Hi all,
I had some troubles with the configuration in the subject above.
Shortly: with jbpm.enable.multi.con=true each node at the end of a connection with constraint is triggered two times.
I suspect this is a bug (my quick patch is below), can someone check if I'm correct?
Thanks,
Vittorio
diff --git a/jbpm-flow/src/main/java/org/jbpm/workflow/instance/impl/NodeInstanceImpl.java b/jbpm-flow/src/main/java/org/jbpm/workflow/instance/impl/NodeInstanceImpl.ja
index 274c291..25b53c7 100644
--- a/jbpm-flow/src/main/java/org/jbpm/workflow/instance/impl/NodeInstanceImpl.java
+++ b/jbpm-flow/src/main/java/org/jbpm/workflow/instance/impl/NodeInstanceImpl.java
@@ -201,7 +201,8 @@ public abstract class NodeInstanceImpl implements org.jbpm.workflow.instance.Nod
}
if ( !found ) {
throw new IllegalArgumentException( "Uncontrolled flow node could not find at least one valid outgoing connection " + getNode().getName() );
- }
+ }
+ return;
} else {
connections = node.getOutgoingConnections(type);
}
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/809283#809283]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130419/60102a8f/attachment-0001.html
More information about the jboss-user
mailing list