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 Screen Shot 2017-08-24 at 1.39.16 PM.png](/t5/image/serverpage/image-id/7267i23B6EB97761FCB3F/image-size/large?v=v2&px=999)
How to DELETE/Purge below workflows?
RUNNING BUT FAILED STATUS:
![Workflow-running-FAilures.png Workflow-running-FAilures.png](/t5/image/serverpage/image-id/7268iF25870ACBF0399F7/image-size/large?v=v2&px=999)
STALE STATUS:
![Workflow-STALE.png Workflow-STALE.png](/t5/image/serverpage/image-id/7269iEFDFC792B6100C9E/image-size/large?v=v2&px=999)