cancel
Showing results for 
Search instead for 
Did you mean: 

Designer removes default flow from gateways

brianshowers
Champ in-the-making
Champ in-the-making
I have a diagram that uses a default flow out of an exclusive gateway:


<exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway" default="notCompleteFlow"></exclusiveGateway>
<sequenceFlow id="notCompleteFlow" name="No" sourceRef="exclusivegateway1" targetRef="myUserTask"></sequenceFlow>
<sequenceFlow id="completeFlow" name="Yes" sourceRef="exclusivegateway1" targetRef="endevent1">
  <conditionExpression xsi:type="tFormalExpression"><![CDATA[${myCondition == true}]]></conditionExpression>
</sequenceFlow>

The process loads fine in Activiti and I've been using it for several months.  However, if I edit and save the process through the Designer, the default attribute of the exclusiveGateway is not saved to the file.  The UI of the Designer continues to show it until I close and re-open the process.  At that point it's completely gone:


<exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway>
<sequenceFlow id="notCompleteFlow" name="No" sourceRef="exclusivegateway1" targetRef="myUserTask"></sequenceFlow>
<sequenceFlow id="completeFlow" name="Yes" sourceRef="exclusivegateway1" targetRef="endevent1">
  <conditionExpression xsi:type="tFormalExpression"><![CDATA[${myCondition == true}]]></conditionExpression>
</sequenceFlow>

I'm using Designer 5.11.2
4 REPLIES 4

veracoco
Champ in-the-making
Champ in-the-making
See bug http://jira.codehaus.org/browse/ACT-1546.  To fix, copy the two updated jars attached to the jira issue into your eclipse plugin jar file org.activiti.designer.libs_5.11.2.jar.

brianshowers
Champ in-the-making
Champ in-the-making
Does anyone know the plans to release a 5.12 (or 5.11.3) version of the designer that would include these fixes?  While it's easy for me to drop these custom jars on my classpath, it's a bit harder to make sure that everyone on our engineering team does the same.

trademak
Star Contributor
Star Contributor
Hi,

I can confirm that this is fixed in the 5.12.0 release of the Designer.

Best regards,

brianshowers
Champ in-the-making
Champ in-the-making
I just saw the release notice for 5.12.  Perfect!