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: