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.
See this community thread helps you -- cq5 - How can I delete items from CQ Workflow Inbox? - Stack Overflow
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:
Views
Replies
Total Likes