Every where we can use the record over the cdt. what is use of cdt over record? where can we use cdt instead of Record?
Discussion posts and replies are publicly visible
You should be prioritizing Synced Records most of the time.
Here's why: https://docs.appian.com/suite/help/23.4/records-data-sync.html
Only reason to use a CDT when you need something a little more strongly typed than a map. CDTs can sometimes be useful inside Process Reports too.