Skip to main content
July 10, 2023
Question

Record Type Query

  • July 10, 2023
  • 9 replies
  • 0 views

When we try to pass values  queried through entity based expression rule to value field field of record type query filter it fails. How to make it working?

I have checked in both cases for querying data  same set of list of integer is returned but it fails for query entity

9 replies

stefanhelzle0001
Brainy
July 10, 2023

You can cast CDT data to the record type.

July 11, 2023

Still facing the error  Could not cast from Number (Integer) to Record Field. Details: CastInvalidCould not cast from Number (Integer) to Record Field. Details: CastInvalid.

it is of form-

(

cast ( typeof(recordtype!parentrecord.record1.record2.fields.value),

list of integer from query entity

)

shikhat
July 11, 2023

Hi , Can you share the code snippet here?
Also how are you referencing the record fields?