Hi all,<br /><br />I have a process which handles a number of forms (3 or 4 depending on the routes chosen).<br /><br />Along the process i store the forms as documents and add them to a list variable. In the end of the process I call a subprocess with this list as input and this process uses a ddx-file for assembling a pdf-package that can be presented as an overview/result of a specific invocation. The ddx-file looks like this:<br /><br /><?xml version="1.0" encoding="UTF-8"?><br /> <DDX xmlns="http://ns.adobe.com/DDX/1.0/"><br /> <PDF result="GeneratedDocument.pdf"> <br /> <PackageFiles> <br /> <PDF source="attachments"/><br /> </PackageFiles> <br /> </PDF><br /> </DDX><br /><br />The map that I use as input for the invokeDDX service is created like this:<br /><br />/process_data/ddxMap[@id="attachments"] = /process_data/ddxList<br /><br />After this step the ddxList variable has the size 3 and the ddxMap variable has a size of 1. Is this not the correct approach?<br /><br />Post is continued below:
However this gives me the following output in the server.log:
2008-10-26 19:35:03,583 INFO [com.adobe.livecycle.assembler.AssemblerServiceImpl] ALC-ASM-N00-001: Execute: invokeDDX() begin on thread JMS SessionPool Worker-34 32009 2008-10-26 19:35:03,598 INFO [com.adobe.internal.ddxm.Executive] DDXM_N00000: Started processing result named GeneratedDocument.pdf 2008-10-26 19:35:04,020 INFO [com.adobe.internal.ddxm.Executive] DDXM_N00001: Successful assembly of result named GeneratedDocument.pdf 2008-10-26 19:35:04,067 INFO [com.adobe.livecycle.assembler.AssemblerServiceImpl] ALC-ASM-N00-001: Execute: invokeDDX() end on thread JMS SessionPool Worker-34 32009 2008-10-26 19:35:04,192 INFO [com.adobe.livecycle.fileutils.FileUtilsService] Null document. 'writeDocument' operation not completed
The writeDocument fails because the document that I try to save in a doc varioble seems to be null.
Can anyone help me understand why this is the case? I must have over looked something...