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

Question

Question

Workflow idea

asked on March 24

I am pretty new to workflow and am looking for a guide on how I could achieve a goal of one of our users.   I am looking for a way that I can search the repository in a few folders ( I am using the Advanced search syntax and it is working) for files with a specific name.  I need it to then create shortcuts in a different location with that name if they do not exist.

I guess my question is where do you all think it would be best to put the tokens and conditional checks to accomplish this. 

 

Thanks in advance for any assistance.

0 0

Answer

SELECTED ANSWER
replied on March 25

In the For Each Entry, I would add in another search that checks if there is a shortcut of the appropriate name in the destination folder. After that search, a conditional checking if "Results Found" of that search is false, then copy a new shortcut into the folder.

0 0
replied on March 25

Thanks, that makes sense something I forgot to mention in my original post is that it would need to overwrite with a newer version sometimes the file gets updated midweek so I would just need to check the timestamps of that as well. 

 

Thanks again Jim.

0 0
replied on March 25

Glad to help!

0 0

Replies

replied two days ago

As a side note to all of this, apparently after some testing with a co-worker who knows a lot more about LF than I do, this is built in functionality in LF.  If a shortcut is created then it will always refer to the document.  This means that if the Document is Deleted the Shortcut is also gone.  If the user overwrites the file then the shortcut remains and references that same document. 

All that really needed to happen is on creation of the document make a shortcut in a different location. 

 

Just thought I would add that in case others were not aware of it.

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

Sign in to reply to this post.