Workflow Launcher Compare Dates Condition
I'd like to create a workflow launcher based on dates. If cq:lastReplicated is newer than cq:lastModified, then kick off the workflow. Is this possible? I'm looking to trigger this only when a document has been published and it should not trigger when a document has been versioned (that's why I'm trying to add the date logic).
I've tried these settings:
Event Type: modified
Node type: dam:Asset
Path: /content/dam/mydocuments
Run modes: author
Conditions:
jcr:content/cq:lastReplicationAction==Activate
jcr:content/cq:lastReplicated>jcr:content/jcr:lastModified
Event Type: modified
Node type: dam:Asset
Path: /content/dam/mydocuments
Run modes: author
Conditions:
jcr:content/cq:lastReplicationAction==Activate
jcr:content/cq:lastReplicated-jcr:content/jcr:lastModified>=0