cancel
Showing results for 
Search instead for 
Did you mean: 

Flow expression is corrupted on import

bctaylor
Champ in-the-making
Champ in-the-making
After importing a bpmn20.xml file using the explorer my flow condition expression is no longer valid:

The original expression:

<sequenceFlow id="runRequestCompleteFlow" name="runStatus == FINISHED" sourceRef="sid-63E0DA36-F87E-4AD1-991B-DD043AA0EA05" targetRef="success">
      <conditionExpression xsi:type="tFormalExpression">${runStatus == 'FINISHED'}</conditionExpression>
    </sequenceFlow>

After import the editor shows the flow condition in a JSON representation:

{"expression":
{"type":"static","staticValue":"${runStatus
== 'FINISHED'}"}}

If you click on the Flow condition field the Condition expression shows:

[object Object]

4 REPLIES 4

jbarrez
Star Contributor
Star Contributor
That is a bug. We'll look into it.

vasile_dirla
Star Contributor
Star Contributor
It was confirmed so I added a JIRA issue for it.
http://jira.codehaus.org/browse/ACT-2211

vasile_dirla
Star Contributor
Star Contributor
Fixed.
see pull request: #532

Excellent, thank you!