Hi All,
I have a Workflow that I am using to Target documents within the Repository folders that are saved incorrectly. i.e Based on a metadata field (Client Code) does not equal the folder name, then move the file to the correct folder.
Each Client Folder has a min of 2 folders that (Folder 1 and Folder 2) which works perfect, but we have another folder at times within the client folder (Folder 3) that I want to exclude from the search as it does not need to be touched. Please note that not all the client folders have folder 3.
In the first instance of my testing, the following search was done: {LF:Name="*", Type="D"} & {LF:LOOKIN="%(ForEachEntry_CurrentEntry_FullPath)"} - {LF:Name="Word Document.docx", Type="D"} : This is used to make sure that word document is never included in the search.
Question is, how do I add the Folder to not be included in the search? When doing the following:
{LF:Name="*", Type="D"} & {LF:LOOKIN="%(ForEachEntry_CurrentEntry_FullPath)"} - {LF:Name="Word Document.docx", Type="D"} | {LF:Name="*", Type="D"} & {LF:LOOKIN="%(ForEachEntry_CurrentEntry_FullPath)"} - {LF:Name="Folder 3", Type="F"} - It moved all the Folder 3 folders within the repository into a completely different location.
When testing the following: {LF:Name="*", Type="D"} & {LF:LOOKIN="%(ForEachEntry_CurrentEntry_FullPath)"} - {LF:Name="Word Document.docx", Type="D"} & {LF:Name="Folder 3", Type="F"} this did no function properly either.
The idea is to have this run once, and then thereafter have a workflow that will run everyday for the specific date: {LF:Name="*", Type="D"} & {LF:LOOKIN="%(ForEachEntry_CurrentEntry_FullPath)"} & ({LF:Modified="%(TodaysDate_DateTime 1)"}|{LF:Created="%(TodaysDate_DateTime 1)"}) - {LF:Name="Word Document.docx", Type="D"} which then I will need to add the folder to be excluded.
Please advise?
Thank you
Ziad