Difference in Write to Multiple Data Store entity and Write to Data Store entity? When we need to use the multiple data store entity?
Discussion posts and replies are publicly visible
Hi,
When you want to write/update multiple entities that belong to the same data store within a single database transaction, Multiple datastore entities will be useful. Whereas write to data store entity will write/update only one entity at a time.
Please find more details from the documentation
https://docs.appian.com/suite/help/21.2/Write_to_Multiple_Data_Store_Entities_Smart_Service.html
https://docs.appian.com/suite/help/21.2/Write_to_Data_Store_Entity_Smart_Service.html
Hope this helps!!
Thanks,
Hema.
Thanks Hema for the response.
Is there any other difference apart from this?
And Why it is not recommended to use multiple data store entity smart service?
Why are you asking? Who says that the multiple is not recommended?
It is a good idea to use the best matching tool for a given task.
Thanks Stefan.
Agreed on your comments. we have smart service(MWTDE) to use it , if we want to write data into Multiple entities.
Any difference in using 3 different write to Data store entities instead of Multiple WTDS entity smart service?
In term of performance or anything?
because i heard somewhere like multiple write to data store is not recommended , just seeking the reason behind this.
A single MWTDE will take less computing resources than three WTDE. I do not know of any other implications for normal use cases.
In case you need to manually create relationships between the data, you need multiple WTDEs.
I try to combine DB writes in a MWTDE if I can.