Skip to main content
May 22, 2023
Solved

Delete from Data store entites not syncing record types

  • May 22, 2023
  • 5 replies
  • 0 views

https://docs.appian.com/suite/help/23.1/Delete_from_Data_Store_Entities_Smart_Service.html#:~:text=The%20Delete%20from%20Data%20Store%20Entities%20Smart%20Service%20lets%20you,node%20input%20of%20type%20EntityDataIdentifiers.

Hello,

we using Delete From Data Store Entities smart service to delete a nested entities up to 2 levels with cascade All option

Data seems to be deleted fine from main entity as well as nested entities , but record types seems to be not synced.

If I use queryRecord - I'm still seeing deleted data from cascaded record , but if I use query dataStore entity deleted record not returning as expected .

Appian documentation says automatic sync is supported on on nested CDT's until 1000 rows, my tables  have less than 1000 rows in total - any thoughts ?  ..

Best answer by tushark6475

Thank you for pointing out the mistake. It's corrected now, SIR!

5 replies

tushark6475
May 23, 2023

Hi there, 
I believe that your record needs to get synced, after deletion of the data from the database.
There are two ways you can sync the record, one is to manually sync the record using the sync option inside the record type, and the other one is using the smart service "sync record" in the process model just after "delete from the datastore entity" smart service.

harshitb6843
May 23, 2023

The original poster mentioned that they have used the "Delete From Data Store Entities smart service" which is also mentioned in the screenshot you have attached. 

tushark6475
May 23, 2023

Thank you for pointing out the mistake. It's corrected now, SIR!