Hi everyone,
I'm trying to clarify the transaction behavior in OutSystems when using an Exception Handler with Abort = Yes.
Consider the following scenario:
I checked some online resources and found two different answers:
I'm a bit confused because these answers contradict each other.
Could someone confirm the actual behavior according to OutSystems platform documentation or share their experience with this scenario?
Thanks in advance!
Hi @Kevin Rosuelo look in the Documentation says thishttps://success.outsystems.com/documentation/11/reference/outsystems_language/data/database_reference/handling_transactions/https://success.outsystems.com/documentation/11/reference/outsystems_language/logic/implementing_logic/logic_tools/exception_handler/#abortingAnd here's a forum post with some similar questions that might be interesting to read:https://www.outsystems.com/forums/discussion/99611/web-developer-specialist-question-about-aborting-transactions/Hope it helps
Thanks @Samuel EspinozaI simulated this in Service Studio, and in my test, the Audit record was actually created and persisted.
Good to hear that! I think running your own tests is always a good idea, at least for me that way the information sticks better when I practice than when I just read the documentation.