Hello everyone,
In the recent update (version 26.1), we received a feature that allows us to create sync-enabled record types using a view as the data source.
However, the Sync smart service is not working with this type of record. Is this an Appian limitation? If yes, how is a sync-enabled record useful in this case? I am aggregating some information in a view and displaying it on the site, and I need up-to-date data. Therefore, I cannot rely on incremental or manual sync. Could you please suggest an appropriate approach?
Discussion posts and replies are publicly visible
Well, depending on your use case, a synced record might be the best fit. Or not. In your case disabling sync might be the way to go.
Thanks for the reply Stefan Helzle After checking the log files, we found that we were using ROW_NUMBER() to generate a unique key in the view. This was producing a 32-bit BIGINT(21), which we were using as the primary key for the sync record. However, the generated key of type BIGINT (21) was not supported by the record type. After converting the key to text, the issue was resolved.