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

Add posibility to clean up old workflow instances

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.7.3
    • Fix Version/s: 5.8
    • Component/s: Workflow
    • Upgrade notes:
      Hide

      From 5.8 by default, completed workflow instances are removed.
      The clean-up is triggered daily at midnight. (by a scheduler with the id 'workflowInstancesCleanup' -that can be overridden to change its quartz expression).
      If you want to keep these workflows add the following line in nuxeo.conf:
      nuxeo.routing.disable.cleanup.workflow.instances = true

      By default the number of instances deleted every time the scheduler is trigger is set to 100.
      This can be changed by setting the property 'nuxeo.routing.cleanup.workflow.instances.batch.size' in nuxeo.conf.

      Show
      From 5.8 by default, completed workflow instances are removed. The clean-up is triggered daily at midnight. (by a scheduler with the id 'workflowInstancesCleanup' -that can be overridden to change its quartz expression). If you want to keep these workflows add the following line in nuxeo.conf: nuxeo.routing.disable.cleanup.workflow.instances = true By default the number of instances deleted every time the scheduler is trigger is set to 100. This can be changed by setting the property 'nuxeo.routing.cleanup.workflow.instances.batch.size' in nuxeo.conf.

      Description

      By default a scheduler will trigger an event to cleanup 'done' or 'canceled' workflow instances every night at midnight.
      This can be disabled by setting to 'true' the property 'nuxeo.routing.disable.cleanup.workflow.instances' in nuxeo.conf.
      To prevent performance problems in case there are too many workflow instances, the number of instances removed is limited to 100.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: