web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Create notification / alert from item card

(2) ShareShare
ReportReport
Posted on by 1,038
Hi all,
 
If there is a tick box in item card, and the end user would like to receive a notification / alert when the tick box is ticked on the item card.
Is it configurable?
 
Thanks.
I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    61,248 Super User 2026 Season 2 on at
    Yes, you can write code in OnValidate trigger of that field and check if it is true then write code to send a notification/alert.
  • Verified answer
    OussamaSabbouh Profile Picture
    18,805 Super User 2026 Season 2 on at
    Hello,
    Not directly through standard configuration for any arbitrary checkbox on the Item Card. Business Central has built-in notifications and workflows for supported events, but if you need an alert specifically when a custom or standard checkbox is changed to Yes, you would normally need either a small AL customization to send a Business Central notification, or a Power Automate flow if the field is exposed and suitable for triggering. Standard workflow notifications only work for workflow events that Business Central supports.
     
    Regards,
    Oussama Sabbouh
  • Suggested answer
    YUN ZHU Profile Picture
    102,765 Super User 2026 Season 2 on at
    Hi, hope the following helps.
    Dynamics 365 Business Central: OnValidate (Field) Trigger in Power Automate (Trigger a flow when a field is modified) – Business events
    Dynamics 365 Business Central: How to send a message in Teams using Power Automate
     
    Thanks.
    ZHU
  • ALI NASIK Profile Picture
    32 on at
    Yes, this is configurable in Microsoft Dynamics 365 Business Central. The cleanest approach is to use a Notification triggered by a table event when the checkbox field is set to true.
    The code will be something like this
    Item Table
    field(50100; "Send Notification"; Boolean)
    {
    Caption = 'Send Notification';
    DataClassification = CustomerContent;

    trigger OnValidate()
    begin
    if "Send Notification" then
    ItemNotificationMgt.SendCheckboxNotification(Rec);
    end;
    }

        procedure SendCheckboxNotification(ItemRec: Record Item)
        var
            MyNotification: Notification;
        begin
            MyNotification.Id := CreateGuid();
            MyNotification.Message := StrSubstNo(
                'Item "%1" has been flagged via the checkbox.', ItemRec."No.");
            MyNotification.Scope := NotificationScope::LocalScope;
            MyNotification.AddAction(
                'Open Item', Codeunit::"Item Notification Mgt.", 'OpenItemCard');
            MyNotification.SetData('ItemNo', ItemRec."No.");
            MyNotification.Send();
        end;
        [EventSubscriber(ObjectType::Codeunit, Codeunit::"Item Notification Mgt.",
            'OnSendNotification', '', false, false)]
        procedure OpenItemCard(var Notification: Notification)
        var
            ItemRec: Record Item;
            ItemNo: Code[20];
        begin
            ItemNo := CopyStr(Notification.GetData('ItemNo'), 1, MaxStrLen(ItemNo));
            if ItemRec.Get(ItemNo) then begin
                Page.Run(Page::"Item Card", ItemRec);
            end;
        end;
     

    Email instead of in-app notification — swap the SendCheckboxNotification body with:

     
    
    var
        Email: Codeunit Email;
        EmailMessage: Codeunit "Email Message";
    begin
        EmailMessage.Create('recipient@company.com',
            'Item Checkbox Flagged',
            StrSubstNo('Item %1 has been ticked.', ItemRec."No."), true);
        Email.Send(EmailMessage);
    end;
  • Suggested answer
    Grigorios Mavrogeorgis Profile Picture
    3,096 Super User 2026 Season 2 on at
    Hi, yes, this is doable natively, two ways really. Easiest is Field Monitoring, search that in Tell Me, add a line for the Item table and the checkbox field, set Notify to yes, pick a recipient and email account. It fires an email whenever that field changes value, no dev work needed.
    If you want it inside BC itself rather than email, or need conditions beyond just "changed", Workflows can also trigger off an item field change and send an internal notification through Notifications instead of email, that one goes through job queue same as approvals do. Field Monitoring is simpler for just "tell me when this ticks", Workflow gives you more control if you eventually want an approval step or extra logic attached to it.
     
    Glad to help - follow up if anything is unclear.  
    ►  If this solved it, marking it verified helps others too.      
    Regards,
    Grigorios Mavrogeorgis
    Business Central Consultant & AL Developer

    Work: Gmsoft Limited
    Blog:  insidebusinesscentral
    LinkedIn: linkedin.com/in/gregorymavrogeorgis

     
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 524 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 399 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 354 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans