JS error 'TypeError: model.mandatoryFields is not a function' occurs in the console on approving change request. Change related ATF test fails.DescriptionJS error 'TypeError: model.mandatoryFields is not a function' occurs in the console on approving change request. Change related ATF test fails.Steps to Reproduce 1. Login as System administrator user2. Create a Normal/Emergency change request with Assignment group = 'CAB Workbench' , save it3. Click 'Request Approval' button4. Open developer console5. Click 'Approvers' related list and approve 'Christen Mitchell' approval request from the right-click context menuexpected: change request state moved to the next state without error occurs. Change related ATF test passes.actual: change request state moved to the next state with "Uncaught TypeError: model.mandatoryFields is not a function" error occurs. Change related ATF test fails.WorkaroundModify sys_script_client name: Change Model: Reusables sysId: da23f4da53e3101034d1ddeeff7b1237 from: function updateScratchpad(response) { var answer = response.responseXML.documentElement.getAttribute("answer"); var refreshedElements = JSON.parse(answer); var model = g_scratchpad.change_model; model.refreshModel(refreshedElements); model.updateStates(false); model.mandatoryFields(); } To: function updateScratchpad(response) { var answer = response.responseXML.documentElement.getAttribute("answer"); var refreshedElements = JSON.parse(answer); var model = g_scratchpad.change_model; model.refreshModel(refreshedElements); model.updateStates(false); model.refreshMandatoryFields(); }Related Problem: PRB1867284