From ac508d9731f04fe9781d2c7a2808af944def2c0c Mon Sep 17 00:00:00 2001 From: Tijs Rademakers Date: Fri, 17 Nov 2023 16:27:50 +0100 Subject: [PATCH] Add ignore repetition counter variable to CMMN XML export --- .../flowable/cmmn/converter/export/PlanItemControlExport.java | 4 ++++ 1 file changed, 4 insertions(+) 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,