HierarchyElementExists

HierarchyElementExists determines whether a specific elements exists in a hierarchy on the server from which a TurboIntegrator process is executed. The function returns 1 if the elements exists in the hierarchy on the server, otherwise it returns 0.

This function is valid in TM1® TurboIntegrator processes only.

Syntax

HierarchyElementExists(DimName, HierName, ElemName);

Argument

Description

DimName

The name of the dimension that contains the element whose existence you want to confirm.

HierName

The name of the hierarchy within the dimension.

ElName

The element you want to find in the hierarchy.

Example

HierarchyElementExists('Region', 'Western', 'Belgium');

This example determines whether element Belgium from the Western hierarchy in the Region dimension exists on the server.