Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22164

Schedule Date based Record evolution

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: ADDONS_7.10, ADDONS_9.10
    • Component/s: Retention

      Description

      As a system, I should have a schedule triggered every hour that calls RetentionService.checkDateRules()

      Add those methods to the Service:

      • protected getExpiredRecords(): That query all Record with cutoff_at date over and state to undefined AND Records with dispose_at date over and state to cuted off.
      • public checkRule(Record): Evaluate what to do with the Record, leaves it empty for now
      • public checkDateRules(): that get all expired records and call checkRule on each

      Method `getExpiredRecords` have to be tested

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: