Loading of a page has been superseded by request.

    I have a DS microflow that checks if the user is logging in for the first time. When this microflow opens the page I get this error and a loading bar gets stuck in the screen: Ignoring error for page ****/Home_Overview.page.xml: Loading of a page has been superseded by request for ****/Account_Step1_Overview.page.xml   I already looked at other threads with this same issue but I cant get it to work: https://community.mendix.com/link/questions/90417 https://community.mendix.com/link/questions/95328 https://community.mendix.com/link/questions/92881 https://community.mendix.com/link/questions/93769   There is no close page action and the microflow does not trigger twice (in the debugger).  The page where Mendix is navigating to is responsive and has no DS microflow.  Only a dataview with an ‘Account’ object.    
1 answers

The loading of the page Home_Overview is still in progress when the Datasource microflow (above) is triggered. The client (browser) gets to process the new open page request to open Account_Step1_Overview. This aborts the loading of Home_Overview and might cause an error in the front-end/browser.

If you want to check if an user is logging in for the first time you should load (instead of Home_Overview) a homepage Microflow (e.g. Homepage_CheckFirstLogin) and determine based upon the decision first login to show the page Home_Overview or the page Account_Step1_Overview. Change the (role) specific homepage in the navigation to this microflow instead of the page. This is always loaded after login and can handle the necessary logic, and prevents any requests to the server & database for Home_Overview while the user will be redirected to Account_Step1_Overview.

Note: instead of retrieve account from database for the currentUser, just perform a cast object. The data is already available to Mendix, the retrieve is an unnecessary call to the database (see also: Use Cast Object to get the specialisation – shameless plug of my blog =)