Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / How to Perform Notific...
Finance forum

How to Perform Notification Clean Up?

(0) ShareShare
ReportReport
Posted on by 730

Hi there,

Would you please advise how to perform the notification clean-up? Here are details about my problem:

  1. I need to ensure that specific user has all his unseen notifications cleared, because he is unable to log into D365FO.
    1. SystemNotificationUser table contains thousands entries which clot into the user's browser and does not let user to proceed to the workspace screen after he is successfully authenticated:
      select * from SYSTEMNOTIFICATIONUSER where CREATEDBY LIKE 'Michael%'
  2. I tried to use System Administration > Periodic tasks >Notification clean-up to clean the notifications and here are the challenges which I encountered:
    1. It seems that we cannot initiate the notification clean-up on demand - it has to be done as a batch job.
    2. Even if I set up a batch job with the most primitive settings, despite it is executed the notifications are note updated.

Questions:

  1. Is there a possibility to initiate notification clean-up without scheduling the batch job?
  2. Could you please point to the instructions on how to set up the notification clean-up batch job which actually work and what to specifically check to ensure that the batch job does what it is supposed to do?
  3. What are the validation criteria in the database to confirm that the notifications are actually succeeded and won't show up for the user?

Many thanks for your help, in advance!

Categories:
  • Verified answer
    Jie G Profile Picture
    on at
    RE: D365FO - How to Perform Notification Clean Up?

    And you can run notification clean-up without scheduling the batch job by setting the "Batch processing" to "No" under "Run in background".
    You can use the "Filter" under "Record to include"; if you wish to delete the alerts which are specific to a user, you can add a row to the Range table for the User ID field.

    notification.png

  • Verified answer
    Sukrut Parab Profile Picture
    71,682 Moderator on at
    RE: D365FO - How to Perform Notification Clean Up?

    For clean up , you can check SystemNotification table for status completed  it relates to SystemNotificationUser with recId . Further you can look at class SystemNotificationsManager for additional logic . The clean up job from Sysadmin clears data from eventInbox table.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,430 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,043 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans