3
votes

I am developing a new software (a desktop-application), where I access MS CRM 2013 through the CRM-WebService.

As there are a lot of tasks, where some operations may fail, I would like to use transactions within the webservice-access to prevent data integrity issues.

As read here: Does MSCRM web-service support database transactions?, it wasn't supported in CRM 4.0. And I don't know if it was already implemented in CRM 2011?

Could you please help me, whether the new crm-webservice-implementation supports transactional CRUDs.

1

1 Answers

3
votes

It does. In a fashion. Probably not in the manner in which you are expecting.

When writing plugins, the data changes in the execution pipeline are contained in a transaction and are rolled back on error.

When writing other SDK code, you can write it in a manner which is pseudo transactional. You can collate your operations into a single ExecuteMultipleRequest operation with optional ContinueOnError.