I have a workflow that searches for a specific file in LF server location using the "For Each Output File" activity. In the Files section, I am using Type: [Windows File Directory], including options [Folder Path] (with a token) and [Only include files like].
Problem:
1) When a specific file name in [Only include files like] is provided as a TOKEN, it does not return anything.
2) When a specific file name in [Only include files like] is type in, then it works.
The need arises because I have a workflow with a script that creates a CSV file with a random name in a windows location, it is then emailed and finally deleted from the windows path.
Because the I am not being able to pass the file name as a token, for the moment, I am renaming the file, searching for the file with the new name using the [For Each Output File] activity with a fixed, typed file name for it to work.
Question: Has anybody been able to have the [For Each Output File] work using a TOKEN as the file name?
Help will be greatly appreciate.