There is a widget for that: microflow timer https://marketplace.mendix.com/link/component/27
This way a microflow is triggered once the time is up. And then you can do anything you want.
Regards,
Ronald