Clearing logs and activities for workunits with status of Completed or Canceled

Depending on how many processes you run and how many workunits they generate, deleting logs and workunit activity data can be an important part of your system maintenance plan.

You can clear workunit logs and activities for workunits with Completed or Canceled status to minimize the amount of data related to workunits that is stored on your system without deleting the important artifacts, such as execution date/time and user actions, for a workunit.

You can delete logs and activities for workunits from the active Workunits list or from Workunit History.

This procedure does not cover these tasks:

  • Archive workunits in history.

    To hide completed workunits from workunit lists but not delete them and their associated data, you can move the workunits to history. Workunits retain all associated data for as long as they remain in history.

  • Permanently delete all workunit data.

    It is possible to permanently delete workunit data. If you have old data that you know you will never again need, deleting the data, which can become quite large, might be a good idea.

See Workunit views and table data cleanup.

  1. Access the Process Server Administrator and select Administration > Work Units > Work Units
  2. Click Actions > Schedule Logs And Activities Deletion.

    The Delete Logs and Activities dialog box is displayed.

  3. Select one or more of the types of records you to delete from these options:
    • Delete Work Unit Logs And Activity Logs: Delete all log data for workunits and activities.

    • Delete Activities And Activity Variables: Delete activity records.

    • Delete Work Unit Variables: Delete workunit variable information.

  4. Select the records to process. The action processes only workunits with a status of Completed or Canceled. Specify a method for selection:
    Work Unit Completion Date Range
    To process workunits within a specific range, select a begin and end date.
    Work Unit Completion Days Range Prior to Current Date
    To process workunits within a range of completion days prior to current date, specify the number of days prior to the current date. For example, if the date is February 1 and you want to clear January data, specify 31 in Begin Days and 1 in End Days.
    Work Unit Range
    To process workunits by work unit number, select begin and end workunit numbers.
  5. Click OK to run the action or click Schedule to schedule the action to run.

    For more information on scheduling actions and how to use the Schedule dialog box, see "Working with Async Action Requests" in the Infor Landmark Technology Server Setup and Maintenance Guide or in the Landmark Technology help.