Expand my Community achievements bar.

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

Fetch pages where last modified date is greater than last replicated date

Avatar

Level 4

Hi , I am trying to find all the pages under the site tree where last modified dates is greater than last replicated date , i am using below query which is leveraging  standard predicate to compare two date properties but i am not getting any result , though we have lots of pages satisfying this condition

 

path=/content/site/abc/en
type=cq:Page
dateComparison.property1=jcr:content/cq:lastModified
dateComparison.property2=jcr:content/cq:lastReplicated
dateComparison.operation= greater

 

This query i am running in AEM Cloud Service

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 4

The issue is solved using > in the operation. Thanks !!! , closing this thread

View solution in original post

1 Reply

Avatar

Correct answer by
Level 4

The issue is solved using > in the operation. Thanks !!! , closing this thread