Hi mihika,
Create a microflow (e.g. MF_RefreshCurrentPage).
Inside the microflow:
Recreate or retrieve the NPE again (the same as your original logic).
Use Show Page activity → open the same page again, passing the recreated NPE object.
Trigger this microflow (e.g. from a button, after save, etc.)
This effectively reloads the same page, but from Mendix context — not browser-level reload.
Hi Mihika,
I am assuming you are submitting the form and closing all the pages that's why you are redirecting to home. Just close 1 2 pages according to your need.
And if you want to set the url just download the setURL widget from mendix marketplace and set the url accordingly.
Hi,
Try wrapping your logic inside a microflow that recreates the object dynamically each time the page opens. This lets the user stay on the same page after refresh and feel no interrupt, even though the object itself was rebuilt.