Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Add diagnostic and fix scripts

Add diagnostic scripts to scan the data in your application for any corruption. You can also attach fix scripts to rectify the corrupt or invalid data identified by the diagnostic script.

Before you begin

Role required: adt_admin

About this task

The results of the filter conditions that you specify in a diagnostic feature are used as an input for the diagnostic script while executing. You can also use the result of one script in subsequent scripts.

Procedure

  1. Navigate to All > Application Diagnostics Tool > Scripts.

  2. Select New.

  3. On the form, fill in the fields.

    For more information, see Diagnostic Scripts form.

  4. Include a script for fixing the corrupt or invalid data identified by the diagnostic script.

    1. Select the Has Fix script check box.

    2. Select the Edit User Roles icon (

Image omitted: edit\_user\_roles\_icon.png
Edit User Roles icon\) and choose the roles that can access the diagnostic script.
3.  In the **Fix script** section, add the code for the fix script.
  1. Select Submit.

Related topics

Project Diagnostics