# Notification.Recall() Method
> Version: _Available or changed with runtime version 1.0._
Recall a sent notification.
## Syntax
```al
[Ok := ]  Notification.Recall()
```
## Parameters
Notification
Type: notification-data-type
An instance of the notification-data-type data type.
## Return Value
*[Optional] Ok*
Type: ../boolean/boolean-data-type
true if it succeeds in sending a recall request to the client; otherwise false. The same notification can be recalled more than once, without failing. Also, a notification can be recalled successfully even if it hasn't been sent. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.
## Remarks
A typical reason that the RECALL method returns false is a failure in the communication with the client. Another reason could be that the code tries to recall a notification for which there is no instance.
## Example
The following code creates a notification and sends it if NewBalance is greater than the credit limit. If it is lower than the credit limit, it recalls the notification.
```al
MyNotification.ID := '00000000-0000-0000-0000-000000000001';
IF NewBalance > Rec. "Credit Limit" then begin
  MyNotification.Message := 'The customer''s current balance exceeds their credit limit.';
  MyNotification.Scope := NotificationScope::LocalScope;
  MyNotification.AddAction('Fix it.', 50001, 'FixCustomerCreditLimit');
  MyNotification.SetData('CustomerNo.', Rec."No.");
  MyNotification.Send;
end else
  MyNotification.Recall;
```
## Related information
notification-data-type
Get Started with AL<../../devenv-get-started>
Developing Extensions<../../devenv-dev-overview>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/notification/notification-recall-method, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/notification/notification-recall-method/
