Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,13 @@ api.controller = function ($rootScope, $scope) {
### Provide alternate value when fetching Glide property
Recommendation to provide alternate/default value when calling gs.getProperty() to avoid errors if the property is not set.

### Running Business Rules on Transform Maps
Running business rules during transform may cause the transform to take longer than expected, or cause the instance to slow down.Do not run items like business rules, workflows, approval engines, and so on during a transform unless you want all insert and update business rules, notifications, and workflows to run

### Avoid using getReference()
getReference is no longer considered best practice due to its performance impact and it is recommended to use g_scratchpad or GlideAjax instead.


## Category: Security
##Check Mandatory fields on incident
This check is used to find mandatory fields on incident
Expand Down
2 changes: 1 addition & 1 deletion ca8467c41b9abc10ce0f62c3b24bcbaa/checksum.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0B6CCLMe9KvvOzjJGIIuGgS6LL6SD9sDoq-FcaNtAyvj7MRocHVPInSPnXCSVL5rgBO70ISjsz2TyI3AxUavcTg2XBAb-iF0WetJxhEZP5itR8UtyDZ1M8dvqSwwQyxmr2rhGAoLnyvAfqT7Pu3tMGXD2ysRGjU_s-BhEKIqTYGHNfL6RgTVRwZPDPwtRnwYnXC2xdYEVG84Oa5c59XNMXr1R_OEnLd8UXYJ82DVtzjkdk0D5nNQQuW3n4F0P4drKyYPh-fPMVkzxoeySQZBIEIaxYUZLAFkNBJeiMU-p3uqPFz94nOGeFfGGdh9N1wuZ_iJ8Qcx99UWSXOkUcUQlui40Bcc9c7IZ7vt2VPoeCZGp74_JH3cWcE11cmx1B-uLoxxjyya_BjZy-LhYBsYT_EQxBgEP2D5BDqjzdTUKjYQT8G_eApIx-vEQabuZSd2zt-0mgi0q_FB56nKYvtdoObnROfqVgyZnXeYlo5sZrJtTT5UPnhEbGlv24mw7mF6UJ7HxA3GajdpFW2kQ02kQIdYI_KGSI9u-Ah3JTN9AkWevlmrV3xg0URGZHLSObGeJ6BpRoWNABRMOz4IgmH8197CsXBgjRPAm-uWmKEAGVvOYF6g8VKgdffdyOXEsl4biu8ZwZL7qW6vOMkEgfKvmVe-MhYKb2tPt1cJ1tqaiK0
APBZ6N-mXQqTnbxQsCc2BHSyXp9Boqw2IPsl8t_tiGfkZCie3Y_HBRDI1ohtO9n5IZjYoWFKvqlA7F7fyv96kTOlFKK6GyU-tdiUoEqcOGb6K1x9t2oX4vonME33VyIwpeelR7UEPVuU9fQofwdQKQ0g-16C3mEXbfGXvhmgI7kxGU4eJl06omxI8VrED2HXXpiEPV76_WMvd14z3Iddfk2uo2ygohHSAtREtUmG4IZJVbcu4Hc4nWbhOEPeA1jYNPFFcvTK3iwpX8FUgYNRTYQfrCg1BSy8AoozxzFjn8_WX0mi10IhJzRZwrJCXfWhhVQoGdiCvYCqcogxDtNaDUzxkw20MbNXo6-AZpcJMH1EovFOJOS0CzqJ-KdnOKhSooYh7emFWG8xFZrzZi149t4Dq3aWft40Z4g7AjpgXt_7EO_NvCXBaHnXMwSOaiA-PoW2JL_FKI3AIduUybr3xPwQYP4Zbz2UzQtVVMOMeMFTs7JAqoHNkOG-jQNRAa_Bbq4cY_Ru6leaPdKEKVa3IDl1mf9ug7dcVhfkFDszOWRdRWDmJGi-ptN5twYZ_5IFEqIl_9YmylsKX-JobM4bDl-80xGd2v7z96Yj2oZg0ArGuO7EG6BwdQkmT-fvSwrBFawNWPX-OSdoRXoCc217pNPfsXFVNqBZ-sLza74ikRM
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?><record_update table="scan_table_check">
<scan_table_check action="INSERT_OR_UPDATE">
<active>true</active>
<advanced>false</advanced>
<category>performance</category>
<conditions table="sys_transform_map">run_business_rules=true^active=true^EQ<item endquery="false" field="run_business_rules" goto="false" newquery="false" operator="=" or="false" value="true"/>
<item endquery="false" field="active" goto="false" newquery="false" operator="=" or="false" value="true"/>
<item endquery="true" field="" goto="false" newquery="false" operator="=" or="false" value=""/>
</conditions>
<description>Running business rules during transform may cause the transform to take longer than expected, or cause the instance to slow down.</description>
<documentation_url>https://docs.servicenow.com/bundle/vancouver-integrate-applications/page/administer/technical-best-practice/concept/c_TroubleshootImportSetPerformance.html</documentation_url>
<finding_type>scan_finding</finding_type>
<name>Running Business Rules on Transform Maps </name>
<priority>1</priority>
<resolution_details> Do not run items like business rules, workflows, approval engines, and so on during a transform unless you want all insert and update business rules, notifications, and workflows to run. For example, when importing all data from an old system, you may not want notifications to run. To disable these items from running and to cease auditing and field normalization within the transform map for that import, deselect the Run business rules check box.</resolution_details>
<run_condition/>
<score_max>100</score_max>
<score_min>0</score_min>
<score_scale>1</score_scale>
<script><![CDATA[(function (engine) {

// Add your code here

})(engine);]]></script>
<short_description>Running Business Rules on Transform Maps </short_description>
<sys_class_name>scan_table_check</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2023-10-10 11:06:48</sys_created_on>
<sys_id>e19656212ff1311002eb2ca62799b639</sys_id>
<sys_mod_count>1</sys_mod_count>
<sys_name>Running Business Rules on Transform Maps </sys_name>
<sys_package display_value="Example Instance Checks" source="x_appe_exa_checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_package>
<sys_policy/>
<sys_scope display_value="Example Instance Checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_scope>
<sys_update_name>scan_table_check_e19656212ff1311002eb2ca62799b639</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2023-10-10 11:08:53</sys_updated_on>
<table>sys_transform_map</table>
<use_manifest>false</use_manifest>
</scan_table_check>
</record_update>