Debug actions on catalog item variables

Use the Variable Action Logger window to analyze the client-side actions affecting the state and values of all variables on a catalog form. You also get insights into the performance of each script working on the variables.

Before you begin

Role required: Administrator (admin), catalog administrator (catalog_admin), catalog manager (catalog_manager), or catalog editor (catalog_editor).

About this task

The Variable Action Logger window 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 window is a client-side logger and 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 Service Catalog > Catalog Administration > Enable Variable Action Logger. The UI Page Customization Diagnostics window is enabled.
  2. Navigate to Service Catalog > Catalog Definitions > Maintain Items.
  3. Select a catalog item and click Try it.
  4. Right-click the header and select Show Variable Action Logger. 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.
    • Action taken on the variable.
    Note: The variable logs are grouped by catalog UI policies, catalog client scripts, and data lookups.
    Figure 1. Variable Action Logger window
    Screenshot for the Variable Action Logger window
  5. To search for a variable or script, use the Search field.
  6. To collapse variable logs within a group, click Collapse All.
  7. To expand variable logs within a group, click Expand All.
  8. To filter variable logs, click Filter and select the required options.
  9. To clear variable logs, click Actions and select Clear Logs.
  10. To export the variable logs to a .csv file, click Actions and select Export to CSV.
  11. To print variable logs, click Actions and select Print Logs.
  12. To disable the UI Page Customization Diagnostics window, navigate to Service Catalog > Catalog Administration > Disable Variable Action Logger.