diff --git a/modules/flowable-cmmn-converter/src/main/java/org/flowable/cmmn/converter/export/PlanItemControlExport.java b/modules/flowable-cmmn-converter/src/main/java/org/flowable/cmmn/converter/export/PlanItemControlExport.java index 476fb8301cc..9779c09d46e 100644 --- a/modules/flowable-cmmn-converter/src/main/java/org/flowable/cmmn/converter/export/PlanItemControlExport.java +++ b/modules/flowable-cmmn-converter/src/main/java/org/flowable/cmmn/converter/export/PlanItemControlExport.java @@ -85,6 +85,10 @@ public static void writeRepetitionRule(CmmnModel model, RepetitionRule repetitio xtw.writeAttribute(FLOWABLE_EXTENSIONS_PREFIX, FLOWABLE_EXTENSIONS_NAMESPACE, ATTRIBUTE_REPETITION_COUNTER_VARIABLE_NAME, repetitionRule.getRepetitionCounterVariableName()); } + if (repetitionRule.isIgnoreRepetitionCounterVariable()) { + xtw.writeAttribute(FLOWABLE_EXTENSIONS_PREFIX, FLOWABLE_EXTENSIONS_NAMESPACE, + ATTRIBUTE_IGNORE_REPETITION_COUNTER_VARIABLE, "true"); + } if (repetitionRule.getMaxInstanceCount() != null) { if (repetitionRule.getMaxInstanceCount() == -1) { xtw.writeAttribute(FLOWABLE_EXTENSIONS_PREFIX, FLOWABLE_EXTENSIONS_NAMESPACE,