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

Debug actions on catalog item variables

Analyze the client-side actions affecting the state and values of all variables. You can also get insights into the performance of each script working on the variables.

Before you begin

Role required: admin, catalog_admin, catalog_manager, or catalog_editor.

Note: You can perform this task with the catalog_manager or catalog_editor role only if you are assigned as the manager or editor of the catalog.

About this task

The variable action logger displays the chronology of actions that happen on all variables of a catalog item before it is submitted. These actions can happen due to catalog client scripts, catalog UI policies, or catalog data lookups. This client-side logger does not store any data in the database. Also, the information displayed is applicable only while you work on the catalog form.

Procedure

  1. Navigate to All > Service Catalog > Catalog Administration > Enable Variable Action Logger.

    The UI Page Customization Diagnostics logger is enabled.

    Note: Perform this step before you run the logger.

  2. Navigate to Service Catalog > Catalog Definitions > Maintain Items.

  3. In the Catalog Items list, select an item that you want to log ****.

  4. On the Catalog Item form, click Try it.

  5. On the catalog page for the item, right-click the header and select Show Variable Action Logger.

    Note: The variable logs are grouped by catalog UI policies, catalog client scripts, and data lookups.

    The following information is displayed in the Variable Action Logger window:

    • Order in which scripts and actions are executed. When a new action is triggered from an existing action, the order of the new action is tracked at a sublevel under the order of the existing action. For example, the order of a new action triggered from step 1.2 is 1.2.1.
    • Source of the action taken on a variable and the variable name.
    • Details of the action taken on the variable.
Image omitted: VariableActionLogger.png
Screenshot for the Variable Action Logger window
  1. Review the results of the variable action logger.
SearchTo search for a variable or script, use the Search field.
Collapse AllTo collapse variable logs within a group, click Collapse All.
Expand AllTo expand variable logs within a group, click Expand All.
FilterTo filter variable logs, click the Filter icon \(
Image omitted: Filter.png
Filter icon\) and select the required options.
Clear LogsTo clear variable logs, click the Actions icon (
Image omitted: Actions.png
Icon to clear variable logs) and select <strong>Clear Logs</strong>.</td></tr><tr><td id="d276212e250"><strong>Export to CSV</strong></td><td>To export the variable logs to a .csv file, click the Actions icon ( [Omitted image "Actions.png"] Alt text: Actions icon) and select <strong>Export to CSV</strong>.</td></tr><tr><td id="d276212e268"><strong>Print Logs</strong></td><td>To print variable logs, click the Actions icon ([Omitted image "Actions.png"] Alt text: Actions icon) and select <strong>Print Logs</strong>.</td></tr></tbody>

Parent Topic:Debugging Service Catalog

sndocs is an independent community mirror and is not affiliated with or endorsed by ServiceNow.

ServiceNow, the ServiceNow logo, Now, and other ServiceNow marks are trademarks and/or registered trademarks of ServiceNow, Inc., in the United States and/or other countries. Other company and product names may be trademarks of the respective companies with which they are associated.

© 2026 ServiceNow, Inc. All rights reserved.

Documentation content is redistributed under the Apache License 2.0 from the ServiceNowDocs repository.