Skip to content

Commit

Permalink
rename application menu added settings seperator
Browse files Browse the repository at this point in the history
  • Loading branch information
admin committed Dec 14, 2021
1 parent 3b3489f commit 405a294
Show file tree
Hide file tree
Showing 8 changed files with 133 additions and 52 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<?xml version="1.0" encoding="UTF-8"?><record_update sys_domain="global" table="sys_app_application">
<sys_app_application action="DELETE">
<active>true</active>
<category display_value="Custom Applications">e0355b31ef303000a61d5a3615c0fb78</category>
<description/>
<device_type>browser</device_type>
<hint/>
<name/>
<order>100</order>
<roles/>
<sys_class_name>sys_app_application</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2021-12-13 10:01:43</sys_created_on>
<sys_domain>global</sys_domain>
<sys_domain_path>/</sys_domain_path>
<sys_id>bc57d41b879001104f8765f73cbb351e</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_name>Zenduty Settings</sys_name>
<sys_overrides/>
<sys_package display_value="Zenduty V3" source="x_734544_zendutyv3">7a51ee59879001104f8765f73cbb359b</sys_package>
<sys_policy/>
<sys_scope display_value="Zenduty V3">7a51ee59879001104f8765f73cbb359b</sys_scope>
<sys_update_name>sys_app_application_bc57d41b879001104f8765f73cbb351e</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2021-12-13 10:01:43</sys_updated_on>
<title>Zenduty Settings</title>
<view_name/>
</sys_app_application>
<sys_update_version action="INSERT_OR_UPDATE">
<action>DELETE</action>
<application display_value="Zenduty V3">7a51ee59879001104f8765f73cbb359b</application>
<file_path/>
<instance_id>e31125b8db04fb4042b321c40596195e</instance_id>
<instance_name>dev74539</instance_name>
<name>sys_app_application_bc57d41b879001104f8765f73cbb351e</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/><sys_class_name>sys_app_application</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2021-12-13 10:01:43</sys_created_on><sys_domain>global</sys_domain><sys_domain_path>/</sys_domain_path><sys_id>bc57d41b879001104f8765f73cbb351e</sys_id><sys_mod_count>0</sys_mod_count><sys_name>Zenduty Settings</sys_name><sys_overrides/><sys_package display_value="Zenduty V3" source="x_734544_zendutyv3">7a51ee59879001104f8765f73cbb359b</sys_package><sys_policy/><sys_scope display_value="Zenduty V3">7a51ee59879001104f8765f73cbb359b</sys_scope><sys_update_name>sys_app_application_bc57d41b879001104f8765f73cbb351e</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2021-12-13 10:01:43</sys_updated_on><title>Zenduty Settings</title><view_name/></sys_app_application></record_update>]]></payload>
<payload_hash>1344995527</payload_hash>
<record_name>Zenduty Settings</record_name>
<reverted_from/>
<source>07a27882875441104f8765f73cbb35de</source>
<source_table>sys_update_set</source_table>
<state>previous</state>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2021-12-13 10:01:43</sys_created_on>
<sys_id>9487581b879001104f8765f73cbb3524</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>17db33daf130000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2021-12-13 10:01:43</sys_updated_on>
<type>Application Menu</type>
<update_guid>dc87581be29001103fd6b143248c5423</update_guid>
<update_guid_history>dc87581be29001103fd6b143248c5423:1344995527</update_guid_history>
</sys_update_version>
<sys_metadata_delete action="INSERT_OR_UPDATE">
<sys_audit_delete display_value="Zenduty Settings">258d026787d001104f8765f73cbb3554</sys_audit_delete>
<sys_class_name>sys_metadata_delete</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2021-12-14 13:15:50</sys_created_on>
<sys_db_object display_value="" name="sys_app_application">sys_app_application</sys_db_object>
<sys_id>7ac605e3a0324fd3ad781967d2b726d1</sys_id>
<sys_metadata>bc57d41b879001104f8765f73cbb351e</sys_metadata>
<sys_mod_count>0</sys_mod_count>
<sys_name>Zenduty Settings</sys_name>
<sys_package display_value="Zenduty V3" source="x_734544_zendutyv3">7a51ee59879001104f8765f73cbb359b</sys_package>
<sys_parent/>
<sys_policy/>
<sys_scope display_value="Zenduty V3">7a51ee59879001104f8765f73cbb359b</sys_scope>
<sys_scope_delete display_value="">0524978403c24b66bac6a7cf88152c64</sys_scope_delete>
<sys_update_name>sys_app_application_bc57d41b879001104f8765f73cbb351e</sys_update_name>
<sys_update_version display_value="sys_app_application_bc57d41b879001104f8765f73cbb351e">9487581b879001104f8765f73cbb3524</sys_update_version>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2021-12-14 13:15:50</sys_updated_on>
</sys_metadata_delete>
</record_update>
2 changes: 1 addition & 1 deletion 7a51ee59879001104f8765f73cbb359b/checksum.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
zhEo5qVfeQQxzgro_BwycHiH1vF8uOIaMEidgNRYEY--XvZ3Z4ftcZs4UEm7E6vygFyDonUYvj9n5F7QMFFVO82ZWjlIDyZwu-aXWeoHACbvknAtzv5J8N8B7tAu_2ZRzL3SmxSaeG0bEfiN5DgKulGTpWuWrIXzYCFqXMq5-Z-PqDrRPcICorczxwFMmykue4wvTlOq25PCsZFForFNmJySdR3Bm4qKxv5F13xxh9UlFu7R8Ml2gN9ywVG2jEDygr_0ItgecVU5Qm2Z97IpqmOyywS-S5Z_3vaeHuwaLqMUjLf6rUPd5M3NIFXL_Bgv2hfBfmZs4jfiza6s11beNUxFyE5vdkFcU_Ofq8Ply5EnR_q8bf4tn6oHt_CzZulskUVdKQlcf_yJSOdMEvTl87kyce1HukDDtkgu3QAtsnc8xpUAJvh6Yu9C10DANRmXXyG5bEN6PNCqIXLnJha_pkV_2pUdc1N2HYPyGCpI1XagcqMa7wfE6r4m2IozTZCe5W21hfWj9rWBheEsg-hrJUZH83QVAtpfgg-8ALEM55QuWv2fC05uL582fwN70gsDH9zZjptuEthW79Bmu8iGJmS0BroHgbVcUiwGAnz9UafWbDQWAdG6PR9JaLE_ygFKv_gRgYqInI_3LqCnsXxBUstUbwRrR-FP64phlI-0H2I
K5vklNvRoFOCiZY9c2pMmVhOaPOlJcEhyUxyf80o0icwVg6zC5NsHvRTvukgyxTDcV4rR-WiuOXvoQIYJVIR30zffEYVz3moOIFegJ5KsgjN5t7yH_Y_if-0bF7ox9ljYtclD5rZ8qzu6XblRFcM81gZr9FFPdffAILCvG7-1sc6TKJCawM9AvIt6vshDFauk3lp4ahBkD7_jzP1WTpsfRKAN1GptkPtpdFq7HJVDVJcv92A9N3vV67JKYeZxTCW89m9qgaLDhNLo8-_iszrq7pfK71rBlVq1WhxQBIIAuyHeq0PRA3ARGERmMrFzrCw9BTZ3rIxRMkcYm_rTO71P92BgCo2PSBm8IjpSwoeGqMOMMCaYREB-gXwIy4sSOm57veE1XJvRg5xPLN7STiODmLQalViLuCKqm3yawBs3Btaq9XQfRKPMOxVrBhGCcDS7S7g86sPH3EkDxVdUAtaJuaZE1pxymeCcfJ7xMeXZiWUnRxYVipEAMcuSyatGmx_o9ZoTiWMGBSSEWM94-XHXmTatEMOH1TcdKl5xJyiwDkq8qIEGyv15aGmcZObxFl9RlQn3x9hHgQxNUFm6u3m2w5lfEz7jtMgRErP-kPrf9RhAGkq7fEmiEK7ccxwbOyyWuanX5JBxlypdxxjA_DojJ4J_-kq99SP5Z-SpArLEJs
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
<sys_domain>global</sys_domain>
<sys_domain_path>/</sys_domain_path>
<sys_id>47816699879001104f8765f73cbb35da</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_name>Zenduty V3</sys_name>
<sys_mod_count>1</sys_mod_count>
<sys_name>Zenduty V1</sys_name>
<sys_overrides/>
<sys_package display_value="Zenduty V3" source="x_734544_zendutyv3">7a51ee59879001104f8765f73cbb359b</sys_package>
<sys_policy/>
<sys_scope display_value="Zenduty V3">7a51ee59879001104f8765f73cbb359b</sys_scope>
<sys_update_name>sys_app_application_47816699879001104f8765f73cbb35da</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2021-12-07 14:57:00</sys_updated_on>
<title>Zenduty V3</title>
<sys_updated_on>2021-12-14 13:13:26</sys_updated_on>
<title>Zenduty V1</title>
<view_name/>
</sys_app_application>
</record_update>

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?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="Zenduty V1">47816699879001104f8765f73cbb35da</application>
<assessment/>
<device_type/>
<filter/>
<hint/>
<homepage/>
<image/>
<link_type>SEPARATOR</link_type>
<map_page/>
<mobile_title>Settings</mobile_title>
<mobile_view_name>Mobile</mobile_view_name>
<name/>
<order>4</order>
<override_menu_roles>false</override_menu_roles>
<query/>
<report/>
<roles/>
<sys_class_name>sys_app_module</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2021-12-14 13:14:41</sys_created_on>
<sys_domain>global</sys_domain>
<sys_domain_path>/</sys_domain_path>
<sys_id>892d462787d001104f8765f73cbb359a</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_name>Settings</sys_name>
<sys_overrides/>
<sys_package display_value="Zenduty V3" source="x_734544_zendutyv3">7a51ee59879001104f8765f73cbb359b</sys_package>
<sys_policy/>
<sys_scope display_value="Zenduty V3">7a51ee59879001104f8765f73cbb359b</sys_scope>
<sys_update_name>sys_app_module_892d462787d001104f8765f73cbb359a</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2021-12-14 13:14:41</sys_updated_on>
<timeline_page/>
<title>Settings</title>
<uncancelable>false</uncancelable>
<view_name/>
<window_name/>
</sys_app_module>
</record_update>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?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="Zenduty Settings">bc57d41b879001104f8765f73cbb351e</application>
<application display_value="Zenduty V1">47816699879001104f8765f73cbb35da</application>
<assessment/>
<device_type/>
<filter/>
Expand All @@ -13,7 +13,7 @@
<mobile_title>settings</mobile_title>
<mobile_view_name>Mobile</mobile_view_name>
<name/>
<order>1</order>
<order>5</order>
<override_menu_roles>false</override_menu_roles>
<query>system_properties_ui.do?sysparm_title=Auth Settings&amp;sysparm_category=Settings,Auth Settings&#13;
</query>
Expand All @@ -25,15 +25,15 @@
<sys_domain>global</sys_domain>
<sys_domain_path>/</sys_domain_path>
<sys_id>c9a4d097879001104f8765f73cbb3545</sys_id>
<sys_mod_count>1</sys_mod_count>
<sys_mod_count>2</sys_mod_count>
<sys_name>Settings</sys_name>
<sys_overrides/>
<sys_package display_value="Zenduty V3" source="x_734544_zendutyv3">7a51ee59879001104f8765f73cbb359b</sys_package>
<sys_policy/>
<sys_scope display_value="Zenduty V3">7a51ee59879001104f8765f73cbb359b</sys_scope>
<sys_update_name>sys_app_module_c9a4d097879001104f8765f73cbb3545</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2021-12-13 10:22:33</sys_updated_on>
<sys_updated_on>2021-12-14 13:15:07</sys_updated_on>
<timeline_page/>
<title>Settings</title>
<uncancelable>false</uncancelable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
<sys_created_by>admin</sys_created_by>
<sys_created_on>2021-12-13 10:15:40</sys_created_on>
<sys_id>a99a9c9b879001104f8765f73cbb356c</sys_id>
<sys_mod_count>1</sys_mod_count>
<sys_mod_count>6</sys_mod_count>
<sys_name>x_734544_zendutyv3.Integration Key</sys_name>
<sys_package display_value="Zenduty V3" source="x_734544_zendutyv3">7a51ee59879001104f8765f73cbb359b</sys_package>
<sys_policy/>
<sys_scope display_value="Zenduty V3">7a51ee59879001104f8765f73cbb359b</sys_scope>
<sys_update_name>sys_properties_a99a9c9b879001104f8765f73cbb356c</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2021-12-14 09:11:28</sys_updated_on>
<sys_updated_on>2021-12-14 13:19:15</sys_updated_on>
<type>string</type>
<value/>
<write_roles/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,22 +135,16 @@
var message = ex.getMessage();
}
}
var url = "http://8e4b-2409-4070-4e95-718b-4530-c656-869f-3ef1.ngrok.io";
// var url = "http://8e4b-2409-4070-4e95-718b-4530-c656-869f-3ef1.ngrok.io";
var url = "https://www.zenduty.com/api";
var check_record_zen = new GlideRecord("x_734544_zendutyv3_incidents");
check_record_zen.addQuery("incident_id",current.sys_id);
check_record_zen.query();
if (current.state == 1 && !(check_record_zen.next()) ) {
url = url + "integration/servicenow/" + gs.getProperty("x_734544_zendutyv3.Integration Key") +"/";
url = url + "/integration/servicenow/" + gs.getProperty("x_734544_zendutyv3.Integration Key") +"/";
ExecuteRequest(url);
}
else if (current.state != previous.state && !(check_record_zen.next()) ){
while(check_record_zen.next()){
var incident_id = check_record_zen.getValue("incident_number");
}
url = url + "incidents/" + incident_id + "/";
ExecuteRequest(url);
}
Expand All @@ -162,15 +156,15 @@
<sys_domain>global</sys_domain>
<sys_domain_path>/</sys_domain_path>
<sys_id>c4e2367d879c01104f8765f73cbb353d</sys_id>
<sys_mod_count>86</sys_mod_count>
<sys_mod_count>99</sys_mod_count>
<sys_name>incident_create_main</sys_name>
<sys_overrides/>
<sys_package display_value="Zenduty V3" source="x_734544_zendutyv3">7a51ee59879001104f8765f73cbb359b</sys_package>
<sys_policy/>
<sys_scope display_value="Zenduty V3">7a51ee59879001104f8765f73cbb359b</sys_scope>
<sys_update_name>sys_script_c4e2367d879c01104f8765f73cbb353d</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2021-12-14 09:29:17</sys_updated_on>
<sys_updated_on>2021-12-14 13:00:34</sys_updated_on>
<template/>
<when>async_always</when>
</sys_script>
Expand Down

0 comments on commit 405a294

Please sign in to comment.