fixed multiple condition translation in process model JSON
This commit is contained in:
parent
c441a61d37
commit
4d064916e9
@ -195,13 +195,18 @@ public class ApsProcessJsonTranslator extends ApsOrganizationHandler implements
|
||||
return false;
|
||||
|
||||
this.logger.trace("Found a conditional sequence flow in the APS Process descriptor");
|
||||
|
||||
ObjectNode expression = (ObjectNode)jsonConditionalSequenceFlow.get("expression");
|
||||
|
||||
boolean changed = false;
|
||||
changed = this.translateNamedId(expression, this.apsFormIndex, "outcomeForm") || changed;
|
||||
changed = this.translateNamedId(expression, this.apsFormIndex, "rightOutcomeForm") || changed;
|
||||
return changed;
|
||||
boolean changed = false;
|
||||
|
||||
ObjectNode expression = (ObjectNode)jsonConditionalSequenceFlow.get("expression");
|
||||
while (expression != null) {
|
||||
changed = this.translateNamedId(expression, this.apsFormIndex, "outcomeForm") || changed;
|
||||
changed = this.translateNamedId(expression, this.apsFormIndex, "rightOutcomeForm") || changed;
|
||||
|
||||
expression = (ObjectNode)expression.get("nextCondition");
|
||||
}
|
||||
|
||||
return changed;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user