Add diagnostics and fix scripts for resource

  • Freigeben Version: Australia
  • Aktualisiert 12. März 2026
  • 1 Minute Lesedauer
  • Add existing or new 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.

    Vorbereitungen

    Role required: adt_admin

    Warum und wann dieser Vorgang ausgeführt wird

    You can create multiple diagnostic scripts to check various aspects of data. The results of the filter conditions, that you specify in a diagnostic feature, is used as an input for the diagnostic script while executing. You can also use the result of one script in subsequent scripts.

    Prozedur

    1. Navigate to All > Application Diagnostics Tool > Scripts.
    2. Select New.
    3. On the Diagnostics Scripts form, fill the fields.
      For a description of the field names, see Diagnostics Scripts form.
    4. Wahlweise: If you want to include a script for fixing the corrupt or invalid data identified by the diagnostic script, select the Has Fix script check box.
    5. Use Fix script Access Roles to move required roles to the Selected list.
      The users with the selected roles can access the diagnostic script.
    6. In the Fix script section, add the actual code for the fix script.
    7. Select Submit.