Is there a way to set the priority for a folder capture based on the filename extension?
I can’t think of any.
You may have some luck going by alphabetical order, because that’s how files are returned by the NTFS file system. But I’m pretty sure the name will have priority over the extension, so that may not be what you want.
I didn’t know of any either, working on an alternative method to set the priority.
Yuo could use the Folder Listing plugin to get the list of file in a folder and then through a loop in Workflow or a script, choose the order to get them.
Part of the filename contain the value to determine it a file is expedited or normal. I have a SetOrder process that picks up files using a mask that is set by a global “Mask” variable. I collect the value from the filename and put it into another global “Received” variable.
The files are named with a padded priority “Order” number so the real pickup process can pick them up alphabetically. The SetOrder process has a branch that checks the global “Received” variable to see if all the expedited have been received. If they have all been received then the global “Mask” variable is changed to pickup the normal files (all files).
I have another process that resets the global “Mask” variable back to expedited files only and empty’s the global “Received” variable first thing every morning. This process also sets global “Mask” variable to pickup the normal files (all files). at a predetermined time in case one of the expedited files is not received.