Mendix Transaction Lifecycle - I want to know when the transaction is initialized and when it will end?

1
I have one microflow in which initial actions are not related to database. So my question is whether the transaction is initialized as soon as Microflow executes and ends when Microflow completes OR transaction will be initialized only when MF executes its 1st Database action and ends when it completes??   Please clear my doubt.
asked
1 answers
1

Hello Shubham,

 

Yes, the transaction is initialized as soon as Microflow executes and ends when Microflow completes. That the reason the when any exception occurs in the flow we have the provision to handle the exception with either “Rollback”, “Custom with rollback”, “Custom without rollback”. By default, the Rollback will be applied.

 

Hope this helps.

answered