Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!

The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.

Hi All, I'm trying to use a Query Entity and Configured some basic field, Wh

Hi All, I'm trying to use a Query Entity and Configured some basic field, While I try to execute the attached code I'm being alerted with "Interface Definition: Expression evaluation error [line 21]: Invalid index: Cannot index property 'TrialName' of type Text into type List of Variant".
I've used cast function with .data but not able to reach the resolution. suggestions Aprreciated...

query.txt

OriginalPostID-133943

OriginalPostID-133943

  Discussion posts and replies are publicly visible

Parents
  • deepanc, "invalid index: Cannot index property 'TrialName' of type Text into type List of Variant", this error arises because of there is no data retrieved for that query. if you can see the data structure of the query entity without tagging data.Trail_Name in bottom of the expression, you can see empty result in data column.
    so please check null handling before referencing CDT columns with "."
    And I will look into the error you mentioned in comments.

    Correction.txt

Reply
  • deepanc, "invalid index: Cannot index property 'TrialName' of type Text into type List of Variant", this error arises because of there is no data retrieved for that query. if you can see the data structure of the query entity without tagging data.Trail_Name in bottom of the expression, you can see empty result in data column.
    so please check null handling before referencing CDT columns with "."
    And I will look into the error you mentioned in comments.

    Correction.txt

Children
No Data