# Cancel

A Cancel System Script runs whenever a Keyfax script is cancelled.&#x20;

When a Keyfax script is cancelled no history is captured for the script so it's not possible to provide detailed reporting within Keyfax around script cancellations. If a script is cancelled Keyfax would typically pass back a flag to your housing management system or tenant portal to indicate the script was cancelled and no action is required.&#x20;

We recommend adding a Message to the script to inform the user that Keyfax is about to cancel and advise on next steps to make for a better user experience.&#x20;

{% hint style="info" %}
**Note:** Reserved System Scripts cannot link to Master Scripts. You can only link to Custom System Scripts.
{% endhint %}

<figure><img src="/files/C3F90KESHzdObFGp0q9f" alt=""><figcaption><p>Cancel System Script</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keyfax.biz/product-suite/admin/script-levels/system-scripts/cancel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
