Cancelation inside my app

I am making a product rental app.

The case is that I want to put that you can cancel the rentals (like when you buy on the internet).

When you want to cancel your rental 4 days before the day of the rental that is returned 100% and if it is before those 4 days only 50%.
how can I link the pages so that it is like this?

You need to calculate RENTAL DATE - TODAY and store that info in a property or field.

Then you can use that value to set the conditional actions.

  • If it’s 4 or bigger → this screen.
  • If it’s less than 4 → this other screen.