21
Views
2
Comments
Solved
About transactions in Common's OnException
Question

Hi

I understand that the transaction is being rolled back when I set Abort Transaction to Yes in the ExceptionHandler, but will the transaction be rolled back if it bubbles up to Common's OnException? It looks like the ExceptionHandler here doesn't have an Abort Transaction property.

Solution

Hi @Hiroshi Mitsuhashi ,

the Common/OnException you are referring to is a client action in a reactive app.  So any transactions you had on server side are already long over.  So it doesn't make sense to allow choice of abort or not there.

Dorine

Check the logic inside there. There might be multiple exception handlers and for each you can decide either to abort or not the transaction.

Solution

Hi @Hiroshi Mitsuhashi ,

the Common/OnException you are referring to is a client action in a reactive app.  So any transactions you had on server side are already long over.  So it doesn't make sense to allow choice of abort or not there.

Dorine

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