cancel
Showing results for 
Search instead for 
Did you mean: 

Reminder before 6 months using lucene date range

nikes
Champ on-the-rise
Champ on-the-rise
Hello guys,

I am having a custom property for passport expiry date. "customSmiley Tongueassport_end_date".

I am writing a scheduled action that searches the full repository and find passport documents which will expire after six months.

I have written following date range query, but not getting the required result.

@custom\:passport_end_date :$[luceneDateRange(today, \"P6M\")]

How can I calculate customSmiley Tongueassport_end_date here?

I have referred http://wiki.alfresco.com/wiki/Scheduled_Actions and http://wiki.alfresco.com/wiki/Search but didn't get
required output.

Thanks,
Nikesh
1 REPLY 1

jayjayecl
Confirmed Champ
Confirmed Champ
Hi,

1/ The link to scheduled action you pointed out shows the use of "{ … }" instead of "[ … ]".
2/ it seems you have a space that should not be here


Try :

@custom\:passport_end_date:${luceneDateRange(today, \"P6M\")}
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.