I am using a watched folder configured with an OSGi workflow that has a single OOTB Forms 6.4 step "Secure Document" that applies ARES credentials. My goal is to drop a PDF with a variable file name into the watched folder and get an extended PDF with the same name as output.
The workflow runs successfully by itself. The workflow + watched folder combo only succeeds if I specify the exact file name as relative input in the workflow ("input/form1.pdf"; "input" being the CRX node created when the folder ingests an item)—something I learned from this thread. That seems to defeat the purpose. If I set the input to a different path or "Use Payload", the watched folder errors out and says the following CRX path does not exist or has "no content":
etc/fd/watchfolder/staging/<watchedfoldername>/<long guid>/<input path specified in workflow>
I've tried many combinations of wildcards. Is variable file name input possible here or should I look elsewhere?
That makes more sense. Given my circumstances I might not be able to test this and might have to use Workbench to get a similar outcome, but I'll mark as answered. If I do test and wrap my brain around it, I'll update this thread.