Using "g_form.setValue('variable_name', boolean)" in Order Guide caused Failing Widget 'SC Order Guide' error in 'Choose Options' sectionIssue <!-- div.margin { padding: 10px 40px 40px 30px; } table.tocTable { border: 1px solid; border-color: #e0e0e0; background-color: #fff; } .title { color: #d1232b; font-weight: normal; font-size: 28px; } h1 { color: #d1232b; font-weight: normal; font-size: 21px; margin-bottom: 5px; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #cccccc; } h2 { color: #646464; font-weight: bold; font-size: 18px; } h3 { color: #000000; font-weight: bold; font-size: 16px; } h4 { color: #666666; font-weight: bold; font-size: 15px; } h5 { color: #000000; font-weight: bold; font-size: 13px; } h6 { color: #000000; font-weight: bold; font-size:14px; } ul, ol { margin-left: 0; list-style-position: outside; } --> Overview Using "g_form.setValue('variable_name', boolean)" in Order Guide caused Failing Widget 'SC Order Guide' error in 'Choose Options' section. This issue is only reproducible in Kingston. [Subject] Steps to reproduce: Create an Order Guide.Create a Catalog UI Policy or Catalog Client Script which contains "g_form('variable_name', boolean)", variable is Check Box Type.Add some Order Guide Item to this Order Guide.Try this Order Guide on Service Portal.Trigger the "g_form.setValue('variable_name', boolean)" function in 'Describe Needs' Section.Click on the 'Next' button. There are several errors popup(c1.jpg). java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.StringFailing Widget 'SC Order Guide'(480ca054db03320064301150f0b8f545)Error messages in Console log of the browser 'TypeError: Cannot read property 'length' of undefined' These errors are all caused by "g_form.setValue('variable_name', boolean)". It causes errors in the Server Scripts of the 'SC Order Guide' which looks like the Widget is broken. Additional Information This is caused by problem PRB1290254. https://support.servicenow.com/kb_view.do?sysparm_article=KB0693248 The workaround is using "g_form.setValue('variable_name', String)" instead of 'g_form.setValue('variable_name', boolean)'.