Associate retention policies to entities to configure column-level or expression-based retention. You can associate a retention policy to multiple entities, columns, and expressions. You cannot associate a retention policy with an indefinite retention period to an entity.
If you select column-level retention, you must select a table in the entity and a column that contains date values. If you select expression-based retention, you must select a table in the entity and enter an expression.
Select
Workbench
Manage Retention Policies
.
The
Manage Retention Policies
window appears.
Click
Associate to Entity
next to the retention policy you want to associate.
The
Associate Retention Policy to Entity
window appears.
Click
Add Entity
.
Select an application from the
Application Module
list of values.
Select the entity from the
Entity Name
list of values.
To configure column-level retention, you must select an entity table and a column that contains date values.
Select a table from the
Entity Table
list of values.
Select a column that contains date values from the
Retention Column
list of values.
The Retention Column list displays date columns that are not null.
Click
Save
.
Repeat step
6 to associate the retention policy with another column.
To configure expression-based retention, you must select an entity table and enter an expression.
Select a table from the
Entity Table
list of values.
Click the icon in the
Expression
column.
Enter the expression in the
Expression
dialog box.
The
Expression
icon turns green to indicate that expression-based retention is configured for the entity association.
Click
Save
.
Repeat step
7 to associate the retention policy with another expression.
If the expression needs to evaluate a tag value, you must use the name of the tag column as it appears in the database. The following steps shows how you can determine the name of the tag column:
Select
Data Discovery
Browse Data
.
Select the archive folder, schema, and table.
Select all the tag columns,
ilm_metafield1
to
ilm_metafield9
, from the Data Columns section and move them to the Display Columns section using the
>
arrow. Click
Search
.
In the Results section, note the name of the tag column that contains the appropriate tag values.