Catalog items with a CheckBox variable type that used to show another field via a catalog UI policy are not working the same on Service Portal. For example, say that a catalog item has the following fields:
Field A (CheckBox)
Field B (Single Line Text)
On load, Field B is hidden and appears only after Field A is set to true (selected). This works correctly within the Service Catalog but on the Service Portal. the action within the Catalog UI policy runs only when selecting and clearing Field A.
Steps to Reproduce
Create a catalog item with two variables:
- Field A (Check box)
- Field B (Single Line Text)
- Create a Catalog UI Policy with the following condition:
- Field A is false
- On load: True
- Reverse if false: True
For more information, see the product documentation topic Create a Catalog UI policy.
Create a Catalog UI Policy Action:
- Variable: Field B
- Visible: False
From the Service Catalog, open the new catalog item:
- Note that on load, Field B is hidden.
- When selecting the box for Field A, Field B is shown.
Open the same catalog item from the Service Portal.
On load, Field B is shown but it should be hidden.
Set the default value for the check box variable item to false.
Related Problem: PRB712274