Hi. I have a folder with multiple subfolders. I want to organize the subfolders into categories of subfolders. For example, I want to take all folders and their contents that contain “ABC” in the name and move them to the alphabet folder and all folders and their contents that contain “123” to the numbers folder.
Is there a way to do this in Studio X? I appreciate the help! Thanks!
Hi. How do I do this if the folder name contains the common thread? For example, I have folders with subcontents. The folder names contain ABC and 123. I want to sort the folders and contents out at the folder level. I want to move all folders with ABC in their name and their contents to one folder and move all folders with 123 in their name and their contents to another folder. Thanks!
Hi. I did try that, but I’m not sure I explained my issue properly. I want to take these folders and any one that has FLEXMAP in the title, I want it and all of it’s contents moved to one folder and any folder that has CAAP in the title, I want it and all of it’s contents moved to another folder. Basically, I have a long list like this and I want to sort them. Thank you!
Try running the workflow as is, you will see folder name contains FLEXMAP contains files will moved to “FLEXMAP” Files and similarly for CAAP.
If you have long list, then IF statements looks ugly to design, in that case we need to go to switch statement which looks neat and clean. But since we are using “Contains” in the switch you have to add the below code as I shown below…
Check the commented out activity and click on the plus sign in the expresssion and choose advance editor…you will see this code…so you have to keep adding all the your list here and then you can place your move statement inside each case…