KB-1581 Notification engines taking significant space on disk and not clearing


Notification engines keep growing causing significant disk space usage on the environment.


Notification alerts generated by the application are cleared from the system when both of the following requirements are satisfied:

  • The alert is past its expiration limit.
  • The user associated with that notification logs in to Appian after the alert passes its expiration limit.


  1. Contact Appian Technical Support via support case to obtain a script to correct the problem.
  2. Unzip the contents of the zip into <APPIAN_HOME>/_admin/_scripts.
  3. Run executeAppianSupportScript.bat|sh based on the OS in a terminal.
  4. Execute the deletenotificationsforusers script. The syntax is the following:
    DeleteNotificationsForUsers --usernames (List of String) --expired (OPTIONAL) --beforedate (OPTIONAL Date yyyy-MM-dd)

Note: Users running getNotificationsCountForUsers --all will get a list of all users and their notification count. From that list, delete the notifications for users with the most notifications.

Affected Versions

This article applies to all versions of Appian.

Last Reviewed: May 2018