Question
Is your application record-based or CDT-based? What are the key differences between CDTs and Records, and why did you choose Records?
A
Anonymous
December 27, 2025

Answer

Earlier, we used CDTs for data handling, but we moved to Record Types because they provide better features, performance, and scalability.


Key Differences

1766873056583-h8apowp17jc.png


When to Use Each


Use Record Types When:

  1. Building a Modern UI: Records allow you to create lists, filters, and record views with minimal coding.
  2. Speed is Critical: Synced records provide faster query results because they pull data from memory rather than executing a full database call every time.
  3. Handling Complex Reporting: Use Custom Record Fields to aggregate data (e.g., total sales per customer) directly on the record.
  4. Working with Multiple Sources: If your data comes from both a database and an external API, records can unify them into a single data model.


Use CDTs When:

  1. Unsynced Data Needs: If you are using an Unsynced Record Type, you still need a CDT and a Data Store Entity (DSE) to map the database table.
  2. Legacy Requirements: Older process models or specific smart services (like "Export DSE to Excel") still require CDTs for their configuration.
  3. Process Variables: CDTs remain useful for storing temporary, strongly-typed data structures within a single process instance.
  4. External Integration: Some web service integrations or Java-based plugins require a CDT to define the incoming/outgoing data structure.


Appian now recommends using synced record types for most new development due to their increased flexibility, performance, and built-in functionality.




JuniorSeniorRecords
Loading comments...