398 views

Description

Catalog UI policies do not work if the write role is applied to variables used in the condition for non-admin users. For the variable with 'nobody' write roles on the RITM record, g_form.getValue() returns Choice Text instead of Choice Value.

Steps to Reproduce

  1. Navigate to Service Catalog > Catalog Definitions > Maintain Items.
  2. In the Name column, click Apple iPhone 5.
  3. Go to the Variables section or tab.
  4. Add write role of 'admin' to the storage and color variables.
    You may need to configure the form and add the Write roles option to the form. 
  5. Go to the Catalog UI Policies section or tab.
  6. Click New.
  7. Create a Catalog UI policy with the condition [Storage] [is] [64GB].
  8. In the Catalog UI Policy Actions section, click New.
    • In Variable name, select color
    • In Visible, select False
    • Click Submit
  9. Click Submit.
  10. Navigate to Service Catalog > Catalog > HardwareApple iPhone 5.
  11. Click Apple iPhone 5.
  12. Click Order Now.
  13. Impersonate a non-admin ITIL user.
  14. View the request item from step 12.
    The variable is visible and formatted oddly. If the write roles are removed from the variables used in the Catalog UI policy, it works as expected.

Workaround

There is no known workaround for this issue. If you are able to upgrade, review the Fixed In field below to determine the versions that have a permanent fix. You can also subscribe to this known error article (click Subscribe button at the top of the article) to receive notifications when more information is available about this issue.


Related Problem: PRB668721

Seen In

Fuji Patch 12 Hot Fix 1
Fuji Patch 13 Hot Fix 1
Geneva Patch 4
Geneva Patch 5
Geneva Patch 6
Geneva Patch 7
Geneva Patch 8
Helsinki Patch 0 Hot Fix 1
Helsinki Patch 1
Helsinki Patch 2
Helsinki Patch 3

Fixed In

Helsinki Patch 4
Istanbul

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2017-09-08 02:45:24
Published:2016-08-25