You can define the close action [the x] to a button – for example your cancel button
Thank you for your feedback. That works, except I need that pop-up to be conditional only if changes were entered. So the sequence I’m looking for is:
#2 is the issue. Using the delivered functionality, the pop-up shows all the time (even if changes aren’t entered) and isn’t conditional, where I only want the pop-up to show if the user has entered changes that need saved … Has anyone found a workaround to this? My workaround so far has been to hide the upper right X and use a “Close” microflow that does something similar to the steps above except it doesn’t get user input; it just tells the user to save if they want to.
You could create a non-persistent entity wich is a copy of the original entity (same attributes) and make an assiciation to System/Session
The microflow to cancel (or X to close when attached to the cancel button) to trigger a microflow to create the non-persistent entity with the attributes you want to “pseudo save” and set the link to the current session.
By retrieving that non-persistent entity from the session you have the object with the not-saved changes, and can compare it to the original, save it or do any other activity with it that you like.