What does the following error mean? "Cannot index property "ID" o

What does the following error mean? "Cannot index property "ID" of type text into type text"? ID is stored in database as integer and its being transmitted through a CDT entity into a grid. But whenever I try to execute the grid I get this error message. Any suggestions on how to resolve this issue.

thanks,...

OriginalPostID-103743

OriginalPostID-103743

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Lead Developer
    in reply to Sunil Zacharia
    You may also want to look into null safety. Appian usually likes to implicitly cast "" or {} as an empty text or empty list of text when the variable is Any Type, or sometimes even when it's given a particular type. If you're querying a complex dataset and return zero results Appian can often transform your lack of results into the empty string.

    Try outputting type(typeof(yourVariable)) in a throwaway text field to see what kind of thing Appian thinks it is.