Skip to content

For Each Parent in Hierarchy

FlowControl

Loops over the parents of a child element.

Pure Function
No

Execute Inputs

Execution

INPUT

Execution Input.

Execute Outputs

Loop Body

OUTPUT

Executed for each element in the collection.

Loops

Complete

OUTPUT

Executed once after all items are processed.

Data Inputs

Dimension Name

INPUT

The name of the dimension.

Hierarchy Name

INPUT

The name of the hierarchy inside the dimension.

Child Element

INPUT

The name of the element to iterate over its parents.

Data Outputs

Index

OUTPUTinteger

Current index.

Total Elements

OUTPUTinteger

Total number of parent elements.

Element Name

OUTPUTstring

Current value.

Element Full Name

OUTPUTstring

Current value.

Settings

Debug

STRING

Break on node when executing.

Default: No
Options:
NoBeforeInputsBeforeProcessingAfterProcessing