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.