Managing tasks

Last updated: February 23, 2026

Overview

Tasks play an important role in tracking customer interactions and communications. To protect this information, task deletion is restricted by default, and audit trail functionality is always enabled. The audit trail keeps a detailed, continuous record of task comments and actions—helping maintain transparency, support due diligence, and reduce E&O risk. This article outlines key features related to tasks and audit trail functionality. The system has two methods of maintaining this log:

Legacy Task Audit Trail

All versions of amplo currently utilize the legacy audit trail functionality by default. This version of the audit trail utilizes a custom Visualforce (VF) page to enter new comments, and then those comments are appended to existing text in the standard Task Description field, generating the running log. To capture all task edits, the Edit button of the Task modal is set to redirect to this custom VF page.

Task New Audit Trail

The Task New Audit Trail feature utilizes the standard Task object to input Task information and comments but stores the subsequent running log on a custom object. The information from this custom object is then displayed on the side of the Task modal.

By removing dependencies on the custom Visualforce edit page, customers can:

  • Add and maintain custom Task fields.

  • Retain full audit history of Task updates.

  • Improve system integrity and traceability across workflows.

Note: Our team is aware of a limitation regarding dates entered into the Comment field. For more information, please review Blank comments in Task Audit Trail.

Enabling the Task New Audit Trail

The Task New Audit Trail functionality requires a VerunaCore license. If your organization has any users that require other licenses, we recommend continuing to use the legacy Audit Trail feature.

  1. Click on the gear in the top right corner.

  2. Use the Quick Find search to locate Custom Settings.

  3. Find and click on Veruna Support.

  4. Click Manage, then Edit.

  5. Locate the Task New Audit Trail setting.

  6. Enable the checkbox.

    Screenshot 2026-02-23 at 9.24.03 AM.png
  7. Click Save.

    Screenshot 2026-02-23 at 9.32.56 AM.png

Update the Task Object configuration

  1. In Setup>Object Manager, find and click on the Task object.

  2. In the left hand panel, click on Buttons, Links, and Actions.

  3. Locate the standard Edit button, and click the drop down arrow on the right side of the screen.

  4. Click on Edit.

  5. Ensure that each override is set to No Override as in the screenshot below.

  6. Click Save.

image.png

Adjust the Page Layout

  1. Back in the Task object, click on Page Layouts in the left panel.

    If multiple layouts are available, confirm which is currently being used.

  2. Ensure that the Comments field is visible on the layout.

  3. If displayed, remove the Audit Trail Comments field from the layout.

  4. Click Save.

image.png

Ensure the Audit Trail component is on the Lightning Page

  1. In the Task object in Object Manager, click on Lightning Record Pages.

  2. Click on VRNA Task Page, then click Edit.

    You may see two VRNA Task Page entries; you will want to choose the one that is not associated to the managed package.

  3. Ensure the custom component auditTrail is on the right side of the screen.

    image.png
  4. Click Activation.

  5. Click Assign as Org Default.

    If already assigned as Org Default, click Close and then Save.

image.png
  1. Click Next.

image.png
  1. Click Save.

image.png

Run the migration script

  1. Run one of the following scripts in the Developer Console. These scripts move the current Legacy Comments over to the new Audit Trail records.

    1. Click the gear in the top right hand corner, and open Developer Console.

    2. In the toolbar, click on Debug -> Open Execute Anonymous Window.

    3. Copy and paste the script below, and click Execute.

// Execute the batch - this will query all Tasks whose status is not 'Completed'
// Batch scope size must be 1, to ensure proper rollbacks on error
Database.executeBatch(new VRNA.BatchMigrateToNewTask(), 1);

Note: This script should be executed off-hours to avoid disrupting active operations or workflows.

Validate and test

After running the migration:

  • Confirm that all Comments are properly migrated to the Task Audit Trail.

  • Test creating and updating tasks to ensure the new audit tracking is functioning as expected.

  • Verify that custom fields on the Task object remain intact.

Deleting tasks

Task deletion is intentionally restricted to protect audit integrity, accountability, and regulatory compliance. Tasks capture important actions — such as follow-ups and communications — and create a reliable record of activity. This documentation supports due diligence and helps protect against E&O claims. In limited situations, an administrator may need to temporarily override deletion restrictions. Common examples include:

  • Removing test or training data

  • Correcting migration or import errors

  • Cleaning up duplicate or corrupted records

  • Resolving system conflicts, such as character limit issues

Important: Any override should be temporary, performed only by an administrator, fully documented, and reversed immediately once the cleanup is complete. This controlled process allows for essential system maintenance while maintaining the integrity of the audit trail and compliance with E&O standards.

Enable task deletion

Use the steps below to temporarily enable task deletion.

  1. Click the gear icon, then click Setup to access the Setup Menu.

    Screenshot 2026-02-23 at 9.11.12 AM.png
  2. Select Custom Settings.

  3. Locate Veruna Support (click the V to to filter the list) and click Manage.

Screenshot 2026-02-23 at 9.13.22 AM.png
  1. Click Edit.

Screenshot 2026-02-23 at 9.14.51 AM.png

Confirm your org's task functionality

To determine which task functionality is enabled in your org:

  1. Go to Setup > Custom Settings.

  2. Locate the Task New Audit Trail checkbox.

Screenshot 2026-02-23 at 9.24.03 AM.png

a. If the checkbox is selected, follow the Task New Audit Trail instructions.

b. If the checkbox is not selected, follow the Legacy Task Audit instructions.

Legacy Task Audit Trail instructions

  1. In the Task Prevent Deletion Bypass field, enter True.

Screenshot 2026-02-23 at 9.17.57 AM.png
  1. Click Save.

Screenshot 2026-02-23 at 9.18.40 AM.png

Task New Audit Trail instructions

  1. In the Task Audit Trail Bypass field, enter True.

Screenshot 2026-02-23 at 9.20.19 AM.png
  1. Click Save.

    Screenshot 2026-02-23 at 9.21.09 AM.png

Delete the tasks

  1. Once finished, return to Custom Settings.

  2. Clear the bypass field.

  3. Click Save.

Note: Restore deletion restrictions immediately after cleanup is complete. Document any mass deletions separately. Capture screenshots or maintain a log of deleted records to preserve a clear audit trail.