In the error handler, write a rule that checks for
Rule Criteria:
Incident.ID equals 5 AND
DateTime.Time.Hour equals 0 AND
DateTime.Time.Minute equals 0
Then choose what you want to delete with one of these events:
Events:
PDStorage.DeleteAllGlobalData
PDStorage.DeleteAllUserData
PDStorage.DeleteGlobalData ("myKey")
PDStorage.DeleteUserData ("myKey")
incident.ID == 5 is a monitoring backgroud timer that triggers once every 60 seconds and can be used for this purpose.