Automatic Delete Functionality

1
Hi, I am adding a data in list view and I want to delete it after 30days or some interval of time or date How can I achieve that .. The created object is in different entity and I am moving that created object to a new entity and want to delete it after some interval of time. for example: In a shopping application adding a product to Cart and the added item will be removed or deleted from card after some interval of time or date.
asked
2 answers
0

AFAIK, you need to write your delete behaviour and add it to a scheduled microflow which will run based on the frequency you define.

answered
0

Hello Mohammad,

In this case you could use a Schedule Event(https://docs.mendix.com/refguide/scheduled-events) to empty the Cart. I would use the created date to check if you need to empty the item from the cart or not.

I hope this helps!

answered