# 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="https://2882349412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MARm6St_qFGM52R3pBa%2Fuploads%2FYqEhuIR2TlraC3nqC4Nd%2FCancel%20System%20Script%204.4.7.png?alt=media&#x26;token=b82b4e8a-20a2-457c-b8ac-e7d412a4c66e" alt=""><figcaption><p>Cancel System Script</p></figcaption></figure>
