We have a record type hooked up to a table. Adding new records works well. But, there is an issue with record edits. The record gets updated in DB, but the auto record sync following the record update fails.
Here is data from error email:
Problem: An error occurred in executing an Activity Class. Details: Unable to sync due to a system failure. Recommended Action: Examine the activity class to correct the error and then resume.
Here is some relevant data from tomcat-stdOut.log:
[http-nio-8080-exec-734] ERROR com.appiancorp.record.service.RecordReplicaUpdateService - Loading updates to synced record type(s) in ADS failed, invalidated record type(s): ...com.appiancorp.suiteapi.common.exceptions.AppianException: Unable to sync due to a system failure. (APNX-1-4521-016)...Caused by: com.appian.data.client.AdsUserInputException: APNX-3-1000-030: Invalid transaction data. Cannot update the same entity multiple times in the same transaction. Invalid id(s): ...
Note: Earlier there is a Data Store Entity for the same table. I've tried removing the data store entity, but this error persists.
Discussion posts and replies are publicly visible
Hi Rohit,
Since you have removed the write to DSE node, I hope you have validated and published the process model before you start your testing. Also, it would be helpful to investigate if you could share a picture of your process model configuration.
Hello Mathurambika, thanks for replying. This is a new process model, which never used the DSE. It was set to only use recordType for the table.Which configuration did you want to have a look at? ( I am using the 'Write Records' data service with nothing but the 'Records Input' configured )