Skip to main content
March 21, 2025
Solved

CDTs vs RecordType

  • March 21, 2025
  • 6 replies
  • 0 views

Hi all.

I'm starting a new app and I have big dilemma because I don't know if is better to use CDTs or Record Types. I won't connect directly to a database to get/post records but I'll connect to a webservice to do so. You have to keep in mind that the records can be added/modified/deleted from Appian calling webservices or from other non Appian applications.

So, If I use Record Types, I'll get the refreshed records without sync every few minutes? Has anyone experience about this topic?

Thanks in advance.

    Best answer by stefanhelzle0001

    Appian thinks that Records are the future. I agree to that, for most of the use cases.

    In your situation, you might want to add a sync step to update the just modified item in the record.

    6 replies

    stefanhelzle0001
    March 21, 2025

    Appian thinks that Records are the future. I agree to that, for most of the use cases.

    In your situation, you might want to add a sync step to update the just modified item in the record.

    March 21, 2025

    But is there any way to detect that a record has been modified in the database and lunch the sync automatically only for that record? Keep in mind that I access to the database within a webservice.

    Thanks.

    stefanhelzle0001
    March 21, 2025
    varuntejg243705
    March 23, 2025

    HI [mention:8cdd6119fd07485ea8670348a7dd2045:e9ed411860ed4f2ba0265705b8793d05] ,

    Basically CDTs and RecordTypes have few similarities but not limited to major difference,

    CDTs are used for logically map the data(Structure the data) need dependent data store to write data into db,

    But Record Types does both the things, Logically map and Write to the DB. Mostly used in future projects as all older projects moving to Record Types.

    You need to have scheduled sync ON or manually sync the records or write/update the records inorder to sync latest records.

    Hope this helps you

    stefanhelzle0001
    March 23, 2025
    You need to have scheduled sync ON or manually sync the records or write/update the records inorder to sync latest records.

    Correct, if the data is modified not only by Appian, but also by other systems.