Sync Smart Service Issue

Certified Senior Developer

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

Parents
  • 0
    Certified Lead Developer

    Sync Records smart service syncs by record id, but views have no change-tracking, so view-backed synced records only support full sync (not incremental).
    Don't use a sync-enabled record for always-fresh data. Use a non-synced record type on the view instead(it queries the view live every time, giving you real-time data).
    Sync trades freshness for performance, which is the opposite of what you need.

Reply
  • 0
    Certified Lead Developer

    Sync Records smart service syncs by record id, but views have no change-tracking, so view-backed synced records only support full sync (not incremental).
    Don't use a sync-enabled record for always-fresh data. Use a non-synced record type on the view instead(it queries the view live every time, giving you real-time data).
    Sync trades freshness for performance, which is the opposite of what you need.

Children