How is your experience with the OutSystems Community?
22
Views
3
Comments
Solved
Transaction Behavior with Exception Handler (Abort = Yes) and Audit Logging

Hi everyone,

I'm trying to clarify the transaction behavior in OutSystems when using an Exception Handler with Abort = Yes.

Consider the following scenario:

  1. An Action performs a CRUD operation.
  2. An exception occurs.
  3. The Exception Handler is configured with Abort = Yes.
  4. Inside the Exception Handler, another CRUD operation creates an entry in an Audit entity.

I checked some online resources and found two different answers:

  1. A rollback is performed, and no records are created (including the Audit record).
  2. A rollback is performed, but the Audit record is still created and persisted.

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!

2026-07-15 03-02-12
Kevin Rosuelo

Thanks @Samuel Espinoza

I simulated this in Service Studio, and in my test, the Audit record was actually created and persisted.

2026-03-13 15-51-13
Samuel Espinoza

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.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.