-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdev53616-d270c3d34f307300ad404a10a310c78e.xml
50 lines (47 loc) · 15.9 KB
/
dev53616-d270c3d34f307300ad404a10a310c78e.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="UTF-8"?><unload unload_date="2019-04-19 14:01:10"><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>DGM-GlobalSearch</name><origin_sys_id/><parent/><release_date/><remote_base_update_set/><remote_parent_id/><remote_sys_id>d270c3d34f307300ad404a10a310c78e</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>2019-04-19 14:01:10</sys_created_on><sys_id>84c10f174f307300ad404a10a310c7b6</sys_id><sys_mod_count>0</sys_mod_count><sys_updated_by>admin</sys_updated_by><sys_updated_on>2019-04-19 14:01:10</sys_updated_on><update_set/><update_source/><updated/></sys_remote_update_set><sys_update_xml action="INSERT_OR_UPDATE"><action>INSERT_OR_UPDATE</action><application display_value="Global">global</application><category>customer</category><comments/><name>sys_trigger_1cd433f16f85210015244035eb3ee411</name><payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_trigger"><sys_trigger action="INSERT_OR_UPDATE"><application/><calendar/><claimed_by/><document/><document_key/><error_count>0</error_count><job_context/><job_id display_value="RunScriptJob">81c92ce9c0a8016400e5f0d2f784ea78</job_id><last_error/><log>false</log><maintenance>false</maintenance><max_drift/><name>Share Install Logger</name><next_action>2014-01-01 23:29:16</next_action><parent/><priority>100</priority><processing_duration>0</processing_duration><repeat/><run_count>0</run_count><run_dayofmonth/><run_dayofweek>1</run_dayofweek><run_month>1</run_month><run_time>1970-01-01 08:00:00</run_time><run_weekinmonth>1</run_weekinmonth><script>var logClient = new GlideSimpleHTTPClient('https://share.servicenow.com/installLogger.do');
var query_string = 'installed_by=' + gs.getUserName() + '&instance_name=' + gs.getProperty('instance_name') + '&artifact=67e0e606db10e20010c37ecfbf9619f3&content=ebe02e06db10e20010c37ecfbf961909';
gs.log('posting to: ' + query_string);
logClient.get(query_string);</script><state>0</state><sys_created_by/><sys_created_on/><sys_id>1cd433f16f85210015244035eb3ee411</sys_id><sys_mod_count/><sys_scope display_value="Global">global</sys_scope><sys_updated_by/><sys_updated_on/><system_id/><trigger_class>DEFAULT</trigger_class><trigger_type>0</trigger_type></sys_trigger></record_update>]]></payload><payload_hash/><remote_update_set display_value="DGM-GlobalSearch">84c10f174f307300ad404a10a310c7b6</remote_update_set><replace_on_upgrade>false</replace_on_upgrade><sys_created_by>admin</sys_created_by><sys_created_on>2019-04-19 14:01:10</sys_created_on><sys_id>04c10f174f307300ad404a10a310c7b8</sys_id><sys_mod_count>0</sys_mod_count><sys_recorded_at>16a35e18d3d0000001</sys_recorded_at><sys_updated_by>admin</sys_updated_by><sys_updated_on>2019-04-19 14:01:10</sys_updated_on><table/><target_name>Share Install Logger</target_name><type>Schedule Item</type><update_domain>global</update_domain><update_guid/><update_guid_history>63af9999c78d23006b465c557484a1fe:-501067865</update_guid_history><update_set/><view/></sys_update_xml><sys_update_xml action="INSERT_OR_UPDATE"><action>INSERT_OR_UPDATE</action><application display_value="Global">global</application><category>customer</category><comments/><name>sys_script_include_fd1068044f970200b608a6928110c785</name><payload><?xml version="1.0" encoding="UTF-8"?><record_update table="sys_script_include"><sys_script_include action="INSERT_OR_UPDATE"><access>package_private</access><active>true</active><api_name>global.GlobalSearch</api_name><client_callable>false</client_callable><description/><name>GlobalSearch</name><script><![CDATA[var GlobalSearch = Class.create();
GlobalSearch.prototype = {
initialize: function() {
},
bySysId: function(sys_id){
var tables = new GlideRecord('sys_db_object');
tables.addNullQuery('super_class');
tables.addQuery('name','DOES NOT CONTAIN', 'ts_');
tables.query();
while(tables.next()){
var agg = new GlideAggregate(tables.name);
agg.addAggregate('COUNT')
agg.addQuery('sys_id',sys_id);
agg.query();
agg.next();
if(agg.getAggregate('COUNT') > 0)
return tables.name;
}
throw "No record was found for sys_id: '"+sys_id+"'";
},
type: 'GlobalSearch'
};]]></script><sys_class_name>sys_script_include</sys_class_name><sys_created_by>admin_SHARE</sys_created_by><sys_created_on>2015-10-19 09:20:11</sys_created_on><sys_customer_update>true</sys_customer_update><sys_id>fd1068044f970200b608a6928110c785</sys_id><sys_mod_count>17</sys_mod_count><sys_name>GlobalSearch</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_replace_on_upgrade>false</sys_replace_on_upgrade><sys_scope display_value="Global">global</sys_scope><sys_update_name>sys_script_include_fd1068044f970200b608a6928110c785</sys_update_name><sys_updated_by>admin_SHARE</sys_updated_by><sys_updated_on>2015-10-19 10:12:56</sys_updated_on></sys_script_include></record_update></payload><payload_hash/><remote_update_set display_value="DGM-GlobalSearch">84c10f174f307300ad404a10a310c7b6</remote_update_set><replace_on_upgrade>false</replace_on_upgrade><sys_created_by>admin</sys_created_by><sys_created_on>2019-04-19 14:01:10</sys_created_on><sys_id>40c10f174f307300ad404a10a310c7b8</sys_id><sys_mod_count>0</sys_mod_count><sys_recorded_at>16a35e18d6b0000001</sys_recorded_at><sys_updated_by>admin</sys_updated_by><sys_updated_on>2019-04-19 14:01:10</sys_updated_on><table/><target_name>GlobalSearch</target_name><type>Script Include</type><update_domain>global</update_domain><update_guid/><update_guid_history/><update_set/><view/></sys_update_xml><sys_update_xml action="INSERT_OR_UPDATE"><action>INSERT_OR_UPDATE</action><application display_value="Global">global</application><category>customer</category><comments/><name>sys_processor_0dc2a4444f970200b608a6928110c713</name><payload><?xml version="1.0" encoding="UTF-8"?><record_update table="sys_processor"><sys_processor action="INSERT_OR_UPDATE"><active>true</active><class_name/><description/><interactive>false</interactive><name>GlobalSearch</name><parameters/><params_endpoint/><path>GlobalSearch</path><path_endpoint/><roles/><script><![CDATA[try{
var sys_id = g_request.getParameter("sys_id");
var response = new GlobalSearch().bySysId(sys_id);
g_processor.writeOutput("text/html",
'<script type="text/javascript">'+
'window.location = "/nav_to.do?url='+response+
'.do?sys_id='+sys_id+'"</script>');
}catch(e){
g_processor.writeOutput("text/plain", response);
}]]></script><sys_class_name>sys_processor</sys_class_name><sys_created_by>admin_SHARE</sys_created_by><sys_created_on>2015-10-19 09:29:02</sys_created_on><sys_customer_update>true</sys_customer_update><sys_id>0dc2a4444f970200b608a6928110c713</sys_id><sys_mod_count>10</sys_mod_count><sys_name>GlobalSearch</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_replace_on_upgrade>false</sys_replace_on_upgrade><sys_scope display_value="Global">global</sys_scope><sys_update_name>sys_processor_0dc2a4444f970200b608a6928110c713</sys_update_name><sys_updated_by>admin_SHARE</sys_updated_by><sys_updated_on>2015-10-19 10:15:36</sys_updated_on><type>script</type></sys_processor></record_update></payload><payload_hash/><remote_update_set display_value="DGM-GlobalSearch">84c10f174f307300ad404a10a310c7b6</remote_update_set><replace_on_upgrade>false</replace_on_upgrade><sys_created_by>admin</sys_created_by><sys_created_on>2019-04-19 14:01:10</sys_created_on><sys_id>8cc10f174f307300ad404a10a310c7b7</sys_id><sys_mod_count>0</sys_mod_count><sys_recorded_at>16a35e18d640000001</sys_recorded_at><sys_updated_by>admin</sys_updated_by><sys_updated_on>2019-04-19 14:01:10</sys_updated_on><table/><target_name>GlobalSearch</target_name><type>Processor</type><update_domain>global</update_domain><update_guid/><update_guid_history/><update_set/><view/></sys_update_xml><sys_update_xml action="INSERT_OR_UPDATE"><action>INSERT_OR_UPDATE</action><application display_value="Global">global</application><category>customer</category><comments/><name>sys_app_application_17d160444f970200b608a6928110c785</name><payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update sys_domain="global" table="sys_app_application"><sys_app_application action="INSERT_OR_UPDATE"><active>true</active><category display_value="Custom Applications">e0355b31ef303000a61d5a3615c0fb78</category><description/><device_type>browser</device_type><hint/><name/><order>100</order><roles>admin</roles><sys_class_name>sys_app_application</sys_class_name><sys_created_by>admin_SHARE</sys_created_by><sys_created_on>2015-10-19 09:21:40</sys_created_on><sys_customer_update>true</sys_customer_update><sys_domain>global</sys_domain><sys_domain_path/><sys_id>17d160444f970200b608a6928110c785</sys_id><sys_mod_count>0</sys_mod_count><sys_name>Global Search</sys_name><sys_overrides/><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_replace_on_upgrade>false</sys_replace_on_upgrade><sys_scope display_value="Global">global</sys_scope><sys_update_name>sys_app_application_17d160444f970200b608a6928110c785</sys_update_name><sys_updated_by>admin_SHARE</sys_updated_by><sys_updated_on>2015-10-19 09:21:40</sys_updated_on><title>Global Search</title><view_name/></sys_app_application></record_update>]]></payload><payload_hash/><remote_update_set display_value="DGM-GlobalSearch">84c10f174f307300ad404a10a310c7b6</remote_update_set><replace_on_upgrade>false</replace_on_upgrade><sys_created_by>admin</sys_created_by><sys_created_on>2019-04-19 14:01:10</sys_created_on><sys_id>c0c10f174f307300ad404a10a310c7b7</sys_id><sys_mod_count>0</sys_mod_count><sys_recorded_at>16a35e18d730000001</sys_recorded_at><sys_updated_by>admin</sys_updated_by><sys_updated_on>2019-04-19 14:01:10</sys_updated_on><table/><target_name>Global Search</target_name><type>Application Menu</type><update_domain>global</update_domain><update_guid/><update_guid_history/><update_set/><view/></sys_update_xml><sys_update_xml action="INSERT_OR_UPDATE"><action>INSERT_OR_UPDATE</action><application display_value="Global">global</application><category>customer</category><comments/><name>sys_ui_page_72a22b754f631200b608a6928110c729</name><payload><?xml version="1.0" encoding="UTF-8"?><record_update table="sys_ui_page"><sys_ui_page action="INSERT_OR_UPDATE"><category>general</category><client_script/><description/><direct>false</direct><endpoint/><html><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<script type="text/javascript">
askForSysId();
function askForSysId(){
var sys_id='';
while(sys_id == '' || sys_id.length!=32){
sys_id = prompt('Please, enter the sys_id of the record to be found');
}
if(sys_id != null)
window.open('/GlobalSearch.do?sys_id='+sys_id,'_blank');
}
</script>
</j:jelly>]]></html><name>searchSysId</name><processing_script/><sys_class_name>sys_ui_page</sys_class_name><sys_created_by>admin_SHARE</sys_created_by><sys_created_on>2016-05-23 16:20:31</sys_created_on><sys_customer_update>true</sys_customer_update><sys_id>72a22b754f631200b608a6928110c729</sys_id><sys_mod_count>2</sys_mod_count><sys_name>searchSysId</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_replace_on_upgrade>false</sys_replace_on_upgrade><sys_scope display_value="Global">global</sys_scope><sys_update_name>sys_ui_page_72a22b754f631200b608a6928110c729</sys_update_name><sys_updated_by>admin_SHARE</sys_updated_by><sys_updated_on>2016-05-23 16:23:10</sys_updated_on></sys_ui_page></record_update></payload><payload_hash/><remote_update_set display_value="DGM-GlobalSearch">84c10f174f307300ad404a10a310c7b6</remote_update_set><replace_on_upgrade>false</replace_on_upgrade><sys_created_by>admin</sys_created_by><sys_created_on>2019-04-19 14:01:10</sys_created_on><sys_id>c4c10f174f307300ad404a10a310c7b8</sys_id><sys_mod_count>0</sys_mod_count><sys_recorded_at>16a35e18d7b0000001</sys_recorded_at><sys_updated_by>admin</sys_updated_by><sys_updated_on>2019-04-19 14:01:10</sys_updated_on><table/><target_name>searchSysId</target_name><type>UI Page</type><update_domain>global</update_domain><update_guid/><update_guid_history/><update_set/><view/></sys_update_xml><sys_update_xml action="INSERT_OR_UPDATE"><action>INSERT_OR_UPDATE</action><application display_value="Global">global</application><category>customer</category><comments/><name>sys_app_module_53f1e0444f970200b608a6928110c73d</name><payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update sys_domain="global" table="sys_app_module"><sys_app_module action="INSERT_OR_UPDATE"><active>true</active><application display_value="Global Search">17d160444f970200b608a6928110c785</application><assessment/><content_page/><device_type/><filter table="global">sys_idSTARTSWITH^EQ<item endquery="false" field="sys_id" goto="false" newquery="false" operator="STARTSWITH" or="false" value=""/><item endquery="true" field="" goto="false" newquery="false" operator="=" or="false" value=""/></filter><hint/><homepage/><image/><link_type>DIRECT</link_type><map_page/><mobile_title>Search by sys_id</mobile_title><mobile_view_name>Mobile</mobile_view_name><name>global</name><order/><override_menu_roles>false</override_menu_roles><query>searchSysId.do</query><report/><roles/><survey/><survey_overwrite>true</survey_overwrite><sys_class_name>sys_app_module</sys_class_name><sys_created_by>admin_SHARE</sys_created_by><sys_created_on>2015-10-19 09:24:51</sys_created_on><sys_customer_update>true</sys_customer_update><sys_domain>global</sys_domain><sys_domain_path>/</sys_domain_path><sys_id>53f1e0444f970200b608a6928110c73d</sys_id><sys_mod_count>11</sys_mod_count><sys_name>Search by sys_id</sys_name><sys_overrides/><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_replace_on_upgrade>false</sys_replace_on_upgrade><sys_scope display_value="Global">global</sys_scope><sys_update_name>sys_app_module_53f1e0444f970200b608a6928110c73d</sys_update_name><sys_updated_by>admin_SHARE</sys_updated_by><sys_updated_on>2016-05-23 16:21:29</sys_updated_on><timeline_page/><title>Search by sys_id</title><uncancelable>false</uncancelable><view_name/><window_name/></sys_app_module></record_update>]]></payload><payload_hash/><remote_update_set display_value="DGM-GlobalSearch">84c10f174f307300ad404a10a310c7b6</remote_update_set><replace_on_upgrade>false</replace_on_upgrade><sys_created_by>admin</sys_created_by><sys_created_on>2019-04-19 14:01:10</sys_created_on><sys_id>c8c10f174f307300ad404a10a310c7b7</sys_id><sys_mod_count>0</sys_mod_count><sys_recorded_at>16a35e18d810000001</sys_recorded_at><sys_updated_by>admin</sys_updated_by><sys_updated_on>2019-04-19 14:01:10</sys_updated_on><table>global</table><target_name>Search by sys_id</target_name><type>Module</type><update_domain>global</update_domain><update_guid/><update_guid_history/><update_set/><view/></sys_update_xml></unload>