# Genesys Quality Management Suite 8.1.520 : Custom Triggers

For Archive navigate to Settings > Configuration > Maintenance > Archive > Add archive task.

Maintenance tools can be run based on custom event triggers defined by the administrator. Combine custom selection conditions for triggers with the Boolean operator “AND”. Available Call Detail Record (CDR) values for custom selection queries include:

- Description
- Call length (in seconds)
- File path
- Called number
- Calling number

This would make it possible, for example, to create a trigger to immediately archive all calls more than thirty minutes long upon call completion.

Available comparison expressions include:

- Equals
- Does not equal
- Lesser than <
- Lesser than or equal <=
- Greater than >
- Greater than or equal >=
- Exists (for use with Calling number and Called number)
- Does not exist (for use with Calling number and Called number)
- Begins/ends with (for use with Calling number and Called number)
- Contains (for use with Calling number and Called number)

Matching/Not matching regular expression (“regexp”)

Valid data types include:

- string
- num

Conditions may be combined using brackets and Boolean operators (AND/OR).