Skip to main content Skip to complementary content

RecursiveLoop

Loops recursively according to some input map element.

This function specifies that the output map element associated with the loop expression tab is to loop recursively corresponding to the value of the input map element argument expression.

This is used in the case where both the enclosing output map element and the referenced input map element are recursive map elements. For each instance of the element in the input, regardless of the depth of recursion, an instance of the output is created.

If no sort keys are specified, the order of the output is the same order as the input elements.

This function can only be used in the Loop tab.

Arguments

Input Map Element Add a recursive map element from the input structure.
Filter Specify an expression that returns a Boolean. This expression is evaluated for each instance of the loop. If this filter expression returns true, the instance is included in the loop. If it returns false, the instance is excluded from the loop.
Sort Keys Use the AscendingSort or DescendingSort function to sort loop iterations. You can use as many as needed.
Contexts Specify the context using the EnclosingContext or NestedContext function. EnclosingContext specifies the output map element that encloses this loop. If not specified, the nearest looping ancestor map element is used.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!