You are viewing limited content. For full access, please sign in.

Question

Question

Unable to search by Date Created substract 4 hours

asked on November 25, 2017 Show version history

Hello all,

I have defined a date token calculator that would subtract a certain number of hours and the used this token in the search repository. However, the search result is returning 0. Please see my search syntax: {LF:LOOKIN="Cust\", SUBFOLDERS=1} & ({[]:[Doc Type]="*"} - {[]:[Doc Type]="Approval"})
& {LF:Created >"%(DateTokenCalculator_Last Run Time)"}

Oh yes, I have used a track token after the DateToken Calculator.

Thanks to advise where i went wrong.

0 0

Replies

replied on November 26, 2017

hello Sheila,

try with Between option will bring the result.

{LF:Created>="<Subtract Token>", Created<="<Current Date & Time>"}

 

 

0 0
replied on November 26, 2017

Hi Shiraj,

By Subtract Token. do you mean the 'DateTokenCalculator_Last Run Time'. Should another token be used for the <Current Date & Time>?

0 0
replied on November 26, 2017

Hello Sheila,

No need any token add this syntax in your search criteria 

{LF:Created>="<Subtract Token>", Created<="<Current Date & Time>"}.

Thank You.

0 0
replied on November 27, 2017

Does the search return any results when you run it in the Laserfiche Client or Web Access?

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.