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

Question

Question

Routing file to a folder in workflow

asked on October 17, 2018

I am trying to route a file to an existing folder in the repository.

The folder I am trying to route to is:  RAM-99999-John Doe

I want to use the workflow tool "Route Entry to Folder".

I am pulling the RAM and 99999 from the file name using Assign Token Values.

In the "Route To Folder" how would I ignore the John Doe part of the folder name?

 

Thanks for your help

0 0

Replies

replied on October 17, 2018

Hi Robert,

Unless the 'John Doe' part is always the same, and I am guessing its not, you will need to find the folder using your 'RAM' and '99999' tokens.

Using 'Search Repository' with a search string similar to:
{LF:Name="%(FileName)*", Type="F"} & {LF:LOOKIN="LFICHE\Contracts\"}

(replace %(FileName) with your token(s)   %(RAMToken)-%(99999Token)*  and the folder path of course)

You can then configure the 'Route Entry to Folder' activity using the token returned from the search: 
%(SearchRepository_FirstResult_FullPath)

~ Andrew

0 0
replied on October 17, 2018

Thank you. I will try this.

0 0
replied on October 17, 2018

It worked great. 

Thanks for the help.

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

Sign in to reply to this post.