This repo serves as my personal archive of slashcommand that I can't live without since I'm often switching client remote desktops and laptops and wanted a easy place to go to import them all at once. There is a slashcommands.json file that you can use to import the commands in bulk, and I've written a quick GitHub action to list them out one by one below so they can be grabbed a la cart.
Special slashcommand, accessible via extension keyboard shortcut
My preferred keyboard bound slashcommand is the //tab command which just opens a fresh tab. I bind this to ⌥T.
//tabWidgets <search>
Search for widgets by name or id.
sp_widget_list.do?sysparm_query=nameLIKE$0^ORidLIKE$0^ORDERBYDESCsys_updated_onStats.do
Open the stats.do page, kinda silly since you can do /stats.do but I like it.
/stats.doGroups <search>
Search for groups by name or get to the group table quickly.
sys_user_group_list.do?sysparm_query=nameCONTAINS$0^ORDERBYDESCsys_updated_onMy Companies Applications
Open the My Companies Applications page, useful for installing or updating internal apps.
/$mycompanyappsmgmt.doLoad an update set
Opens the load update set page.
upload.do?sysparm_referring_url=sys_remote_update_set_list.do%3Fsysparm_fixed_query%3Dsys_class_name%3Dsys_remote_update_set&sysparm_target=sys_remote_update_setAgile Board
Opens the Agile Board, about as good as a bookmark, but in a slashcommand.
/$agile_board.do#/sprint_planningSLA Definitions <search>
Search for SLA definitions by name, or get to the SLA table quickly.
contract_sla_list.do?sysparm_query=nameLIKE$0^ORDERBYDESCnameRoles <search>
Search for roles by name, or get to the role table quickly.
sys_user_role_list.do?sysparm_query=nameLIKE$0^ORDERBYnameClear Cache
Opens the cache.do page, useful for clearing the cache. Use it in conjunction with the /cls command.
cache.doData Broker Server Scripts <search>
Search for Data Broker Server Scripts by name, or get to the Data Broker Server Script table quickly.
sys_ux_data_broker_transform_list.do?sysparm_query=nameLIKE$0^ORDERBYnameACL Roles Relation <search>
Search for ACL Roles Relation by the role name, useful to see which ACLs that a role is affiliated with.
sys_security_acl_role_list.do?sysparm_query=sys_user_role.nameLIKE$0^ORDERBYDESCsys_security_aclEvent Log <search>
Shows the event log for the day, useful for checking if events have been queued and processed.
sysevent_list.do?sysparm_query=sys_created_onONToday@javascript:gs.beginningOfToday()@javascript:gs.endOfToday()^nameLIKE$0^ORDERBYDESCsys_created_onUX Add-on Event Mappings for Macroponent
Shows the UX Add-on Event Mappings for the macroponent, useful for checking if events have been mapped correctly or fixing broken mappings. Intended to be run on a macroponent record.
sys_ux_addon_event_mapping_list.do?sysparm_query=parent_macroponent=$sysidApp Log for Current Scope
Shows the app log for the current scope for the day, way less cluttered than the general instance log.
syslog_app_scope_list.do?sysparm_query=sys_created_onONToday@javascript:gs.beginningOfToday()@javascript:gs.endOfToday()^sys_scope=javascript:gs.getPreference("apps.current_app")^ORDERBYDESCsys_created_onSyslog for today, only errors
Shows the syslog for the day, only showing errors and warnings.
syslog_list.do?sysparm_query=sys_created_onONToday@javascript:gs.beginningOfToday()@javascript:gs.endOfToday()^levelIN2,3^ORDERBYDESCsys_created_onExample: Open in Test
Example slashcommand to open the the current record in the test environment. Double // invokes another command. Replace test with your instance prefix. (test.service-now.com)
//env testExample: Compare to record in Test
Example slashcommand to open compare the current record with the test environment. Double // invokes another command. Replace test with your instance prefix. (test.service-now.com)
//diffenv testNew update set
Opens a new update set record, for your current scope.
sys_update_set.do?sys_id=-1My recent updates
Shows the recent updates you have made, useful for checking your updates have been captured and in which update sets.
sys_update_xml_list.do?sysparm_query=sys_updated_by=javascript:gs.getUserName()^ORDERBYDESCsys_created_onView Node Logtail
Opens the logtail channel, useful for tailing the node logs. Can be useful in REST message processing debugging.
channel.do?sysparm_channel=logtailRole Contains Roles <search>
Search for roles that contain other roles, useful for checking role hierarchies.
sys_user_role_contains_list.do?sysparm_query=containsLIKE$0^ORDERBYnullCurrent Update Set
Opens the current update set, no longer do you need to go through the header.
sys_update_set.do?sys_id=javascript:gs.getPreference('sys_update_set')Enable NextExperience Logging
Enables logging in the NextExperience, useful for debugging. Does the same thing as the DEX extension.
javascript:window.nowUiFramework.setConfigItem("loggingEnabled",!0),window.nowUiFramework.setConfigItem("loggingLevels",["error","warn","info","debug","trace"]);Remote Instances <search>
Navigate to the remote instances list to retrieve update sets from lower environments.
sys_update_set_source_list.do?sysparm_query=^ORDERBYnameScheduled Jobs <search>
Search for scheduled jobs by name, or get to the scheduled job table quickly.
sysauto_list.do?sysparm_query=nameLIKE$0^ORDERBYnameEvent Registry <search>
Search for events by name, or get to the event registry table quickly.
sysevent_register_list.do?sysparm_query=event_nameLIKE$0^ORDERBYnullNotifications <search>
Search for notifications by name, or get to the notification table quickly.
sysevent_email_action_list.do?sysparm_query=nameLIKE$0^ORDERBYorderRunning Scheduled Jobs
Shows the scheduled jobs that are currently running, useful for checking on the completion of scheduled jobs.
sys_trigger_list.do?sysparm_query=next_actionONToday@javascript:gs.beginningOfToday()@javascript:gs.endOfToday()^state=1^ORDERBYnameIndicators <search>
Search for PA Indicators by name, or get to the indicator table quickly.
pa_indicators_list.do?sysparm_query=type=1^nameLIKE$0^ORDERBYorderScripts <search>
Search for PA Scripts by name, or get to the script table quickly.
pa_scripts_list.do?sysparm_query=nameLIKE$0^ORDERBYnameScript Execution Histories <search>
Show the most recent script executions, useful for grabbing code you've previously run in background scripts or rolling back runs.
sys_script_execution_history_list.do?sysparm_query=^ORDERBYnullFix Scripts <search>
Search for fix scripts by name, or get to the fix script table quickly.
sys_script_fix_list.do?sysparm_query=nameLIKE$0^ORDERBYnameToday's History Set Captures
Shows the history set captures you have made today, useful grabbing historical values from records when they aren't in the activity formatter and you don't have admin/glide.history.role.
sys_history_line_list.do?sysparm_query=userDYNAMIC90d1921e5f510100a9ad2572f2b477fe^update_timeONToday@javascript:gs.beginningOfToday()@javascript:gs.endOfToday()^ORDERBYnullForce current record to current update set
Opens the script editor with a script that will force the current record to your current update set. Needs to switched to global scope to be run, but will place the update in the current update set.
/sys.scripts.do?scope=global&content=var%20current%20%3D%20new%20GlideRecord%28%22$table%22%29%3B%0Aif%20%28current.get%28%22$sysid%22%29%29%7B%0A%20%20%20%20gs.info%28current.getDisplayValue%28%29%29%3B%0A%20%20%20%20var%20um%20%3D%20new%20GlideUpdateManager2%28%29%3B%0A%20%20%20%20um.saveRecord%28current%29%3B%0A%7DTests <search>
undefined
sys_atf_test_list.do?sysparm_query=nameLIKE$0^ORDERBYnameTest Suites <search>
undefined
sys_atf_test_suite_list.do?sysparm_query=nameLIKE$0^ORDERBYnameUX Client Script Includes <search>
undefined
sys_ux_client_script_include_list.do?sysparm_query=nameLIKE$0^ORDERBYnameUpdate Sets <search>
undefined
sys_update_set_list.do?sysparm_query=^ORDERBYDESCsys_updated_onNew Update Set
undefined
sys_update_set.do?sys_id=Remote Instances <search>
undefined
sys_update_set_source_list.do?sysparm_query=^ORDERBYnameCSM/FSM Workspace
undefined
/now/cwf/agent/homeCSM/FSM Work Orders
undefined
/now/cwf/agent/list/params/list-id/b774a68a871e7410c273ece80cbb3522/tiny-id/KxCq8Z5jPb7rRzhHLDZO156pLAEMPEP4SOAP Messages <search>
undefined
sys_soap_message_list.do?sysparm_query=^ORDERBYDESCsys_created_onRetrieved Update Sets <search>
undefined
sys_remote_update_set_list.do?sysparm_query=^ORDERBYDESCsys_updated_onTests <search>
undefined
sys_atf_test_list.do?sysparm_query=^ORDERBYDESCsys_updated_on