Expand my Community achievements bar.

Watched Folder - Failure.log

Avatar

Former Community Member
I have a watched folder and need to write out the failure.log file

with the name of the sourced pdf file I passed in.



IE.



WatchedFolder\input\Test.pdf

WatchedFolder\failure\Test.log



As opposed to the default of:



WatchedFolder\failure\Test\failure.log
3 Replies

Avatar

Former Community Member
to get the filename of the source file you need to use %F.pdf

so I think you can try using

WatchedFolder\failure\%F.pdf

Avatar

Former Community Member
I need to access it from inside the process...

Avatar

Former Community Member
may be you can use another watch folder to look for failure logs and that way you can get the failure log bk in to the process