To specify how objects of a given object type should be archived, a new archive configuration must be created.
The following is an example condition which could be used for archiving of all closed incidents created more than 2 years ago (the current time being the time of running the archive action).
ticketclass.name == 'Incident' && in(status,'IN_CLD') && datchg < _2YearsAgo()
- Object Type
Object type whose archiving is being configured
- Condition
Condition for selection of objects to be archived
- Description
Description characterizing the configured archiving for simple identification
- Enabled
Only when this check box is selected the configured archiving can be used
- Relations
Tab where archiving of related object types is specified.
- Analyze
Use this button to re-analyze the archived object type and its relations. It needs to be done when new relations have been added to the root object type or when delete rules on the relations have been changed.
Running the analysis adds the new relations to the 'Relations' list. The relations are assigned the default archiving action. The action can be manually changed if necessary.
- Condition
Use this button to open Valuemation query editor for specifying the 'Condition'.