Navigation action cancellation
Summarize
Summary of Navigation action cancellation
The Request Manager in ServiceNow enables users to cancel navigation actions initiated from the application navigator by selecting another link before the current transaction completes. This functionality is particularly useful for canceling slow-loading transactions, improving user experience by preventing unnecessary waiting.
Show less
Cancellation depends on system properties and transaction settings, ensuring that only eligible transactions can be canceled.
Key Features
- Cancelable Transactions: Both the ongoing and new transaction must be marked as cancelable (sysparmcancelable=true), or the original transaction must be on the always cancelable list with the new one cancelable.
- Always Cancelable Allow List: Administrators can specify modules (usually read-only like dashboards, reports, knowledge articles) in the
glide.requestmanager.alwayscancelsystem property to always allow cancellation. - Reference Field Query Cancellation: Auto-completer queries in reference fields can be canceled when the user refines their input, controlled by
glide.requestmanager.cancelreferencecompleter. - System Properties:
- glide.requestmanager.cancelothertransaction: Enables or disables automatic cancellation of navigation actions (default: true).
- glide.requestmanager.alwayscancel: Lists URIs that are always cancelable (default includes home, sysreporttemplate).
- glide.requestmanager.cancelreferencecompleter: Controls cancellation of partial reference queries (default: true).
Use Cases
- User navigates from one module (e.g., homepage) to another (e.g., incident list) while the first is still loading; cancellation is controlled by
glide.requestmanager.cancelothertransaction. - User switches from a read-only module (e.g., report) to another module before loading completes; controlled by both
glide.requestmanager.cancelothertransactionandglide.requestmanager.alwayscancel. - User refines an auto-completer query in a reference field (e.g., from "PRB" to "PRB000"); cancellation is managed by
glide.requestmanager.cancelothertransactionandglide.requestmanager.cancelreferencecompleter.
Administration and Configuration
- Administrators can add UI pages or links to the always cancel list to extend cancellation capabilities to custom or additional modules.
- Cancellation of module transactions can be explicitly prevented by modifying the module definition, providing control over user navigation behavior.
The Request Manager allows users to cancel any navigation action they select from the application navigator by clicking another application navigator link. System properties work with settings for the table to allow navigation action cancellation.
This allows users to cancel slow loading transactions without having to wait for the previous transaction to complete.