Hi all,
We are in process of setting up an watch folder to combine comments from 2 pdf.
Use the below DDX:
<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
<PDF result="final.pdf">
<PDF source="doc1.pdf"/>
<Comments>
<PDF source="doc2.pdf"/>
</Comments>
</PDF>
</DDX>
When i use the ddx result i am getting "final.pdf", see screenshot:
But when I create watch folder using assembler server the "final.pdf" not getting as result, i am getting the source of 1st pdf only without combined comments.
I have used this variable in the "Get result".
Please advise how to get the final.pdf, i tried many times but failed to get the result.
Shaji
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Shaji,
to get this resolved we need to first find out how you have implemented the orchestration.
When you use watched folder with more than one file, you have to collect all input files in a subfolder and place them there together (or have some trigger when the watcher should consider these files). A lot rides on how you set up the watched folder
multiple files are returned as a "List" object - NOT a Map object.
The AssemblerService-Invoke DDX step requires you to build a "Input Document Map" which matches your keys with document objects coming from the watched folder, like
See here for using list: https://help.adobe.com/en_US/livecycle/11.0/WorkbenchHelp/WS92d06802c76abadb-1cc35bda128261a20dd-7d7...
If it depends on the sequence of files you may have to write some scripting or loop orchestration which investigates the input file list and builds the map manually.
The reason why you do not see a final.pdf in the AssemblerResult is that it did not get the input files to build it.
Check section "Assembling multiple documents"
Hi Shaji,
to get this resolved we need to first find out how you have implemented the orchestration.
When you use watched folder with more than one file, you have to collect all input files in a subfolder and place them there together (or have some trigger when the watcher should consider these files). A lot rides on how you set up the watched folder
multiple files are returned as a "List" object - NOT a Map object.
The AssemblerService-Invoke DDX step requires you to build a "Input Document Map" which matches your keys with document objects coming from the watched folder, like
See here for using list: https://help.adobe.com/en_US/livecycle/11.0/WorkbenchHelp/WS92d06802c76abadb-1cc35bda128261a20dd-7d7...
If it depends on the sequence of files you may have to write some scripting or loop orchestration which investigates the input file list and builds the map manually.
The reason why you do not see a final.pdf in the AssemblerResult is that it did not get the input files to build it.
Check section "Assembling multiple documents"
Thank you for the response, I will try this method and let you know if I get the result.
As said mapping I have used as "list".
Watch folder end point configured as per the below screenshot. (we are placing the PDF as folder placing the 2 pdfs and moving the folder to input folder.
In the pattern i have used "*".
Workbench screenshot below:
Here is the link for the .process file.
https://drive.google.com/file/d/1z23-9UW7eQn9G9OxdP1R4KT3ybr2IHEZ/view?usp=sharing
I am not an expert in workbench process. Please advise.
Shaji
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies