Business Rule "Validate operational work type" from plugin com.snc.resource_management has incorrect ScriptIssue <!-- div.margin{ padding: 10px 40px 40px 30px; } table tr td { padding: 15px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } .spanColor { color: #646464; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } hr{ border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; } ul { list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> Business Rule "Validate operational work type" This Business Rule is installed with the plugin "Resource Management" [ com.snc.resource_management ] and on Kingston release and earlier releases the Script part of the business rule has one issue. The business rule if installed OOTB or by plugin installation will have a sys_id = "bd8c14d89390320064f572edb67ffbd9". The Script and how to fix it On London release and earlier releases the Script that the business rule runs is as follow: (function executeRule(current, previous /*null when async*/) { var opWorkType = current.getValue('operational_work_type'); var gr = new GlideRecord('sys_choice'); gr.addQuery('table', 'time_card'); gr.addQuery('element', 'category'); gr.addQuery('value', opWorkType); gr.setLimit(1); gr.query(); if (gr.getRowCount() < 1) { gs.addErrorMessage(gs.getMessage('The selected operational work type is not a valid category in time cards. Contact System Administrator to add it as a choice for time card category.')); current.setAbortAction(true); } })(current, previous); In the line 5 of the code we read "gr.addQuery('table', 'time_card');", however, this is a GlideRecord object configured to access the table "sys_choice", and the table "sys_choice" doesn't have a field called "table", it has, however, a field called "name", and this is the field with type "Table Name": To fix the script code we must change the line number 5 and make it query the name field: "gr.addQuery('name', 'time_card');" The code will look like this: (function executeRule(current, previous /*null when async*/) { var opWorkType = current.getValue('operational_work_type'); var gr = new GlideRecord('sys_choice'); gr.addQuery('name', 'time_card'); gr.addQuery('element', 'category'); gr.addQuery('value', opWorkType); gr.setLimit(1); gr.query(); if (gr.getRowCount() < 1) { gs.addErrorMessage(gs.getMessage('The selected operational work type is not a valid category in time cards. Contact System Administrator to add it as a choice for time card category.')); current.setAbortAction(true); } })(current, previous); This issue impact instances running the London release or earlier releases, future instances on Madrid release should get the correct Business Rule. In the future if your instance has been upgraded from London to Madrid and the script does not look correct, please check the Upgrade History to certify the Business Rule was not installed (a.k.a. Skipped) because it collided with the existing version which might have been modified by admins.