g_form.setLabel does not work on a Label type variable on Service PortalDescriptionIn Service Portal g_form.setLabel does not work consistently, possibly also on Desktop UI, when submitting a catalog item request. When submitting requests for catalog items, a console error is generated: [code]<code><br/>Uncaught TypeError: g_form.setLabel is not a function</code>[/code]Steps to Reproduce 1) Import the attached update set which will create or update Create Incident record producer2) Navigate to /sp?id=sc_cat_item&sys_id=3f1dd0320a0a0b99000a53f7604a2ef9 3) Change the UrgencyThe Catalog Client script in the item should change the comments and test_label labels on change on urgency. Notice the Comments variable label gets changed to "Test Label 2", but the Test Label variable does not change to "Test Label 3".WorkaroundThis is expected behaviour. The g_form.setLabel() is used to set a field label and was not designed for variables. A variable label is not an input component, but just an output text, so the setLabel will not work. In case the Label Variable is part of a checkbox or group, then the setLabel API works as expected of Label.Related Problem: PRB1310572