hey bubble community
on my task and order mamangement application i have a feature that i my users can create a quote they can send to there customers… but when ther users build the quote before sending it saves data as states on the page until the submit the quote and it will save the data to the actual quote database… and the data that the state have saved will be deleted so optimize my database…
but a issue i experince now is that when people start to build to quote and do not finish it but abdone the page it still have saved alot of data in the database there now are useless… how do i make a workflow to delete that when people leave the page?
when i say leave it can be in many ways… “go back to previous page” “navigate to a differnt page from the menu” “close down the browser” and so… just wanna make sure to clean up in the database when the data is done in use
hope someone out there can help me with this…
Best regards Christian