Only fields with scalar types can be indexed from an array.

Hello

I am facing below issue

I created local called

 local!gridDataStructure: 'type!{urn:com:appian:types}CDT'(

role:{1,2,3}

.

.

.

.

.

)

role is type of list of integer

When i try to print as  local!gridDataStructure.role it throwing an error as

a!gridLayout [line 1068]: Cannot index "role" because it is an array type (List of Number (Integer)). Only fields with scalar types can be indexed from an array.

I tried applying hard coded index([1]) still it's giving a same error.

Please suggest the solution

  Discussion posts and replies are publicly visible