Dear Reader, For one of the projects I'm working on, I need the rollbackTransaction function available on the context object, available here: rollbackTransaction function . What I expect the function to do: startTransaction create object with name (say: “test_name”) endTransaction startTransaction change object name to “test_name_CHANGED” rollbackTransaction expect the object name to be “test_name” Code used for java actions: startTransaction, endTransaction and rollbackTransaction
/** the startTransaction java action implementation */
this.getContext().startTransaction();
/** the endTransactionjava action implementation */
this.getContext().endTransaction();
/** the rollbackTransActionjava action implementation */
this.getContext().rollbackTransAction(); This does not seem to work as expected, whether this is because of understand the function wrong or the implementation not working i’m not sure. I have created a sample project with the above java actions and a test microflow which is called after clicking the navigation button assigned to it. Sample project download: https://we.tl/t-IGnDhd7hi0 Thanks in Advance, Vince van Noort
↧