Hi,
You can user the microflow timer widget (https://marketplace.mendix.com/link/component/27) with a nanoflow call with your non persisteble entity as parameter and a refresh object activity.
Jordy,
Every second a refresh will be a little too much as the CLC_Calculate…… is executed every time. So I would tune it, if I were you.
Use:
https://marketplace.mendix.com/link/component/56 on this page.
setInterval(function() {
location.reload();
}, 15000);
In this case, 15000 is 15 seconds.
This works fine if it is a static page. But when you open a pop-up on this page for data entry, it will refresh even when you are typing. Also, other interactions could be hindered.
Test to see if it doesn’t break your UX.
Go Make It