Notifications

147 views

Description

Catalog UI Policies applied on Requested Items option do not work when setting variable to Not Mandatory

Steps to Reproduce

  1. Go to an OOB catalog item: "Apple iPad 3"
    • /pc_hardware_cat_item.do?sys_id=060f3afa3731300054b6a3549dbe5d3e
  2. Add a MANDATORY Variable single_text (type: single line text) (make sure the Mandatory check box is checked in the variable form), Submit
  3. Create a Catalog UI Policy on "Apple iPad 3" with "Applies on Requested Items" checked, Submit
  4. Create a UI Action on variable: single_text. Set Mandatory = false, Submit
  5. Goto the catalog item link in step1, and Click "Try It" to fill out text on Mandatory field the and click Order Now.
  6. Open the newly created RITM record. You can see that there is no Mandatory request(*) for the variable:single_text.
  7. Remove the variable value and clicking Save.


Expected behavior:
The record should be saved with variable field empty.

Actual behavior:
An error appears: "The following mandatory fields are not filled in: Test variable which is set as Mandatory". The record can't be saved with variable value empty.

Workaround

The only workaround available right now is to set the variable "Mandatory" to false at the variable definition and uncheck "Applies on Requested Items" on the affected UI Policy.


Related Problem: PRB1301731

Seen In

There is no data to report.

Fixed In

Kingston Patch 11
London Patch 3
Madrid

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-05-21 11:41:32
Published:2019-03-03