Relativity Script Library

The following is a list of standard scripts available in Relativity. This list may vary per version of Relativity.

These scripts are available in the Relativity Script Library. To access the script library:

  1. Navigate to Home.
  2. Click the Relativity Script Library tab.

To add library scripts to your Script tab in a workspace for your users to run, see Scripts.

Caution: Changes to SQL fields executed by Relativity Scripts do not produce Audit logs.
Script Description

Analytics billable estimate

Allows a partner to assess the billable size of a potential Analytics index submission.

Billing statistics - case rollup

Reports on peak billable data for all cases in a Relativity environment; this can be used in environments where the auto-emailed statistics feature is not possible.

Billing statistics - users

Reports on all users who have had access to the case at any time during the month.

Case permission audit report

Reports on all users, workspaces, groups, and each group's permissions in a Relativity environment.
Choice field stratified sampling Selects a specified number of sample documents across categories chosen by the user, ensuring that each category is represented equally.

Create Cluster Upgrade Jobs

Creates job entries in the EDDS database to upgrade Analytics clusters for CAAT 3.17.2.

Create sample set

Randomly samples documents from a saved search to create a sample set

Forgotten password reset audit

This Relativity script provides audit records for user password reset requests generated using the Forgot your password? link on the login screen.

Globally administer keyboard shortcuts

Forcibly assigns a keyboard shortcut to a specific system function; this script runs against all workspaces.

Monitor Cluster Upgrade Jobs

Checks and reports the status of all Analytics cluster upgrade jobs recorded in the EDDS database.

Lockbox report

The Lockbox Report script will list out all workspaces where anyone at Relativity ODA LLC has current access to along with the name of the group that the Relativity ODC LLC user is linked to.

Lockbox Bypass report

The Lockbox Bypass Report script provides audit history of changes to the Lockbox instance setting, by whom, and when.

Populate parent ID to child

Populate parent to child is a workspace-level script propagates the Document ID of the parent document to any children of that document.

Processing statistics

Provides a report of processed data sizes per processing set and user in all workspaces in the environment and a summary of all processed data in all workspaces in the environment.

Propagate sent date to family documents Sets all email families' documents to the same sent date as their parent documents in a case.

RelativityOne Case Rollup

Reports on peak billable data for all cases in a Relativity environment; this can be used in environments where the auto-emailed statistics feature is not possible.
Report sample-based statistics Generates reports for the deprecated sample-based learning feature.

Reviewer statistics

Reports on the efficiency of reviewers over the specified date range; the returned statistics provide a count on how many documents were reviewed over a certain period of time.
Saved search gap and overlap check Identifies documents with gaps in Bates numbers or overlapping Bates numbers in a workspace.

Set duplicate flag field

Identifies and sets a Yes/No field on all case documents to indicate it as a duplicate or primary.
Set extracted text size field Stores a document's extracted text data length (in Kilobytes) in a decimal field for all documents in a case.
Set native file size field Stores the native file size (in KB), for each case document in a decimal field.

Set production beg/end attach fields

Populates the production beginning and end attachment range fields for each case document included in a production.

Set Relativity folder path field

Stores the current Relativity folder path of each document in a long text field.

Total Automated Workflows in Instance

Reports on the number of automated workflows in your instance.

Upgrade legacy applications

Upgrades a legacy application (v 6.8 and earlier) to a Relativity Application object

The Relativity Script Library includes all scripts installed with your version of Relativity. To request additional scripts, contact Relativity Customer Support.

The following scripts are available outside the script library:

Script Description

Australian Document ID

Renumbers your Relativity documents and Host/Family fields into a standard Prefix, Box, and Document format.
Moving Analytics indexes and structured analytics sets Moves an Analytics index from one location to another
Get database size

Displays size and location information for all database files in a specific workspace. Use the following SQL command to run this script:

exec sp_helpdb <databaseName>