Skip to main content
All CollectionsTroubleshooting
Why can't I change a repeating group's data source with a condition that references the RG's data source?
Why can't I change a repeating group's data source with a condition that references the RG's data source?
Updated over 11 months ago

To provide some context, if the data source of a repeating group is set within a condition that references the repeating group itself, this can cause a circular reference. Specifically, when the condition is met, the data source of the repeating group will change, which then invalidates the condition. Since the condition is now false, the repeating group changes back to its original data source, but the condition is evaluated to be true again and changes the data source yet again. This behavior repeats over and over, resulting in an infinite loop.

To workaround this behavior, you should avoid referencing the repeating group itself in the condition and instead reference the original data source of the repeating group.

Please see this consideration noted in our manual.

Did this answer your question?