Track document field edits by reviewer

Note: You must have valid Relativity Community credentials in order to download any Community file linked to the documentation site. You'll need to enter those credentials on the Community login screen if you're not already logged in. If you're already logged in to the Community at the time you click a link, the file is automatically downloaded in the bottom left corner of your screen. If you get an error message stating "URL No Longer Exists" after clicking a Community link, it may be due to a single sign-on error related to the SAML Assertion Validator, and you should contact your IT department.

The Track Document Field Edits by Reviewer solution tracks the first or most recent change to a field that you specify and it populates two other fields, Reviewed By (User) and Reviewed On (Date), with information about those changes. An event handler will monitor the tracked fields and update the Reviewed On and Reviewed By fields based on the tracker's settings.

Before you begin

The Track Document Field Edits by Reviewer solution tracks the first or most recent change to a field that you specify and it populates two other fields, Reviewed By (User) and Reviewed On (Date), with information about those changes. The Reviewed By field stores the name of the user who made the change. The Reviewed On field stores the time when the user made the change. This solution can track Single Choice, Multiple Choice, and Yes/No fields. In addition, you can specify whether you want to track only the initial change or all changes to the field.

Note: The following scripts that were previously associated with Track document field edits by Reviewer are no longer compatible:
Populate Reviewed By/Fields for Historical Edits
Track Document Field – Disabled Users
Track Documents Field Edits by Reviewer – Event Handler Maintenance

Components

This solution consists of the following components:

  • Relativity application
  • Relativity object
  • Event handler
  • Mass Operations - Populate Historical Data

RelativityOne considerations

  • This solution does not automatically capture and report data about changes that users made to the field before you installed and configured the application in the workspace.
  • If a system admin or workspace admin makes a change, they must be part of a non-admin group assigned to the workspace that has access to the fields. This is due to security of a field. This applies when the Reviewed By field is not on the Document layout.

Considerations

  • All dates/times for Reviewed On & Reviewed By fields will now be in UTC due to Relativity software requirements.
  • This solution doesn't support the client domains (multi-tenancy).
  • The Reviewed By and Reviewed On fields are not created upon application import. These fields must be created per Field to Monitor.
  • You can specify the Field to Monitor setting only once. If you set multiple tracking entries on one Field to Monitor item, Relativity displays an error.
  • If a user is deleted, you cannot search for them by using the User field to filter the view, although you can see the user's name in the field at the document level.
  • This solution does not track changes made using mass operations or propagation. Neither the event handler nor the Populate Historical Data mass operation take mass edits into account.
  • Audit records are created only if the Reviewed By and Reviewed On fields are on the layout.
  • If a user is removed from the groups in the workspace, they cannot be selected as a filter option for the Reviewed By field.
  • The Populate Historical Data mass operation only populates historical data for users who coded documents and still have access to the workspace.

Deploying and configuring the solution

To begin using this solution, download and add it to the Application Library as a Relativity application.

To download the application:

  1. Log in to the Relativity Community, and click on the Relativity Applications folder.
  2. Locate the newest Track Document Field Edits by Reviewer .rap file that is compatible with your version of Relativity and select it.The solutions in the Relativity Applications folder are sorted from most recently modified to oldest. As a result, solutions at the top of the page are normally the newest versions of the respective solutions. If you see more than one version of the solution, select the .rap file with the higher version number to ensure you're deploying the most up-to-date solution.
  3. Click Download.

To add the solution to the Application Library:

  1. Navigate to the Application Library tab.
  2. Click Upload Application.
  3. Click Select File.
  4. Navigate to and select the application file included in the solution, and then click Open.
  5. Click Save to upload the file to the Application Library.

To add the solution to a workspace:

  1. In the Workspaces Installed section, click Select to install the application to one or more workspaces.
  2. Select the workspaces where you want to install the application, and then click the Move selected left to right icon.
  3. Click Apply.
    The application is installed to the selected workspaces. A list of workspaces where the application has been installed displays in the Workspaces Installed section.

Preparing the workspace

After you add the solution to the Application Library, you will need to add your admin user account to a non-admin group. Once your user account has been added, we recommend that you test to make sure that the changes show up in the Reviewed By/On field (or whichever normal tracking fields you usually use).

Once this testing has been completed, you're ready to install and configure it in a workspace.

To do this:

  1. Create two new fields to store user and date data for the field you want to track.
  2. Configure the application to track and store data in the appropriate fields.

Creating the tracking fields

To create fields to store data about changes to the field that you want to track:

  1. In the workspace, navigate to the Fields tab.
  2. Create a new User field named "Reviewed By".
    • Name: Reviewed By
    • Object type: Document
    • Field Type: User
  3. Create a new Date field named "Reviewed On".
    • Name: Reviewed On
    • Object type: Document
    • Field Type: Date

Configuring the application

Now that you've created fields to store the tracking data, you're ready to configure the application to use those fields and capture the changes that you want to track.

To configure the application:

  1. In the workspace, navigate to the Document Field Edits Tracker tab.
  2. Click New Document Field Edits Tracker.
  3. Enter the following settings:
    • Field to Monitor - click Select and select the field that you want to track changes to. The field must be a single choice, multiple choice, or Yes/No field. When a user changes the field that you select, the Reviewed By and Reviewed On fields are updated to indicate the name of the user who made the change and when they made the change.
      Note: Specify a Field to Monitor setting only once. If you set multiple tracking entries on one Field to Monitor item, you'll receive an error.
    • Reviewed On Date Field - click Select and select the Reviewed On (Date) field that you created to store data about when a user changes the field being tracked.
    • Reviewed By User Field - click Select and select the Reviewed By (User) field that you created to store data about which user changed the field being tracked.
    • Track Initial Change Only - select this check box to update the Reviewed On and Reviewed By fields only when a user changes the tracked field from "not set" to a specific choice. If set to Yes, the selected Reviewed By User and Reviewed On Date fields will be updated with the first edit that was made on the document in the selected field. If set to No, the selected Reviewed By User and Reviewed On Date fields will be updated with the last edit that was made on the document in the selected field.  

  4. Click Save.

Populating Historical Records

The population of historical data can now be done across multiple Document Field Edits Tracker objects and run against a single saved search.

Note: Before completing the following steps, create a saved search that contains only the documents where you wish to track the field edits. Including too many documents in a saved search can cause performance degradation. To learn more about creating saved searches, see Creating or editing a saved search.

To populate history, do the following:

  1. Ensure that the Document Field Edits Tracker Historical Processor Agent is enabled.
  2. Navigate to the Document Field Edit Trackers tab.
  3. Select the Document Field Edit Trackers you wish to run from the list.
  4. Click on the mass operations toolbar and select Populate Historical Data. You must have the Populate Historical Data mass operation permission to view and select this option.

The mass operations menu with the Populate Historical Data displayed.

  1. Select the Saved search that contains the documents where you wish to track the previously selected Field to Monitor.

The Populate Historical Data modal with a saved search selected.

  1. Click Ok.

Viewing the results

To view the results of running the solution, navigate to any view, layout, or other area that contains the Reviewed By and Reviewed On fields.