Skip to main content
sugithrag
New Participant
June 22, 2026
Question

Sync Record Type returning inconsistent data

  • June 22, 2026
  • 2 replies
  • 2 views

Hi, while querying data using query record type in one specific field (which is an integer type, mostly the values will be 1, 2 or 3) is returning null even the value is present in the database. While using query entity value is returning and in record data preview value is displaying but in the query record type alone it is returning null one time and returning value on clicking test value again. It's a sync record type and there is no sync failure, and no changes were made in database table structure and in CDT. By syncing the record manually this issue is resolved but I want to understand the root cause.

Thanks.

2 replies

stefanhelzle0001
Brainy
June 22, 2026

Can you share the code of your record query?

shubhama926776
Brainy
June 22, 2026

Most likely the record sync cache was stale or temporarily inconsistent, so queryRecordType() returned null even though the database value existed.
Since a manual sync fixed it, the root cause is usually a sync-layer mismatch, not the CDT or table structure.

शुभम्