---
sourceDocument: Xanadu ServiceNow AI Platform Administration
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/platform-administration

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Transaction cancellation

# Transaction cancellation {#ariaid-title1}

* Release version: Xanadu
* 
* Updated May 13, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

You can cancel transactions that take longer than expected to load. Canceling long-running transactions can help prevent excessive resource consumption.
Causes of slow-loading transactions include the following scenarios.

* Sorting a large number of records by an unindexed string field.
* Grouping a large table on a field that has predominantly distinct values.
* Exporting all rows from a large table.
* Testing a poorly scripted business rule that has an infinite JavaScript loop.
{#transaction-cancellation__ul_qqn_cyh_dp}

## Transaction cancel timer {#transaction-cancellation__section_xgc_3yy_hfc}

Note:  
You can't cancel an import with these controls.  
During a long-running transaction, a timer and a cancellation option appear in an alert banner.Figure 1. Cancel request ![An example running transaction alert banner, with the text "Running transaction: 6 seconds" and aCancel button.]()

To cancel the transaction, select the Cancel button. The alert message displays when a transaction cancellation is in progress and when the cancellation is completed.  
If a slow transaction completes successfully, the timer indicates how long it took for the transaction to complete.Figure 2. Transaction completed

## Canceled transaction logs

Canceled transactions appear in the transaction log with CANCELLED appended to the URL. Transactions canceled by a user are logged differently from transactions canceled by transaction quotas. For more
information about canceled transaction logging, see [Canceled-transaction logging to a table](https://servicenow-prod.fluidtopics.net/EXULWDtWv8QXRqA8XKqKCQ "The system logs canceled transactions to a table in addition to the transaction log."). For more information about transaction quotas, see [Transaction quotas](https://servicenow-prod.fluidtopics.net/zYP8Six~ApVsyyXundYN6Q "Transaction quotas allow you to define a quota policy for different types of transactions. A transaction quota cancels any transaction in violation of the policy and notifies the user of the cancellation.").

## Properties for transaction cancellation

Administrators can configure the behavior of the transaction cancellation capability using the following properties.  
{#transaction-cancellation__table_gpx_413_dp__entry__3}

| Property | Definition | Location |
|-|-|-|
| com.glide.request_manager.active | Let users cancel long-running transactions (enabled by default). | Open the sys_properties table by navigating to All and entering `sys_properties.list`. |
| glide.ui.transaction.long_response.time | Delay in seconds before the cancel transaction button appears for a long-running transaction. | Navigate to AllSystem PropertiesUI Properties and locate the field labeled Delay in seconds before the Transaction Cancel button is displayed for a long-running transaction. |
[ ]

{#transaction-cancellation__table_gpx_413_dp}
* **[View and kill active transaction](https://servicenow-prod.fluidtopics.net/3ptRU7fyrtO2iYChxGRBEA)**   
  Administrators can view active transactions and kill long-running transactions.
* **[Canceled-transaction logging to a table](https://servicenow-prod.fluidtopics.net/EXULWDtWv8QXRqA8XKqKCQ)**   
  The system logs canceled transactions to a table in addition to the transaction log.

*[\>]: and then


