Variable Resolver

If expressions are evaluated on collection variable, the variable resolver implements the VariableValidator interface. The Expression Manager uses this interface to validate the variable hierarchy. An exception is thrown if input variables are repeating and the variable resolver does not implement the VariableValidator interface.

VariableValidator interface contains a single API validateVariableHierarchy(List<String> variableNames), which returns true if all the variable are in a valid hierarchy. For more information, see Supporting expressions for collection variables.

// Ethnio survey code removed