Skip to main content Skip to complementary content

LoopReference

Loops using values from a previous output map element loop.

This function specifies that this output map element is to loop using the values that were provided in the loop expression from the specified map element. It may only be used for map elements that occur after the specified map element in the map output. This function is generally used in conjunction with references to output map elements.

The difference between this and the LoopCopy function is that this may be used only after the output map element to which it refers, and this will use the same values produced in the original loop without reexecuting the loop expression that created the loop.

This function can only be used in the Loop tab.

Arguments

Map Element Specify an output map element that has a loop expression and that occurs before the current map element.
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!