When changing field value error 'ReferenceError: current is not defined function () { [native code] }' will occur.Issue When the user changes the field type to a specific value an error of "ReferenceError: current is not defined function () { [native code] }" will appear near the field. ReleaseNew YorkCauseThis was caused by a custom UI Policy with the following condition: [Type] [Is] [Review] AND[Assigned to] [Is] [not empty] AND[Change request Type] [Is] [Normal] And the following script: function onCondition() { var gr = new GlideRecord('change_task'); gr.addQuery('change_task_type','Implementation'); gr.addQuery('change_request',current.change_request); gr.addQuery('assigned_to',current.assigned_to); gr.query(); if(gr.hasNext()) { g_form.addErrorMessage('You cannot assign the post implementation task to same assigned as implementation task'); return false; }}ResolutionDeactivating the UI Policy solves this issue.