Page 1 of 1

Move files by named-pattern into specified folder

Posted: Tue Oct 17, 2023 9:55 am
by almiro
Hello everyone:
I am a beginner in Enfocus Switch and have been working on a workaround for 2 days to achieve the desired result. Unfortunately without success.
Maybe someone already knows this problem and can give me a tip? I would be very grateful!

So I have the following folder structure:

HOTFOLDER (known)
- GAMMA_EXPORT_2023 (folder)
- - XLS_KA (folder)
- - SITO_KA (folder)
- XLS__DE.pdf
- XLS__FR.pdf
- XLS__EN.pdf
- SITO__DE.pdf
- SITO__FR.pdf
- SITO__EN.pdf
I have the following folder structure
I have the following folder structure
Bildschirmfoto 2023-10-17 um 09.48.14.png (54.42 KiB) Viewed 11023 times
What I am trying to do:
HOTFOLDER (known)
- GAMMA_EXPORT_2023 (folder)
- - XLS_KA (folder)
- - - XLS__DE.pdf
- - - XLS__FR.pdf
- - - XLS__EN.pdf
- - SITO_KA (folder)
- - - SITO__DE.pdf
- - - SITO__FR.pdf
- - - SITO__EN.pdf
What I am trying to do:
What I am trying to do:
Bildschirmfoto 2023-10-17 um 09.48.30.png (55.62 KiB) Viewed 11023 times
OUTPUTFOLDER (known)
- GAMMA_EXPORT_2023 (Folder)
At the end there should be 1 single folder with all files in it:
At the end there should be 1 single folder with all files in it:
Bildschirmfoto 2023-10-17 um 09.52.45.png (22.16 KiB) Viewed 11023 times
If you need more information or sample files then please get in touch. Thanks a lot!

Re: Move files by named-pattern into specified folder

Posted: Tue Oct 17, 2023 5:20 pm
by freddyp
Have a look at this training session: https://learning.enfocus.com/course/view.php?id=40

Re: Move files by named-pattern into specified folder

Posted: Thu Oct 19, 2023 3:21 pm
by almiro
Hi, and thank you for your message! I didn't find any solution or a hint - on the link you gave me - to solve this task. Anyway, thx.

Re: Move files by named-pattern into specified folder

Posted: Fri Oct 20, 2023 1:58 pm
by Terkelsen
Use the folder GAMMA_EXPORT_2023 as your Archive hierarchy. In the flow before archiving use the "Set hierarchy path" and define "Path segment 1" as this single line text with variable: [Job.NameProper:Before="_"]_KA