<?xml version="1.0" encoding="UTF-8"?><unload unload_date="2023-11-28 17:31:54">
<sys_remote_update_set action="INSERT_OR_UPDATE">
<application display_value="Global">global</application>
<application_name>Global</application_name>
<application_scope>global</application_scope>
<application_version/>
<collisions/>
<commit_date/>
<deleted/>
<description/>
<inserted/>
<name>HR ACL Patch Fix 11/28/2023 - Batch Parent</name>
<origin_sys_id/>
<parent display_value=""/>
<release_date/>
<remote_base_update_set display_value="HR ACL Patch Fix 11/28/2023 - Batch Parent">4247442d2fba7d54197fad2ef699b681</remote_base_update_set>
<remote_parent_id/>
<remote_sys_id>06c6802d2fba7d54197fad2ef699b6f9</remote_sys_id>
<state>loaded</state>
<summary/>
<sys_class_name>sys_remote_update_set</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2023-11-28 17:31:54</sys_created_on>
<sys_id>4247442d2fba7d54197fad2ef699b681</sys_id>
<sys_mod_count>1</sys_mod_count>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2023-11-28 17:31:54</sys_updated_on>
<update_set display_value=""/>
<update_source display_value=""/>
<updated/>
</sys_remote_update_set>
<sys_remote_update_set action="INSERT_OR_UPDATE">
<application display_value="Global">global</application>
<application_name>Global</application_name>
<application_scope>global</application_scope>
<application_version/>
<collisions/>
<commit_date/>
<deleted/>
<description/>
<inserted/>
<name>HR ACL Patch Fix 11/28/2023 - Batch Parent</name>
<origin_sys_id/>
<parent display_value=""/>
<release_date/>
<remote_base_update_set display_value="HR ACL Patch Fix 11/28/2023 - Batch Parent">4247442d2fba7d54197fad2ef699b681</remote_base_update_set>
<remote_parent_id/>
<remote_sys_id>06c6802d2fba7d54197fad2ef699b6f9</remote_sys_id>
<state>loaded</state>
<summary/>
<sys_class_name>sys_remote_update_set</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2023-11-28 17:31:54</sys_created_on>
<sys_id>4247442d2fba7d54197fad2ef699b681</sys_id>
<sys_mod_count>1</sys_mod_count>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2023-11-28 17:31:54</sys_updated_on>
<update_set display_value=""/>
<update_source display_value=""/>
<updated/>
</sys_remote_update_set>
<sys_remote_update_set action="INSERT_OR_UPDATE">
<application display_value="moveworks.base.1.0.0">9f526f391b0d94105394fc88cc4bcbd8</application>
<application_name>moveworks.base.1.0.0</application_name>
<application_scope>global</application_scope>
<application_version>1.0.0</application_version>
<collisions/>
<commit_date/>
<deleted/>
<description/>
<inserted/>
<name>HR ACL Patch Fix 11/28/2023 - Batch Child</name>
<origin_sys_id/>
<parent display_value="HR ACL Patch Fix 11/28/2023 - Batch Parent">4247442d2fba7d54197fad2ef699b681</parent>
<release_date/>
<remote_base_update_set display_value="HR ACL Patch Fix 11/28/2023 - Batch Parent">4247442d2fba7d54197fad2ef699b681</remote_base_update_set>
<remote_parent_id/>
<remote_sys_id>0ac60c2d2fba7d54197fad2ef699b6da</remote_sys_id>
<state>in_hierarchy</state>
<summary/>
<sys_class_name>sys_remote_update_set</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2023-11-28 17:31:54</sys_created_on>
<sys_id>424780ad2fba7d54197fad2ef699b66a</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2023-11-28 17:31:54</sys_updated_on>
<update_set display_value=""/>
<update_source display_value=""/>
<updated/>
</sys_remote_update_set>
<sys_remote_update_set action="INSERT_OR_UPDATE">
<application display_value="Human Resources: Core">d4ac3fff5b311200a4656ede91f91af2</application>
<application_name>Human Resources: Core</application_name>
<application_scope>sn_hr_core</application_scope>
<application_version>19.0.0</application_version>
<collisions/>
<commit_date/>
<deleted/>
<description/>
<inserted/>
<name>HR ACL Patch Fix 11/28/2023 - Batch Child</name>
<origin_sys_id/>
<parent display_value="HR ACL Patch Fix 11/28/2023 - Batch Parent">4247442d2fba7d54197fad2ef699b681</parent>
<release_date/>
<remote_base_update_set display_value="HR ACL Patch Fix 11/28/2023 - Batch Parent">4247442d2fba7d54197fad2ef699b681</remote_base_update_set>
<remote_parent_id/>
<remote_sys_id>bdf6446d2fba7d54197fad2ef699b677</remote_sys_id>
<state>in_hierarchy</state>
<summary/>
<sys_class_name>sys_remote_update_set</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2023-11-28 17:31:54</sys_created_on>
<sys_id>4a4780ad2fba7d54197fad2ef699b66c</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2023-11-28 17:31:54</sys_updated_on>
<update_set display_value=""/>
<update_source display_value=""/>
<updated/>
</sys_remote_update_set>
<sys_remote_update_set action="INSERT_OR_UPDATE">
<application display_value="Global">global</application>
<application_name>Global</application_name>
<application_scope>global</application_scope>
<application_version/>
<collisions/>
<commit_date/>
<deleted/>
<description/>
<inserted/>
<name>HR ACL Patch Fix 11/28/2023 - Batch Child</name>
<origin_sys_id/>
<parent display_value="HR ACL Patch Fix 11/28/2023 - Batch Parent">4247442d2fba7d54197fad2ef699b681</parent>
<release_date/>
<remote_base_update_set display_value="HR ACL Patch Fix 11/28/2023 - Batch Parent">4247442d2fba7d54197fad2ef699b681</remote_base_update_set>
<remote_parent_id/>
<remote_sys_id>d8a6c02d2fba7d54197fad2ef699b61d</remote_sys_id>
<state>in_hierarchy</state>
<summary/>
<sys_class_name>sys_remote_update_set</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2023-11-28 17:31:54</sys_created_on>
<sys_id>824780ad2fba7d54197fad2ef699b66d</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2023-11-28 17:31:54</sys_updated_on>
<update_set display_value=""/>
<update_source display_value=""/>
<updated/>
</sys_remote_update_set>
<sys_remote_update_set action="INSERT_OR_UPDATE">
<application display_value="moveworks.acl.1.0.1">8e9e72261b8918105394fc88cc4bcb46</application>
<application_name>moveworks.acl.1.0.1</application_name>
<application_scope>global</application_scope>
<application_version>1.0.1</application_version>
<collisions/>
<commit_date/>
<deleted/>
<description/>
<inserted/>
<name>HR ACL Patch Fix 11/28/2023 - Batch Child</name>
<origin_sys_id/>
<parent display_value="HR ACL Patch Fix 11/28/2023 - Batch Parent">4247442d2fba7d54197fad2ef699b681</parent>
<release_date/>
<remote_base_update_set display_value="HR ACL Patch Fix 11/28/2023 - Batch Parent">4247442d2fba7d54197fad2ef699b681</remote_base_update_set>
<remote_parent_id/>
<remote_sys_id>0ec6802d2fba7d54197fad2ef699b6fa</remote_sys_id>
<state>in_hierarchy</state>
<summary/>
<sys_class_name>sys_remote_update_set</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2023-11-28 17:31:54</sys_created_on>
<sys_id>8e4780ad2fba7d54197fad2ef699b66a</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2023-11-28 17:31:54</sys_updated_on>
<update_set display_value=""/>
<update_source display_value=""/>
<updated/>
</sys_remote_update_set>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="moveworks.base.1.0.0">9f526f391b0d94105394fc88cc4bcbd8</application>
<category>customer</category>
<comments/>
<name>sys_ws_definition_aaf4178a1b85d4105394fc88cc4bcbc8</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_ws_definition"><sys_ws_definition action="INSERT_OR_UPDATE"><active>true</active><base_uri>/api/488834/moveworks</base_uri><consumes>application/json,application/xml,text/xml</consumes><consumes_customized>false</consumes_customized><default_version>No active default version</default_version><doc_link/><enforce_acl>6ef4178a1b85d4105394fc88cc4bcbe8</enforce_acl><is_versioned>false</is_versioned><name>moveworks</name><namespace>488834</namespace><produces>application/json,application/xml,text/xml</produces><produces_customized>false</produces_customized><service_id>moveworks</service_id><short_description>Interaction point for Moveworks' deeper ServiceNow integrations</short_description><sys_class_name>sys_ws_definition</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2021-02-23 07:32:07</sys_created_on><sys_id>aaf4178a1b85d4105394fc88cc4bcbc8</sys_id><sys_mod_count>0</sys_mod_count><sys_name>moveworks</sys_name><sys_package display_value="moveworks.base.1.0.0" source="9f526f391b0d94105394fc88cc4bcbd8">9f526f391b0d94105394fc88cc4bcbd8</sys_package><sys_policy/><sys_scope display_value="moveworks.base.1.0.0">9f526f391b0d94105394fc88cc4bcbd8</sys_scope><sys_update_name>sys_ws_definition_aaf4178a1b85d4105394fc88cc4bcbc8</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2021-02-23 07:32:07</sys_updated_on></sys_ws_definition></record_update>]]></payload>
<payload_hash>1432255924</payload_hash>
<remote_update_set display_value="HR ACL Patch Fix 11/28/2023 - Batch Child">424780ad2fba7d54197fad2ef699b66a</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2023-11-28 17:31:54</sys_created_on>
<sys_id>464780ad2fba7d54197fad2ef699b66a</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>18c16fac89e0000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2023-11-28 17:31:54</sys_updated_on>
<table/>
<target_name>moveworks</target_name>
<type>Scripted REST API</type>
<update_domain>global</update_domain>
<update_guid>02c60c2d60ba7d549a5db8c9f1929ddc</update_guid>
<update_guid_history>02c60c2d60ba7d549a5db8c9f1929ddc:1432255924,d07bfa7cd1e620103a03c50b4a9a8bcd:1432255924,875b7a7c79e620107a9e7e3b52664a21:-2015174616,ee3bf27c2ce6201071d4a73452e904bd:1432255924,01473ede1fde64106521db2a791475a9:-700796024,d7bad5dee2da64106bf6b7cfc645f945:-582288970,6bb561f2264e6850a03c3edafc576951:-1911496028,c885152f0ab424104ffc974a00309b43:-582288970,029dd2e1a8b020102da15208f025ded1:761099215</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Human Resources: Core">d4ac3fff5b311200a4656ede91f91af2</application>
<category>customer</category>
<comments/>
<name>sys_script_include_364a699b2f67d990197fad2ef699b67f</name>
<payload>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;record_update table="sys_script_include"&gt;&lt;sys_script_include action="INSERT_OR_UPDATE"&gt;&lt;access&gt;public&lt;/access&gt;&lt;active&gt;true&lt;/active&gt;&lt;api_name&gt;sn_hr_core.mwHRUserCriteria&lt;/api_name&gt;&lt;caller_access/&gt;&lt;client_callable&gt;false&lt;/client_callable&gt;&lt;description&gt;Moveworks script to pull User Criteria from HR KB Articles.&lt;/description&gt;&lt;name&gt;mwHRUserCriteria&lt;/name&gt;&lt;script&gt;&lt;![CDATA[var mwHRUserCriteria = Class.create();
mwHRUserCriteria.prototype = {
	initialize: function() {
	},
	grabHRKB: function(recordID){
		var resource = new GlideRecord("kb_knowledge");
		resource.get(recordID);
		return resource;
	},
	grabUserCriteria: function(recordID){
		var mtomConfig = {
			mtomQueryKey: 'kb_knowledge_base', // attribute in the MTOM table that links back to the resource
			tables: {
				available_for: "kb_uc_can_read_mtom",
				not_available_for: "kb_uc_cannot_read_mtom",
			}
		};
		var mtomQueryKey = mtomConfig.mtomQueryKey;
		var tables = mtomConfig.tables;
		var mtomResult = {};

		for (var criteriaType in tables) {
			// Get all UserCriteria Records where mtomEntry.mtomQueryKey == recordID
			var mtomEntry = new GlideRecord(tables[criteriaType]);
			mtomEntry.addQuery(mtomQueryKey, recordID);
			mtomEntry.query();

			// Convert the GlideRecord query into an Array of sys_ids
			var userCriteriaRecords = [];
			while (mtomEntry.next()) {
					userCriteriaRecords.push(mtomEntry.user_criteria.sys_id.toString());
				}
			

			mtomResult[criteriaType] = userCriteriaRecords;
		}
		return mtomResult;
	},
	type: 'mwHRUserCriteria'
};]]&gt;&lt;/script&gt;&lt;sys_class_name&gt;sys_script_include&lt;/sys_class_name&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2022-12-09 01:39:58&lt;/sys_created_on&gt;&lt;sys_id&gt;364a699b2f67d990197fad2ef699b67f&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_name&gt;mwHRUserCriteria&lt;/sys_name&gt;&lt;sys_package display_value="Human Resources: Core" source="sn_hr_core"&gt;d4ac3fff5b311200a4656ede91f91af2&lt;/sys_package&gt;&lt;sys_policy/&gt;&lt;sys_scope display_value="Human Resources: Core"&gt;d4ac3fff5b311200a4656ede91f91af2&lt;/sys_scope&gt;&lt;sys_update_name&gt;sys_script_include_364a699b2f67d990197fad2ef699b67f&lt;/sys_update_name&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2022-12-09 01:39:58&lt;/sys_updated_on&gt;&lt;/sys_script_include&gt;&lt;/record_update&gt;</payload>
<payload_hash>-1232078836</payload_hash>
<remote_update_set display_value="HR ACL Patch Fix 11/28/2023 - Batch Child">4a4780ad2fba7d54197fad2ef699b66c</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2023-11-28 17:31:54</sys_created_on>
<sys_id>4e4780ad2fba7d54197fad2ef699b66c</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>18c16fb83a40000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2023-11-28 17:31:54</sys_updated_on>
<table/>
<target_name>mwHRUserCriteria</target_name>
<type>Script Include</type>
<update_domain>global</update_domain>
<update_guid>79f6446de5ba7d54000becf82bef0a79</update_guid>
<update_guid_history>79f6446de5ba7d54000becf82bef0a79:-1232078836,de9a219b6967d99015990fb89d1c5d6c:-1232078836</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="moveworks.acl.1.0.1">8e9e72261b8918105394fc88cc4bcb46</application>
<category>customer</category>
<comments/>
<name>sys_ws_query_parameter_map_d99a53081b9d1c105394fc88cc4bcb55</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_ws_query_parameter_map"><sys_ws_query_parameter_map action="INSERT_OR_UPDATE"><sys_class_name>sys_ws_query_parameter_map</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2022-01-18 18:33:27</sys_created_on><sys_id>d99a53081b9d1c105394fc88cc4bcb55</sys_id><sys_mod_count>1</sys_mod_count><sys_name>219a53081b9d1c105394fc88cc4bcb59</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_scope display_value="moveworks.acl.1.0.1">8e9e72261b8918105394fc88cc4bcb46</sys_scope><sys_update_name>sys_ws_query_parameter_map_d99a53081b9d1c105394fc88cc4bcb55</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2022-01-27 20:23:17</sys_updated_on><web_service_operation display_value="get_access_info">2a9910242f1bd410d631db9df699b652</web_service_operation><web_service_query_parameter display_value="user">219a53081b9d1c105394fc88cc4bcb59</web_service_query_parameter></sys_ws_query_parameter_map></record_update>]]></payload>
<payload_hash>1412608758</payload_hash>
<remote_update_set display_value="HR ACL Patch Fix 11/28/2023 - Batch Child">8e4780ad2fba7d54197fad2ef699b66a</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2023-11-28 17:31:54</sys_created_on>
<sys_id>064780ad2fba7d54197fad2ef699b66c</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>18c16fac9be0000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2023-11-28 17:31:54</sys_updated_on>
<table/>
<target_name>219a53081b9d1c105394fc88cc4bcb59</target_name>
<type>Scripted REST Query Parameter Associatio</type>
<update_domain>global</update_domain>
<update_guid>9ec64c2d2eba7d540c39c0cd35a1840a</update_guid>
<update_guid_history>9ec64c2d2eba7d540c39c0cd35a1840a:1412608758,80555eb17c5d0510e60b44f17e6e926e:1412608758,1bd5eff6940dc1100596ce5e2b1630e2:1316071314</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="moveworks.acl.1.0.1">8e9e72261b8918105394fc88cc4bcb46</application>
<category>customer</category>
<comments/>
<name>sys_ws_query_parameter_5dd89a881bd91c105394fc88cc4bcbc0</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_ws_query_parameter"><sys_ws_query_parameter action="INSERT_OR_UPDATE"><example_value>sc_cat_item</example_value><name>table</name><required>true</required><short_description>Table that contains the records. One of sc_cat_item, kb_knowledge.</short_description><sys_class_name>sys_ws_query_parameter</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2022-01-18 18:33:22</sys_created_on><sys_id>5dd89a881bd91c105394fc88cc4bcbc0</sys_id><sys_mod_count>1</sys_mod_count><sys_name>table</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_scope display_value="moveworks.acl.1.0.1">8e9e72261b8918105394fc88cc4bcb46</sys_scope><sys_update_name>sys_ws_query_parameter_5dd89a881bd91c105394fc88cc4bcbc0</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2022-01-27 20:23:14</sys_updated_on><web_service_definition display_value="moveworks">aaf4178a1b85d4105394fc88cc4bcbc8</web_service_definition></sys_ws_query_parameter></record_update>]]></payload>
<payload_hash>1193701478</payload_hash>
<remote_update_set display_value="HR ACL Patch Fix 11/28/2023 - Batch Child">8e4780ad2fba7d54197fad2ef699b66a</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2023-11-28 17:31:54</sys_created_on>
<sys_id>0a4780ad2fba7d54197fad2ef699b66b</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>18c16fac9540000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2023-11-28 17:31:54</sys_updated_on>
<table/>
<target_name>table</target_name>
<type>Scripted REST Query Parameter</type>
<update_domain>global</update_domain>
<update_guid>06c60c2d6eba7d5435f2b8486617e0e1</update_guid>
<update_guid_history>06c60c2d6eba7d5435f2b8486617e0e1:1193701478,534596b1f95d05102d0cf4bee80a34a7:1193701478,02d5eff6500dc11063ef974e935b45a8:1172300326</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="moveworks.acl.1.0.1">8e9e72261b8918105394fc88cc4bcb46</application>
<category>customer</category>
<comments/>
<name>sys_ws_query_parameter_map_d8a856881bd91c105394fc88cc4bcbae</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_ws_query_parameter_map"><sys_ws_query_parameter_map action="INSERT_OR_UPDATE"><sys_class_name>sys_ws_query_parameter_map</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2022-01-18 18:33:25</sys_created_on><sys_id>d8a856881bd91c105394fc88cc4bcbae</sys_id><sys_mod_count>1</sys_mod_count><sys_name>5dd89a881bd91c105394fc88cc4bcbc0</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_scope display_value="moveworks.acl.1.0.1">8e9e72261b8918105394fc88cc4bcb46</sys_scope><sys_update_name>sys_ws_query_parameter_map_d8a856881bd91c105394fc88cc4bcbae</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2022-01-27 20:23:16</sys_updated_on><web_service_operation display_value="get_access_info">2a9910242f1bd410d631db9df699b652</web_service_operation><web_service_query_parameter display_value="table">5dd89a881bd91c105394fc88cc4bcbc0</web_service_query_parameter></sys_ws_query_parameter_map></record_update>]]></payload>
<payload_hash>177065981</payload_hash>
<remote_update_set display_value="HR ACL Patch Fix 11/28/2023 - Batch Child">8e4780ad2fba7d54197fad2ef699b66a</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2023-11-28 17:31:54</sys_created_on>
<sys_id>424780ad2fba7d54197fad2ef699b66c</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>18c16fac9800000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2023-11-28 17:31:54</sys_updated_on>
<table/>
<target_name>5dd89a881bd91c105394fc88cc4bcbc0</target_name>
<type>Scripted REST Query Parameter Associatio</type>
<update_domain>global</update_domain>
<update_guid>cac60c2dfeba7d545d24fd488adb2de2</update_guid>
<update_guid_history>cac60c2dfeba7d545d24fd488adb2de2:177065981,bf455eb1965d0510b6108628b2738f69:177065981,cbd5eff6cf0dc110f9d77e44a68f35b2:1857455521</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="moveworks.acl.1.0.1">8e9e72261b8918105394fc88cc4bcb46</application>
<category>customer</category>
<comments/>
<name>sys_ws_query_parameter_219a53081b9d1c105394fc88cc4bcb59</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_ws_query_parameter"><sys_ws_query_parameter action="INSERT_OR_UPDATE"><example_value>2edf4fe61b3814105394fc88cc4bcb0d</example_value><name>user</name><required>true</required><short_description>User sys_id for whom to fetch access info.</short_description><sys_class_name>sys_ws_query_parameter</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2022-01-18 18:33:23</sys_created_on><sys_id>219a53081b9d1c105394fc88cc4bcb59</sys_id><sys_mod_count>1</sys_mod_count><sys_name>user</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_scope display_value="moveworks.acl.1.0.1">8e9e72261b8918105394fc88cc4bcb46</sys_scope><sys_update_name>sys_ws_query_parameter_219a53081b9d1c105394fc88cc4bcb59</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2022-01-27 20:23:15</sys_updated_on><web_service_definition display_value="moveworks">aaf4178a1b85d4105394fc88cc4bcbc8</web_service_definition></sys_ws_query_parameter></record_update>]]></payload>
<payload_hash>788004608</payload_hash>
<remote_update_set display_value="HR ACL Patch Fix 11/28/2023 - Batch Child">8e4780ad2fba7d54197fad2ef699b66a</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2023-11-28 17:31:54</sys_created_on>
<sys_id>464780ad2fba7d54197fad2ef699b66b</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>18c16fac9a30000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2023-11-28 17:31:54</sys_updated_on>
<table/>
<target_name>user</target_name>
<type>Scripted REST Query Parameter</type>
<update_domain>global</update_domain>
<update_guid>d6c64c2d31ba7d547e06523d012bee09</update_guid>
<update_guid_history>d6c64c2d31ba7d547e06523d012bee09:788004608,a3451eb1995d05107a43fb274c9a16bf:788004608,d6d5eff64b0dc110e8913144f55cbfab:2112767180</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="moveworks.acl.1.0.1">8e9e72261b8918105394fc88cc4bcb46</application>
<category>customer</category>
<comments/>
<name>sys_ws_operation_2a9910242f1bd410d631db9df699b652</name>
<payload>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;record_update table="sys_ws_operation"&gt;&lt;sys_ws_operation action="INSERT_OR_UPDATE"&gt;&lt;active&gt;true&lt;/active&gt;&lt;consumes&gt;application/json,application/xml,text/xml&lt;/consumes&gt;&lt;consumes_customized&gt;false&lt;/consumes_customized&gt;&lt;default_operation_uri/&gt;&lt;enforce_acl/&gt;&lt;http_method&gt;GET&lt;/http_method&gt;&lt;name&gt;get_access_info&lt;/name&gt;&lt;operation_script&gt;&lt;![CDATA[/*eslint-env es6*/

/* MARK: CONSTANTS */
// MTOM Table Configuration
const MTOM_TABLE_MAP = {
	sc_cat_item: {
		mtomQueryKey: 'sc_cat_item', // attribute in the MTOM table that links back to the resource
		tables: {
			available_for: "sc_cat_item_user_criteria_mtom",
			not_available_for: "sc_cat_item_user_criteria_no_mtom",
		}
	},
	kb_knowledge: {
		mtomQueryKey: 'kb_knowledge_base', // attribute in the MTOM table that links back to the resource
		tables: {
			available_for: "kb_uc_can_read_mtom",
			not_available_for: "kb_uc_cannot_read_mtom",
		}
	},
};

// Complete list of user attributes that an entitlement can be configured against.
const ENTITLEMENT_ATTRIBUTES = [
	"user", "company", "dept", "location", "group"
];

/* MARK: UTILS */
/**
 * GlideScript equivalent of Object.assign in JavaScript.
 * @param {*} target JSON object to copy values to.
 * @param {*} source JSON object to copy values from.
 */
function objectAssign(target, source) {
	for (var key in source) {
		target[key] = source[key];
	}
}

/* MARK: EXTERNAL TABLES - USER CRITERIA */
/**
 * Fetches all UserCriteria on a recordID of type resourceType
 * @param {*} recordID sys_id of the record to fetch UserCriteria for.
 * @param {*} resourceType type of resource: kb_knowledge, sc_cat_item
 */
function getMTOMCriteria(recordID, resourceType) {
	// Note: Object Destructuring not Supported in GlideScript
	gs.info('MTOM Func' + recordID);
	var mtomConfig = MTOM_TABLE_MAP[resourceType];
	var mtomQueryKey = mtomConfig.mtomQueryKey;
	var tables = mtomConfig.tables;


	var mtomResult = {};

	for (var criteriaType in tables) {
		// Get all UserCriteria Records where mtomEntry.mtomQueryKey == recordID
		var mtomEntry = new GlideRecord(tables[criteriaType]);
		mtomEntry.addQuery(mtomQueryKey, recordID);
		mtomEntry.query();
		// Convert the GlideRecord query into an Array of sys_ids
		var userCriteriaRecords = [];

			while (mtomEntry.next()) {
				userCriteriaRecords.push(mtomEntry.user_criteria.sys_id.toString());
			}

		mtomResult[criteriaType] = userCriteriaRecords;
	}

	return mtomResult;
}

/* MARK: EXTERNAL TABLES - LEGACY USER ENTITLEMENTS */
/**
 * Returns a list of other SNOW Objects that match User Entitlements for a given Record
 * @param {*} attr Type of record: user, dept, company, etc.
 * @param {*} type Type of MTOM: no_mtom, mtom
 * @param {*} recordID RecordID to search matches for.
 */
function getUserEntitlementMatches(attr, type, recordID) {
	var table = ['sc_cat_item', attr, type].join('_');

	var entitlementsQuery = new GlideRecord(table);
	entitlementsQuery.addQuery("sc_cat_item", recordID);
	entitlementsQuery.query();
	var entitlements = [];
	while (entitlementsQuery.next()) {
		entitlements.push(entitlementsQuery.getValue('sc_avail_' + attr));
	}
	return entitlements;

}
/**
 * Returns a dictionary of all types of User Entitlements that a given record has.
 * @param {*} recordID recordID to fetch Entitlements for
 */
function getAllUserEntitlements(recordID) {
	var entitlementsForRecord = {};
	for (var i in ENTITLEMENT_ATTRIBUTES) {
		var attr = ENTITLEMENT_ATTRIBUTES[i];
		entitlementsForRecord[attr] = {};
		entitlementsForRecord[attr].available_for = getUserEntitlementMatches(attr, 'mtom', recordID);
		entitlementsForRecord[attr].not_available_for = getUserEntitlementMatches(attr, 'no_mtom', recordID);

	}
	return entitlementsForRecord;
}

function getUserInfo(userID, ENTITLEMENTS_ENABLED) {
	var glideUser = gs.getUser().getUserByID(userID);

	var userInfo = {
		roles: glideUser.getRoles().toArray(),
		user_criteria: SNC.UserCriteriaLoader.getAllUserCriteria(userID)
	};
	if (ENTITLEMENTS_ENABLED) {
		// Augment User Information with their Entitlement Attributes
		var userRecord = glideUser.getRecord();
		userInfo.entitlements = {
			user: userID,
			company: userRecord.getValue('company'),
			department: userRecord.getValue('department'),
			location: userRecord.getValue('location'),
			group: glideUser.getMyGroups().toArray()
		};
	}
	return userInfo;
}

/* MARK: REST ENDPOINT */
// eslint-disable-next-line no-unused-vars
(function process(/*RESTAPIRequest*/ request, /*RESTAPIResponse*/ response) {
	// Deconstruct the Query
	var queryParams = request.queryParams;
	var userIDs = queryParams.user;
	var recordIDs = queryParams.record;
	var table = queryParams.table;

	const ENTITLEMENTS_ENABLED = gs.getProperty("moveworks.acl.check_legacy_entitlements") == "true";
	const IS_KNOWLEDGE_QUERY = (table == 'kb_knowledge');
	var result = {};

	// Get Information about the Users
	result['user'] = [];
	for (var userIdx in userIDs) {
		var userID = userIDs[userIdx];
		result.user.push(getUserInfo(userID, ENTITLEMENTS_ENABLED));
	}


	// Setup Records Response
	result[table] = [];
	if (IS_KNOWLEDGE_QUERY) result.kb_knowledge_base = {};

	for (var recordIdx in recordIDs) {
		var recordID = recordIDs[recordIdx];
		var recordInfo = {};

		// Get Information from the Resource Record
		var resource = new GlideRecord(table);
		resource.get(recordID);
		// recordInfo.table = table //ADDED BY FP

		//		recordInfo.resource = new MoveworksBaseUtils().convertGrToJSON(resource) //ADDED BY FP
		//recordInfo.kb_base = new MoveworksBaseUtils().convertGrToJSON(resource); //ADDED BY FP

		var roles = resource.roles.toLowerCase(); // glideUser.getRoles() makes all roles lowercase even if the source differs.
		recordInfo.roles = roles == '' ? [] : roles.split(",");
		if (IS_KNOWLEDGE_QUERY) {
			recordInfo.kb_knowledge_base = resource.kb_knowledge_base;
			
			/* If HR KB, access HR Script Include to grab sys id
			*/
			var mtomUserCriteria = [];
			if(recordInfo.kb_knowledge_base == 'javascript:getDefaultKB()'){
				var hrKB = new sn_hr_core.mwHRUserCriteria();
				var hrResource = hrKB.grabHRKB(recordID);

				recordInfo.kb_knowledge_base = hrResource.kb_knowledge_base.sys_id;
				recordInfo.available_for = hrResource.can_read_user_criteria.split(',') || [];
				recordInfo.not_available_for = hrResource.cannot_read_user_criteria.split(',') || [];
				var hrRoles = hrResource.roles.toLowerCase();
				recordInfo.roles = hrRoles == '' ? [] : hrRoles.split(",");
				resource = hrResource;
				mtomUserCriteria = hrKB.grabUserCriteria(recordInfo.kb_knowledge_base);
			} else{
				recordInfo.available_for = resource.can_read_user_criteria.split(',') || [];
				recordInfo.not_available_for = resource.cannot_read_user_criteria.split(',') || [];
			}

		}
		mtomUserCriteria = getMTOMCriteria(IS_KNOWLEDGE_QUERY ? resource.kb_knowledge_base : recordID, table);
		if (ENTITLEMENTS_ENABLED &amp;&amp; !IS_KNOWLEDGE_QUERY) recordInfo.entitlements = getAllUserEntitlements(recordID);

		// Get Information from related MTOMs
		// If it's a knowledge query, use the `kb_knowledge_base` attribute on the resource. Otherwise, use the recordID.
		
		if (IS_KNOWLEDGE_QUERY &amp;&amp; resource.kb_knowledge_base != "javascript:getDefaultKB()") {
			result.kb_knowledge_base[resource.kb_knowledge_base] = mtomUserCriteria;
			
		} else if (IS_KNOWLEDGE_QUERY &amp;&amp; resource.kb_knowledge_base == "javascript:getDefaultKB()") {
			result.kb_knowledge_base[recordInfo.kb_knowledge_base] = mtomUserCriteria;
		}else {
			objectAssign(recordInfo, mtomUserCriteria);
		}

		result[table].push(recordInfo);
	}

	return result;
})(request, response);
]]&gt;&lt;/operation_script&gt;&lt;operation_uri&gt;/api/488834/moveworks/acl/get_access_info&lt;/operation_uri&gt;&lt;produces&gt;application/json,application/xml,text/xml&lt;/produces&gt;&lt;produces_customized&gt;false&lt;/produces_customized&gt;&lt;relative_path&gt;/acl/get_access_info&lt;/relative_path&gt;&lt;request_example/&gt;&lt;requires_acl_authorization&gt;true&lt;/requires_acl_authorization&gt;&lt;requires_authentication&gt;true&lt;/requires_authentication&gt;&lt;requires_snc_internal_role&gt;true&lt;/requires_snc_internal_role&gt;&lt;short_description&gt;Returns the basic information required to evaluate if a user should have access &lt;/short_description&gt;&lt;sys_class_name&gt;sys_ws_operation&lt;/sys_class_name&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2022-01-18 18:33:33&lt;/sys_created_on&gt;&lt;sys_id&gt;2a9910242f1bd410d631db9df699b652&lt;/sys_id&gt;&lt;sys_mod_count&gt;53&lt;/sys_mod_count&gt;&lt;sys_name&gt;get_access_info&lt;/sys_name&gt;&lt;sys_package display_value="Global" source="global"&gt;global&lt;/sys_package&gt;&lt;sys_policy/&gt;&lt;sys_scope display_value="moveworks.acl.1.0.1"&gt;8e9e72261b8918105394fc88cc4bcb46&lt;/sys_scope&gt;&lt;sys_update_name&gt;sys_ws_operation_2a9910242f1bd410d631db9df699b652&lt;/sys_update_name&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2023-11-28 17:27:12&lt;/sys_updated_on&gt;&lt;web_service_definition display_value="moveworks"&gt;aaf4178a1b85d4105394fc88cc4bcbc8&lt;/web_service_definition&gt;&lt;web_service_version/&gt;&lt;/sys_ws_operation&gt;&lt;/record_update&gt;</payload>
<payload_hash>753678553</payload_hash>
<remote_update_set display_value="HR ACL Patch Fix 11/28/2023 - Batch Child">8e4780ad2fba7d54197fad2ef699b66a</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2023-11-28 17:31:54</sys_created_on>
<sys_id>824780ad2fba7d54197fad2ef699b66b</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>18c16fac84c0000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2023-11-28 17:31:54</sys_updated_on>
<table/>
<target_name>get_access_info</target_name>
<type>Scripted REST Resource</type>
<update_domain>global</update_domain>
<update_guid>82c60c2dbcba7d549f8e38c391a81ad9</update_guid>
<update_guid_history>82c60c2dbcba7d549f8e38c391a81ad9:753678553,113684a98fba7d5484ae17f25a000ae3:753678553,b82680e9a3ba7d54fa18997668c201cb:-1858948768,f03544690dba7d5480d9dba2626c498c:1177503487,0ce308a570ba7d54dbb3935679d48d76:642692060,2ba38c2548ba7d54d3dca017600fac45:-209360965,a163cc65f3ba7d5422db01272acd2f96:1712386395,5fe20025b1ba7d548b5a2a61940fd95f:-1195222587,c682c02583ba7d54838a2d273b8e0823:-1755923726,05918461a6ba7d541077c3b8abd236be:-2100200526,272080ed897a7d54098d5adc67e74ef6:-476285134,2abd7b99ec7a7d54c100bc6b8e6b7d6c:-2100200526,696df719587a7d545d5774bdc8f1da99:1460031740,a8b4a8a81996b950f4828445205c7554:-2100200526,8a346ca80f96b95058aee50c8a82586c:-809888578,8314a8a89296b9507891764eb8306278:-1938816709,ab09a09e47752510d58599264ba27436:-65511930,4aff62317c69691028c5ef8d5d4061a0:-568354424,053faabdc92969103a7fdead82f92118:1437103519,1bce2a7d40296910623ad0d31d3148e8:-568354424,01559eb1dd5d05105d907fd03e3fe13e:1437103519,900563887828a11015defd885834c703:-568354424,6f2b659fb767d990faf6b3e98a6e1dee:-1982212308,81d0165d6eabd190f0196d2a1488e644:498395992,36c0da5d26abd1900898df230e873023:-380360490,f080da5d23abd19090e387ba9f983c13:169484151,5e30965d00abd190d371c047e30c1d1f:-1652244114,0affca1d05abd190177ecc1b121612e1:77032011,d3efce1d37abd19030606ddf2c10bec8:-1674735128,b4ce82d9ceabd1903d7a5f31199c65a3:1061023752,245e46d998abd190c5466070284d364c:571206237,b43e46d962abd1907e5d6b72df60fa3a:-269485935,e90e465998abd19098fff1b215659f72:-1590825376,0bedce99edabd190e039e7d8f3b9c8fa:110721828,ae3dca19cdabd1904f7f319e7b4d2f0a:135504744,d4bbc61911abd190b4e0ecc2c61cc61d:-956994634,2a3b4619e4abd190c59fdfe5198e0231:-779482380,c53b4619dbabd1907e111f9dfe18892d:-1427087369,a12ace55c5abd190ed33dc6e036b2fd9:-1852263019,5e09ce55f2abd19031dbee8e983cc0c6:-1248039069,c1b88a55aaabd19009053be97fea28f8:-372095847,3c788a5512abd190b4a7b1b35d8eaa3b:1895486907,b438465537abd190928fed17e8735e60:369769668,d31882556eabd190140b9ba3615d6e39:-687499816,2b670a15b3abd1906ffd04e6076579d7:-1534501955,e1478e9199abd19090b2424effeb8186:1629704,396682d11cabd1906e5239e61e46658b:1526878512,36d5c691a5abd1906a4f6e8a722a95b1:-202158191,f1a5c69172abd1908cb8f9b6853275aa:-948650499,61544e1146abd19057502f26f509f034:-595249910,2993c2ddea6bd1903a543e6415eab1e7:-343605969,777282dd256bd190d76d60b2ce1f2e2e:-1521023281,fdaff5d94f6bd19020843ae2612d198f:-378960717,6bdef599de6bd1909e2d00c616175c17:191398683,1c4c12b1d5fad5100c857e3af79403bc:553920112,9a2bae55c2fa5510e114c8734a6f6866:1014732782,01559eb1dd5d05105d907fd03e3fe13e:1437103519,22ac22490bfa1510ddf30bb89babbef4:1014732782,ba7ce609adfa1510297936a65bc8a810:651630120,de5ce60914fa15103836e602b313c60b:1014732782,913ce60907fa15102add7a5827cf7486:1562458722,949be6c501fa15104e22623ad4407d1a:1601808400,507b2ac5b6fa1510c0804be15ead8237:-1412774020,023b2ac523fa1510d38e6d86ebd82e11:-72233380,e7aa2a8559fa15100b5ba398daadcefa:1337550898,41b22e8d4dba151049f30e37b1671add:1253683475,4c82a28d8dba15106f744ecb4a59cc1e:-371612695,bea1664d50ba151002bacb2c7fefdd2a:1437103519,e4316e0d6bba151084f0726b021da543:1205936724,01559eb1dd5d05105d907fd03e3fe13e:1437103519,8de5633aca0dc1101d0f7363bb45f24d:1480739223</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="moveworks.acl.1.0.1">8e9e72261b8918105394fc88cc4bcb46</application>
<category>customer</category>
<comments/>
<name>sys_ws_query_parameter_map_599ad3081b9d1c105394fc88cc4bcb02</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_ws_query_parameter_map"><sys_ws_query_parameter_map action="INSERT_OR_UPDATE"><sys_class_name>sys_ws_query_parameter_map</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2022-01-18 18:33:24</sys_created_on><sys_id>599ad3081b9d1c105394fc88cc4bcb02</sys_id><sys_mod_count>1</sys_mod_count><sys_name>ad9ad3081b9d1c105394fc88cc4bcb05</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_scope display_value="moveworks.acl.1.0.1">8e9e72261b8918105394fc88cc4bcb46</sys_scope><sys_update_name>sys_ws_query_parameter_map_599ad3081b9d1c105394fc88cc4bcb02</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2022-01-27 20:23:15</sys_updated_on><web_service_operation display_value="get_access_info">2a9910242f1bd410d631db9df699b652</web_service_operation><web_service_query_parameter display_value="record">ad9ad3081b9d1c105394fc88cc4bcb05</web_service_query_parameter></sys_ws_query_parameter_map></record_update>]]></payload>
<payload_hash>589243652</payload_hash>
<remote_update_set display_value="HR ACL Patch Fix 11/28/2023 - Batch Child">8e4780ad2fba7d54197fad2ef699b66a</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2023-11-28 17:31:54</sys_created_on>
<sys_id>8e4780ad2fba7d54197fad2ef699b66b</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>18c16fac91a0000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2023-11-28 17:31:54</sys_updated_on>
<table/>
<target_name>ad9ad3081b9d1c105394fc88cc4bcb05</target_name>
<type>Scripted REST Query Parameter Associatio</type>
<update_domain>global</update_domain>
<update_guid>4ec60c2d4fba7d54ba1df9004cd121df</update_guid>
<update_guid_history>4ec60c2d4fba7d54ba1df9004cd121df:589243652,bf451eb1115d05105137bfb6c9ce0fc3:589243652,b6d5eff6740dc1109d423aa8879623db:1501441568</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="moveworks.acl.1.0.1">8e9e72261b8918105394fc88cc4bcb46</application>
<category>customer</category>
<comments/>
<name>sys_ws_query_parameter_ad9ad3081b9d1c105394fc88cc4bcb05</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_ws_query_parameter"><sys_ws_query_parameter action="INSERT_OR_UPDATE"><example_value>03df4fe61b3814105394fc88cc4bcba0, 03df4fe61b3814105394fc88cc4bcba1, 03df4fe61b3814105394fc88cc4bcba2</example_value><name>record</name><required>true</required><short_description>Comma-separated records for which to fetch access info.</short_description><sys_class_name>sys_ws_query_parameter</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2022-01-18 18:33:20</sys_created_on><sys_id>ad9ad3081b9d1c105394fc88cc4bcb05</sys_id><sys_mod_count>1</sys_mod_count><sys_name>record</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_scope display_value="moveworks.acl.1.0.1">8e9e72261b8918105394fc88cc4bcb46</sys_scope><sys_update_name>sys_ws_query_parameter_ad9ad3081b9d1c105394fc88cc4bcb05</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2022-01-27 20:23:13</sys_updated_on><web_service_definition display_value="moveworks">aaf4178a1b85d4105394fc88cc4bcbc8</web_service_definition></sys_ws_query_parameter></record_update>]]></payload>
<payload_hash>1906493053</payload_hash>
<remote_update_set display_value="HR ACL Patch Fix 11/28/2023 - Batch Child">8e4780ad2fba7d54197fad2ef699b66a</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2023-11-28 17:31:54</sys_created_on>
<sys_id>ca4780ad2fba7d54197fad2ef699b66b</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>18c16fac8e40000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2023-11-28 17:31:54</sys_updated_on>
<table/>
<target_name>record</target_name>
<type>Scripted REST Query Parameter</type>
<update_domain>global</update_domain>
<update_guid>46c60c2decba7d54c2ee53297a9532de</update_guid>
<update_guid_history>46c60c2decba7d54c2ee53297a9532de:1906493053,8345d6b1865d051032a08db7ad820d09:1906493053,35d5eff6490dc1103b4a72e7906f760f:566856687</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
</unload>
