Hi,
I have a question about in which order things are done in a microflow and if a breakpoint in the microflow changes anything.
The setup is that I have a page with an order form which auto saves to my order entity. There is an option to delete the order and when that button is pressed a pop-up asks if the user is sure. The delete button calls a microflow that does 3 things.
1. It closes the pop-up
2. It deletes the order
3. It navigates to another page
If I have the order 1-2-3 or 2-1-3 I get an error form the auto save function that the order does not exist.
When I set a breakpoint in the microflow and step through everythong it seems that 1 and 3 are not done until the end of the microflow. Are they somehow queued up and sent to the client later?
Given that I have an auto save function to the object I want to remove on the page I am leaving, what is the safe way of removing it? Should the order in my microflow be 1-3-2 so that all client actions are ready to be done once the deletion is done?