Add diagnostic and fix scripts

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • 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.

    Avant de commencer

    Role required: adt_admin

    Pourquoi et quand exécuter cette tâche

    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.

    Procédure

    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. Facultatif : 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 (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.
    5. Select Submit.