Hello!
I am trying to make a requirement for incoming files and folder to have a 6 digit job number at the start of the name.
I can get this to work on individual job files, but on job folders it always errors out.
I have included my regx in the attached screenshot. I am not sure what I am doing wrong in the scenario.
Sort Job Folder By Name
- magnussandstrom
- Advanced member
- Posts: 378
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact:
Re: Sort Job Folder By Name
Maybe you can do it like this instead?
- Attachments
-
- regex.png (40.34 KiB) Viewed 322 times
Re: Sort Job Folder By Name
Have you tried omitting the .* in your expression
Code: Select all
^/d{6}
Color Science & Workflow Automation
Re: Sort Job Folder By Name
What you neglected to mention was that your screenshot comes from the outgoing connection of a "Submit hierarchy". I have to admit I had to search a bit to see what you were talking about. What this and also Magnus's reply illustrate is that you are using a feature of "Submit hierarchy" that not a lot of people are using.
You say that it errors out, but what is the exact error message in the Switch messages? Or does the "Submit hierarchy" element go into an error state?
What does the folder structure look like? Is it possible that there are folders that match with files inside that do not match? Or the other way around that there are folders that do not match with files inside that do match?
You say that it errors out, but what is the exact error message in the Switch messages? Or does the "Submit hierarchy" element go into an error state?
What does the folder structure look like? Is it possible that there are folders that match with files inside that do not match? Or the other way around that there are folders that do not match with files inside that do match?