I can't figure out why my Search activity works in testing, but when the WF is running normally, it does not find the target document. And yet, I have two search activities running in that same WF and the second one works every time! What am I doing wrong?
Target folders in LF:
The original submission is here: \LFForms\Website Report Form
The final form is filed here: \LFForms\Website Report Form\Follow Up
Search Querys:
Find the original submission (works in testing, but not in normal run): {LF:Name="*%(BP Instance Number for Final Form)*", Type="D"} & {LF:LOOKIN="flagstaff\%(Original Submission Path)", SUBFOLDERS=0}
Search Query to find:
Find the final form (which works every time!): {LF:Name="*%(BP Instance Number for Final Form)*", Type="D"} & {LF:LOOKIN="flagstaff\%(RetrieveFieldValueforLFFEntryPath_zLFF - Entry Path)"}
(both documents have this 996 Instance # in the name)