Hello! Do we expect the logic/updates that happens on a LB configured on a presave of an application to also roll back what happens on the save of an application if there is an error in the presave logic or extensions of the presave logic?
That is correct. Whenever a logic block errors, then changes from that logic block in that container should be rolled back.
4 Likes
A note that pre-save is an application event in contrast to a pre-insert table trigger. There are other differences in UX when it comes to other message types such as WARNINGS or INFO. But both would act the same as @joeyates23 noted and roll back whatever transactions have occurred in that call stack transaction in an error scenario. A note, if multiple transaction boundaries exist in the stack. The error may not roll back all changes. Proper error handling is important when dealing with multiple transactions in the same call stack
1 Like