Expand my Community achievements bar.

Nomination window for the Adobe Community Advisor Program, Class of 2025, is now open!

Cleanup AEM Inbox Notifications for Admins

Avatar

Former Community Member

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.

AEM-inbox-Messages.png

2 Replies

Avatar

Level 10

Avatar

Former Community Member

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.

Screen Shot 2017-08-24 at 1.39.16 PM.png

How to DELETE/Purge below  workflows?

RUNNING BUT FAILED STATUS:

Workflow-running-FAilures.png

STALE STATUS:

Workflow-STALE.png