Hi Everyone,
I am getting an error while calling a rule from interface given below. Can anyone please suggest how to resolve this.
Error:
Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error in rule 'tems_rule_getidentity': Invalid index: Cannot index property 'identity' of type String into type List of Variant
Discussion posts and replies are publicly visible
Hi,
Seems like you're trying to index the parameter identity from a null variable. You can make use of the index() function for such cases to avoid errors.
Instead of referring the field of the CDT using dot notation, use fn!index(). Ex: Replace ri!array.identity with fn!index(ri!array,"identity",null) if it returns a single variable or fn!index(ri!array,"identity",{}) if it returns an array