I have created a Record Type which is bound to a Connected System and an integration which fetches data from a REST endpoint (web service) with data sync enabled. I was able to create a record list to view the fetched records in a table.
I am trying to add a custom record list action which adds an item to this record type and eventually update and delete actions as well. As per my understanding we have to create sync expressions in order for these actions to work. I am new to the platform and I am not finding enough resources to help me understand how to perform CRUD operations on a service backed record type.
Need help in pointing me to the right tutorials/links which can shed some light on this.
Thanks.
Discussion posts and replies are publicly visible
In my understanding service backed synced records do not support modification of the source directly.
So you will have to use a normal web service call to your data source to send the update, and then sync that item using the Sync Records smart service.
Thanks Stefan for answering,. So, in this approach when a modification is done on a specific record, we will have to trigger the Sync Records smart service with the ID of the modified record, which then uses the sync expression configured for the service-backed record type to get the latest changes of the record from the source. Will this sync also recognize a delete action performed on that record and remove the record once the Sync Records smart service responds?
Correct.
docs.appian.com/.../Sync_Records_Smart_Service.html
Understood. Thanks for confirming. Will try the approach. Thanks again for your time.