Action based upon query producing no records

I would love to have a feature added to Wappler where if my query produced no results i could fire the browser goto action.

In other words sometimes when working with say a URL Parameter to show certain content the user might click a link that was emailed to them that no longer exists a few days later, such as an order or to show the items in their shopping cart.
If my system auto removed unprocessed shopping cart content after 30 days lets say, and the user clicked that link after the link had expired I would rather not show an empty shopping cart but redirect them to another page.

On a query we already have dmx-on:invalid and dmx-on:error, so could we add dmx-on:notHasItems=“browser1.goto(‘index.php’)”

PLEEEESE.

Community Page
Last updated: