Hi all, I am new to the Appian.
I am created an interface with record type, add option and a process model to save the data in database.
Created process model with the options ‘write to entity’ and ‘write to records. Below is my understanding.
Please confirm is there any other main difference.
Discussion posts and replies are publicly visible
1) Yes and no. Activity chaining delays the UI refresh up to the end of the chain. It has no direct relationship to "refreshing record type data". And some UI components can be configured to refresh automatically using the refreshAfter parameter.
2) True
3) I would say, they are similar. Data store entities are a more direct connection to the database, and Records add another level of abstraction providing a bunch of extremely nice features. I try to shift my work to Records only.
One of the biggest differences is just the number of objects used. We created the Write Records node because that enables you to use a record type for all operations - if you use Write to DSE, you must create a CDT, Data Store, and Entity to perform the write.
There are also a couple of additional benefits to Write Records:
Like Stefan said - I generally recommend using Write Records over Write to DSE. It has a lot of benefits over Write to DSE, and we're also continuing to make updates to Write Records in the coming quarters!
Thanks for your reply
Do not mark your gratitude as "Suggest as Answer".If you find any answer helpful, mark it as "helpful".
Enable Activity Chaining: This option refreshes record data after an activity chain completes, and it works for both "write to entity" and "write to records."
Rule Input for Interface using CDT: You can use Custom Data Types (CDTs) to define input parameters for your interface. This applies to both "write to entity" and "write to records."
"Write to Entity" vs. "Write to Records":
Which are all ways to handle record sync error during the process itself for write to record smart service.
If we configure write to record and if record sync fails with any reason after writing into source table then what could be the way to identify the issue in sync.
I can think of Record sync smart service by passing identifier after write to record to make sure it works and then notify the initiator for any error and to contact support team.
Any other suggestion apart from record sync error notification to Admin?
The smart service will handle that and fail in case of an error. Then the alert management of the process model kicks in.
We also recently introduced a feature for a "recovery sync": docs.appian.com/.../records-data-sync.html
This helps because if a write fails due to a sync issue, it will automatically retry a full sync and recover from the issue. It doesn't address all issues, but does account for a lot of intermittent issues!