6 views

Symptoms


Mandatory attribute on a Label variable associated to Checkboxes does not get enforced and no */asterisk is displayed indicating that the label is mandatory 

Release


Jakarta and later releases

Cause


This is expected behavior and ServiceNow team has explicitly stated that the functionality was actually NOT working correctly in previous releases such as Helsinki where the Label variable was showing with an asterisk to indicate mandatory. The fact that red * was shown in Helsinki for Label variables was a wrong behavior, and it never supported a true mandatory check

Resolution


To make checkbox mandatory, instead of setting the label variable associated to the checkbox as mandatory, set any of the checkboxes as mandatory as documented in the links in Additional Information section below.  
 
The workaround here would be to set one of the checkbox variables as mandatory and this should make all the checkboxes mandatory. 
  
 
After setting the first checkbox variable to mandatory, the system will display the mandatory asterisk as well as enforce mandatory in both Service Portal and Service Catalog

Additional Information


Article Information

Last Updated:2018-04-11 15:30:18
Published:2018-04-11