-
Creating Catalog Names using Worker Node and Expressions?
Hello,
I’m new to Worker Node, and need a little friendly guidance on customizing tasks using expressions…
Here’s what I’m trying to do:
I have a folder named ‘test12345’ that contains ten clips and a subfolder that contains ten more clips.
When the ‘test12345’ folder is dropped in a watch folder, I want the the worker node to move the source folder along with all its contents and subfolders, to another drive and then publish those twenty clips to a signle ‘new catalog’ where the name of the catalog is the same as the primary folder ‘test12345’.
I’ve successfully created a task that moves the source folder from the watch folder to the destination drive. Where I’m getting stuck is during the post-processing phase. I select Publish, set the Group and then define the Catalog Name: Photo Archive/FY2012/
When I execute the task a new catalog is created that contains all clips from the ‘test12345’ folder and its subfolders, but the catalog has no name.
If I add $q to the Catalog Name field, as in: Photo Archive/FY2012/$q multiple catalogs are created where the ten clips contained in the ‘test12345’ folder are placed in a new catalog whose name is ‘test12345’ and the ten clips in the subfolder are placed in a separate new catalog whose name is based on the subfolder.
That’s not what I want either. I need one catalog that contains all the clips where the name is derived from the top most folder that is being moved, and all the clips contained in that folder, and all subsequent sobfolders are published to that one catalog.
Is this something that can be done with expressions?
If so, I would greatly appreciate some help.
Thank you,
-Jim