Create a check definition for a custom remedial action

task brazil Updated Oct 23, 2026 2 min read create-check-def-remedial-actions.md
Raw file servicenow.com

Create a check definition and link it to the Agent Client Collector (ACC) plugin to enable the ACC agent to run a custom remedial action.

Before you begin

Role required: admin

Procedure

  1. Navigate to All > Agent Client Collector > Configurations > Check Definitions.

  2. Select New.

  3. On the form, enter a name for the check definition in the Name field.

    For example, custom-script-check.

  4. Select the check type to define how the output is processed after running the check definition.

    1. In the Check type field, select the Lookup using list icon [Omitted image "icon-magnifying-glass-blue.png"] Alt text: to navigate to the Check Types page.

    2. Always select the DexContentAction check type from the list.

    3. Add a timeout script for the remedial action check definition.

      JavaScript
      var util = new sn_dex.DEXRemedialActionsUtils();util.handleRemedialActionTimeout(request);
  5. In the Command field, enter the name of the .rb script included in the ACC plugin package.

    For example, custom-script.rb.

    Note: For information about creating a check definition with input parameters, see Create a check definition.

  6. From the When to send the check results drop-down list, select when to send check results.

  7. In the Plugins field, integrate the plugins in the ACC plugin package with the check definition.

    1. Select the Unlock plugins icon [Omitted image "icon-visible-fields.png"] Alt text:.

    2. In the Select target record field, select the Lookup using list icon [Omitted image "icon-magnifying-glass-blue.png"] Alt text: and select the plugin or enter the plugin names.

      For example, acc-f-commons and acc-dex-custom.

    3. Select the Lock plugins icon [Omitted image "icon-lock-visible-fields.png"] Alt text:.

  8. On the form, fill in the remaining fields.

    For a description of the field values, see Agent Client Collector check definition page.

  9. Select Submit.

Search documentation
Search document titles and file paths on the brazil branch