Progressbar keeps running long after microflow call is ended

I have a few action buttons triggering microflows which run a certain time, so I have a synchronous and blocking progressbar in place. Long after the microflow is finished the progressbar still keeps showing. When the microflow is finished in 2 minutes, the progressbar still shows for around 10-15 minutes. What is happening underneath the surface to cause this?
2 answers

Hello Carlo,

From my personal experience this is most of the time due to commits. Mendix submits all the transactions for the DB to process at the end of the MF, and the progress bar stops a few seconds after all commits are complete. 

I’ve not found a way to monitor the commit times effectively, but you can check I/O graphs for spikes to see when large transactions begin/end.

Hope this helps.


This is a screenshot of part of the microflow:This is a screenshot of part of the microflow: