How do I integrate the process with Watched Folder?
How do I integrate the process with Watched Folder? There are many Watched Folder in our system and there are many process in our system. There is no way in Admin UI, to invoke the process that we want to start?
We want to use the offline capabilities of PDF platform. Users of our customer will copy-paste the offline PDF files in to a FTP folder. When a PDF file uploaded then start a specific LiveCycle process to export the data of PDF and save the data to the database.
We are currently using the Watched Folder service to convert the files in any type to the PDF format.
And now we want to create a process and use the Watched Folders as an Endpoint.
Usually you want an INPUT variable of type 'document' to store the file you drop in the watch folder.
Then when you go under the configuration, under the Input Mapping Section.
Map your input document to *.* (for every file type you may drop) or *.pdf (if you only want to get PDF)
As for the output, you can also use a 'document' variable and set it to OUTPUT.
The mappging for that variable would be the name of the pdf to write to the file system (i.e. MyFile.pdf). You can use the keyword %F and %E if you want to reuse the name and/or the extension of the input file (i.e %F.pdf).
I have created a video to explain where is the problem. It is accessable at:
I watched the video and I can identify two things:
1- When you create your watch folder endpoint you don't specify anything for your output variable. That might be what you want to do. I just wanted to make sure you realize that nothing will be written to the result folder when there is no more errors.
2- The error your getting is because of a coercion error. That means it's trying to cast one data type into another. From what I can see you're trying to put the content of your 'document' variable into an xfaForm and that won't work since one is binary (document contains PDF) and the other on is XML. Is this possible. Without seeing your process I can only guess.
Thank you for your reply.
We have prepared a new video to show the process in Workbench. The video is accessable at: