AnsweredAssumed Answered

Reminder before 6 months using lucene date range

Question asked by nikes on Jul 22, 2009
Latest reply on Jul 23, 2009 by jayjayecl
Hello guys,

I am having a custom property for passport expiry date. "custom:passport_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 custom:passport_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

Outcomes