In your example, you can retrieve the database stored object first using the xpath
Then, you will have the persisted object values in your microflow and you can set the attributes of the current object on the page back using the the values of the database stored object.
You could also add a change event MF to the ref selector and validate the input from there, if OK then commit or else then do nothing.
Hi Naresh Agarwal,
Yes, the Rollback Action Reverts back to all the changes that are not yet committed to Database.
The only possible way is to retrieve the object from Database and set the value of your Reference selector from the Object retrieved from Database. If the Database retrieves is empty you can Set the value of the Reference selector to empty.
Hope this helps!!
Thanks Everyone !
I think it would good idea for the Mendix to Enhance Rollback Activity and provide Dropdown to select attributes for Rollback
Thanks for sharing