1 Reply Latest reply on Sep 24, 2015 1:22 PM by eelsasser

    Reset PDStorage at a given time

    Troja

      Hi all,

      has anyone an idea how to reset any PDStorage User Data at the specific time??

      E.g. Resetting any PDStorage User Value at 00:00 AM.

      Cheers

        • 1. Re: Reset PDStorage at a given time

          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.