Cleanup AEM Inbox Notifications for Admins | Community
Skip to main content
August 24, 2017

Cleanup AEM Inbox Notifications for Admins

  • August 24, 2017
  • 1 reply
  • 3575 views

Problem statement:

There is a badge showing close to 2000 unread notifications, which is far beyond the number of unread notifications that are relevant to the logged in user.

Expected Results:

There should be a badge showing only the number of unread notifications for the logged in user; so real notifications don’t get buried.

ASK?

Any configuration/code changes to cleanup unread notifications.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

smacdonald2008
Level 10
August 24, 2017
August 24, 2017

Thanks; it's very helpful.

I'M CREATING OSGI CONFIG FOR PURGING WORKFLOW:

<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
   jcr:primaryType="sling:OsgiConfig"
   scheduledpurge.name="Purge All Completed Workflows"
   scheduledpurge.workflowStatus="COMPLETED" (how to add "FAILUREITEM" | Running Failed | STALE) ?
   scheduledpurge.modelIds="[]"
   scheduledpurge.cron="30 9 * * * ?"
   scheduledpurge.daysold="30" />

We can purge notifications with  Workflow Status: COMPLETED/RUNNING; how about other workflow status?

I see many "FAILUREITEM" in our inbox.

How to DELETE/Purge below  workflows?

RUNNING BUT FAILED STATUS:

STALE STATUS: