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 22011e9 commit ac508d9
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 ac508d9

Please sign in to comment.