When you change the retention policy assigned to records in an entity, you must select the records you want to update. Select the records to update when you modify the assigned retention policy in Data Discovery.
To select records to update, you must specify the conditions to which the new retention policy applies. Enter each condition in the format "<Column><Operator><Value>." The
Is Null
and
Not Null
operators do not use the <Value> field.
For example, to select insurance records in an entity that have messages, you might enter the following condition:
MSG_ID Not Null
You can specify multiple conditions and group them logically. For example, you want to apply a retention policy to records that meet the following criteria:
JOB_ID > 0 AND (CLAIM_TYPE = 1 OR CLAIM_NO > 1000 OR COMPANY_ID = 1007)
Enter the following conditions:
JOB_ID Greater Than 0 AND
( CLAIM_TYPE Equals 1 OR
CLAIM_NO Greater Than 1000 OR
COMPANY_ID Equals 1007 )
Use the following guidelines when you specify the conditions for record selection:
Enclose string and varchar values in single quotes.
For example, to select insurance records with policy numbers that begin with "AU-," enter the following condition:
POLICY_NO Starts With 'AU-'
Specify case-sensitivity for string comparisons.
By default, Data Archive performs case-sensitive string comparisons. To ignore case, enable the
Case Insensitive
option.
You can specify that a condition is within a range of values.
Use the
In
operator to specify that a condition is within a range of comma-separated values, for example,
CLAIM_CLASS IN BD1, BD2
. Do not enclose the list of values in parentheses.
You can specify multiple conditions.
Use the
Add Row
button to add additional conditions.
You can group conditions.
If you specify multiple conditions, you can group them with multiple levels of nesting, for example, "(A AND (B OR C)) OR D." Use the
Add Parenthesis
and
Remove Parenthesis
buttons to add and remove opening and closing parentheses. The number of opening parentheses must equal the number of closing parentheses.