Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Deleting tickets after a certain period of time

Hi there,


I am trying to add an auto delete in to my ticket submission app so they tickets get deleted after two weeks if they are marked as completed. I have the date and the status tracked in a column on the data source just not sure how to go about setting it up.


Many thanks


Super User II
Super User II

I recomand to use a daily/weekly/monthly recurrent PowerAutomate flow to achive your goal.


Inside the flow you target to identify the items already meeting the conditions to be deleted and of course you delete this items.



Hi @gabibalaban 


Thanks for the reply, I am very new to all of this. I've been looking up removeif function this this the best way to go about deleting old tickets?


Sorry for my total lack of knowledge!

Inside a PowerApps app you can use a Timer control to do repetitive tasks (like checking items and take actions if a condition is fullfilled), but this tasks only run if the parent app is running. 

Helpful resources

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users


We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (34,846)