135 views

Description

UI policies on Variable Sets take precedence over UI policies on Catalog Item despite order setting

Steps to Reproduce

  1. Create a new catalog item.
  2. Create a variable set with two variables:
    • Yes/No variable
    • Single-line text variable
  3. Create a UI policy in variable set that sets variable b mandatory to true if variable a is yes and order set to 1000.
  4. Exit to catalog item.
  5. Create a UI policy in catalog item that sets variable b mandatory to false if variable a is yes and order set to 100.
  6. Test the catalog item.
    Note that variable b is mandatory when variable a is yes, even though the catalog item UI policy has a lower order value.

Workaround

Set the system property glide.sc.ui_policiy.variable_set_run_first to:

  • true to have the item UI policies run last
  • false to have the variable set UI policies run last

Related Problem: PRB646515

Seen In

Eureka Patch 11 Hot Fix 2
Fuji Patch 11
Fuji Patch 7 Hot Fix 5
Helsinki Patch 3

Fixed In

Helsinki

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2016-09-23 08:24:16
Published:2016-09-23