Hi,
In Dynamics CRM, if updates are made in the pre-validation stage of a plugin, and an error occurs in the pre-execution or post stage of another plugin registered for the same event, what will be the effect on the updates made in the pre-validation stage? Will the updates be rolled back automatically or stored in memory and not yet committed to the database?
Im not getting it correctly from the documention for the bold text "Stages 20 and 40 are guaranteed to be part of the database transaction while stage 10 may be part of the transaction."
https://learn.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/gg327941(v=crm.8)?redirectedfrom=MSDN#:~:text=organization%27s%20execution%20pipeline.-,Inclusion%20in%20database%20transactions,-Plug%2Dins%20may
Or if someone can give examples scenerios where we are in transaction for the pre-validation and when we not.
For reference, got this post while I was searching this scenerio, I've not tried it myself.
I'm looking for clarification, Thank you in advance for your expertise!