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.
Discussion posts and replies are publicly visible
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.
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.
No. Details here: docs.appian.com/.../records-data-sync.html
No - if you need to be able to query data that is written to a database directly (without going through Write Records) - just use CDTs.
Otherwise, you'll need to expose an API to the application so that they write to the database via Appian instead of calling the database correctly.
HI danielg424213 ,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
Varun Teja Gurrapu said: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.