|
| 1 | +<?xml version="1.0" encoding="UTF-8"?><record_update table="scan_table_check"> |
| 2 | + <scan_table_check action="INSERT_OR_UPDATE"> |
| 3 | + <active>true</active> |
| 4 | + <advanced>true</advanced> |
| 5 | + <category>manageability</category> |
| 6 | + <conditions table="incident">active=true^EQ<item endquery="false" field="active" goto="false" newquery="false" operator="=" or="false" value="true"/> |
| 7 | + <item endquery="true" field="" goto="false" newquery="false" operator="=" or="false" value=""/> |
| 8 | + </conditions> |
| 9 | + <description>Tickets from tables such as Incident, Change Request, Problem, and other task-related tables should always have an Assignment Group specified. These tickets represent issues or requests that require attention and action. Leaving the Assignment Group field empty can result in unresolved issues or delays in implementing fixes, as no team will be accountable for the resolution. Since the Assignment Group is meant to designate the responsible team for managing these tickets, it should never be left blank.</description> |
| 10 | + <documentation_url/> |
| 11 | + <finding_type>scan_finding</finding_type> |
| 12 | + <name>Check for Orphaned tickets</name> |
| 13 | + <priority>2</priority> |
| 14 | + <resolution_details>Identify the records with emopty assignment group and assign them to respective assignment groups so that they can work on the tickets and to further prevent it try creating assignment lookup rules</resolution_details> |
| 15 | + <run_condition/> |
| 16 | + <score_max>100</score_max> |
| 17 | + <score_min>0</score_min> |
| 18 | + <score_scale>1</score_scale> |
| 19 | + <script><![CDATA[(function(finding, current) { |
| 20 | + var IncID = current.getValue('sys_id'); |
| 21 | + var inc = new GlideRecord('incident'); |
| 22 | + inc.addQuery('sys_id', IncID); |
| 23 | + inc.addEncodedQuery("assignment_group!=null"); |
| 24 | + if (!inc.hasNext()) { |
| 25 | + finding.increment(); |
| 26 | + } |
| 27 | +})(finding, current);]]></script> |
| 28 | + <short_description>Tickets from Incident table should have assignment group specified.</short_description> |
| 29 | + <sys_class_name>scan_table_check</sys_class_name> |
| 30 | + <sys_created_by>admin</sys_created_by> |
| 31 | + <sys_created_on>2024-10-07 18:22:05</sys_created_on> |
| 32 | + <sys_id>7334dda283455210ae0854b6feaad378</sys_id> |
| 33 | + <sys_mod_count>9</sys_mod_count> |
| 34 | + <sys_name>Check for Orphaned tickets</sys_name> |
| 35 | + <sys_package display_value="Example Instance Checks" source="x_appe_exa_checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_package> |
| 36 | + <sys_policy/> |
| 37 | + <sys_scope display_value="Example Instance Checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_scope> |
| 38 | + <sys_update_name>scan_table_check_7334dda283455210ae0854b6feaad378</sys_update_name> |
| 39 | + <sys_updated_by>admin</sys_updated_by> |
| 40 | + <sys_updated_on>2024-10-07 18:33:38</sys_updated_on> |
| 41 | + <table>incident</table> |
| 42 | + <use_manifest>false</use_manifest> |
| 43 | + </scan_table_check> |
| 44 | + <sys_translated_text action="delete_multiple" query="documentkey=7334dda283455210ae0854b6feaad378"/> |
| 45 | +</record_update> |
0 commit comments