In Service Portal, for any Catalog Item, if there is a read only variable (set via UI Policy), the Reference icon becomes disabled.

Steps to Reproduce


  1. Navigate to Service Catalog > Maintain Items and open the Server Reboot catalog item.

  2. In the Variables related list, click New.

  3. Create a new variable with the following values:

    • Name: requested_for
    • Type: Reference
    • Reference (in the Type Specifications tab): User [sys_user]
    • Default Value (in the Default Value tab): javascript:gs.getUserID();
  4. Click Submit.

  5. Create a Catalog UI Policy for this catalog item, and a Catalog UI Policy Action to make the Requested_for variable Read-Only.

    For more information, see the documentation topic Create a UI policy for catalog items.

  6. Navigate to Service Catalog > Maintain Items, open the Server Reboot catalog item, and click Try It.

    Note that you can see the new variable and that the reference icon behaves correctly when you hover over or click it.

  7. Go to Service Portal and search for<sys_id>.

    Replace <sys_id> with the Sys ID of the Catalog Item.

    Note that nothing happens when you click the reference icon next to the Requested for field.


This issue is under review. To receive notifications when more information is available, subscribe to this Known Error article by clicking the Subscribe button at the top right of the article. If you are able to upgrade, review the Fixed In field to determine whether any versions have a permanent fix.

Related Problem: PRB961165

Seen In

There is no data to report.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-05-21 11:35:01