fixed multiple condition translation in process model JSON
This commit is contained in:
@@ -196,11 +196,16 @@ public class ApsProcessJsonTranslator extends ApsOrganizationHandler implements
|
|||||||
|
|
||||||
this.logger.trace("Found a conditional sequence flow in the APS Process descriptor");
|
this.logger.trace("Found a conditional sequence flow in the APS Process descriptor");
|
||||||
|
|
||||||
ObjectNode expression = (ObjectNode)jsonConditionalSequenceFlow.get("expression");
|
|
||||||
|
|
||||||
boolean changed = false;
|
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, "outcomeForm") || changed;
|
||||||
changed = this.translateNamedId(expression, this.apsFormIndex, "rightOutcomeForm") || changed;
|
changed = this.translateNamedId(expression, this.apsFormIndex, "rightOutcomeForm") || changed;
|
||||||
|
|
||||||
|
expression = (ObjectNode)expression.get("nextCondition");
|
||||||
|
}
|
||||||
|
|
||||||
return changed;
|
return changed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user