Scheduling the Process to Delete Cell History

When you delete cells from a forecast, they no longer display, but they are kept in your org together with their history. Over time, these deleted cells can use a significant amount of data storage. The Delete Cell History action on the Planning Task Launcher enables you to permanently remove the deleted cells from all the forecasts that match your filter criteria. The process runs in the background, either immediately or on a schedule.

For each deleted cell, the process permanently removes the cell together with its cell history, adjustments, and comments. Cells that are still in the forecasts are not affected.

Warning:

You cannot undo this action. The removed cells and their history cannot be recovered, including from the Recycle Bin.

To run the process, you must have permission to delete plans. The process applies to all the forecasts that match the filter criteria, up to 15,000 at a time. You do not select individual forecasts.

Deleted cells are not removed in the following cases:

  • For forecasts that are sent to Analytics, cells deleted since the last time the forecast was sent are kept so that Analytics receives the deletions first. They are removed the next time the process runs after the forecast is sent to Analytics.
  • Forecasts that are locked or in use by another job are skipped.
  • Forecasts that you don't have permission to delete are skipped.

Skipped cells are removed the next time the process runs. When the process finishes, the Error Message field on the related asynchronous process job record shows the number of cells whose history was removed and the number of forecasts that were skipped.

A scheduled process finds the forecasts that match the filter criteria each time it runs, so forecasts created after you schedule the process are included. The process runs as the user who created the schedule.

When the process removes cells from a forecast, a "History deleted" entry is added to the forecast history.

We recommend you create the Delete Cell History schedule after your Send to Analytics schedule, or set it to run at a later hour. This ensures that deleted cells are purged only after their deletion has been sent to Analytics.

To schedule the process to delete cell history:

  1. From the Planning Task Launcher tab, in the Maintenance section, click Delete Cell History. The Delete Cell History wizard displays.
  2. In the Filters panel, for Input Data Source, select "Services Forecast Live". This ensures that all forecasts are processed.
  3. Click Apply. The Plans table refreshes to display all your forecasts.
  4. Click Next. The Select Settings page of the wizard displays. This page enables you to schedule future executions of the process.
  5. Define the schedule for future executions of the process. To do this:

    1. Ensure that Schedule Delete Cell History is selected.
    2. For Schedule Frequency, select one of the following:

      • Hourly: if you want the process to run every hour.
      • Daily: if you want the process to run once every day.
      • Weekly: if you want the process to run on specific days of the week. You can then select the days.
      • Monthly: if you want the process to run once every month. You can then select a monthly method to determine which day of the month the process runs on.
    3. For Schedule Start Time, select the preferred hour when you want the process to run.

      Note:

      Only the hour part of your selection is used, the minutes are ignored. This is because the system checks for scheduled processes every hour on the hour and then executes them. If multiple jobs are found for the same hour, they run one at a time, in the order in which their schedules were created. Any job that does not run within its hour stays queued and runs first in the next hour.

  6. Click Delete. A confirmation window opens.
  7. Click Delete to confirm. The schedule is created and the history of deleted cells is removed each time the process runs. You can monitor its execution from the Asynchronous Process Jobs tab.

If you cannot wait for the next scheduled run, you can run the process on demand. For more information, see Deleting Cell History On Demand.