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 f4f003c commit f93223e
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 f93223e

Please sign in to comment.