This content has been marked as final.
Show 1 reply
-
1. Re: Inclusive gateway doesn't support converging direction
richie.hao Jun 10, 2011 5:17 AM (in response to francesco.pietrobelli)I think it's not a bug, you can find this in org.jbpm.bpmn2.xml.InclusiveGatewayHandler:
protected Node createNode(Attributes attrs) {
final String type = attrs.getValue("gatewayDirection");
if ("Diverging".equals(type)) {
Split split = new Split();
split.setType(Split.TYPE_OR);
String isDefault = attrs.getValue("default");
split.setMetaData("Default", isDefault);
return split;
} else {
throw new IllegalArgumentException(
"Unknown gateway direction: " + type);
}
}
That's to say, if the direction of inclusive gateway is not "Diverging", the exception will be thrown.
I am wondering whether they will support it in the future.
Regards,
Richie