Why arent my changes rolled back when I use a custom Cancel button

5
For a project I needed a custom 'cancel' button (which just closes that particular form). The changes that I made to the object are still visibile however, when I open the Editform, why aren't the changes rolled back in this case?
asked
1 answers
6

Because you have chosen to override the default behavior of the Mendix Runtime you also need to do the rollback (if you want that) manually.

In 2.4.3 there's a rollback activity available in Microflow.

In the versions before 2.4.3 you have to define a custom Java action calling Core.rollback(id).

answered