Skip to content

Commit

Permalink
Add ignore repetition counter variable to CMMN XML export
Browse files Browse the repository at this point in the history
  • Loading branch information
tijsrademakers committed Nov 17, 2023
1 parent c05123d commit 0625b3b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0625b3b

Please sign in to comment.