Change data when text equals X


I have a countdown displayed on my users dashboard, basically all this is doing is subtracting the date the subscription runs out from the current users date.

So there is a 5 day countdown, how do I make it so that when the countdown runs out (or the calculation equals zero), it will make changes to a thing, where I have set out a data field that is either “yes” or “no” for “Subscription Ended?”.

The “Days Remaining” is currently been displayed as text with the calculation just as dynamic data, and this text is in a table (which I think will work the same as a repeating group).

Been trying to figure this out for a while but with no luck!

Thanks in advance!

setup a backend workflow to do what you want it to do when the time is up and schedule that backend workflow to run when the time would have run out.