Problem
The Adobe User QPAC allows the Workflow Designer to copy attachments from the previous step in the process to the current User step, as shown below:
TODO: Insert image
However, if the User step is in a sub-process (using the Chain QPAC in LC7, or by invoking the Sub-process directly in ES), then it is unable to recurse up into its parent process to obtain the attachments from the previous task.
Solution
- Use the Avoka AttachmentsToList QPAC to extract the attachments from the User step (or the Init form) into a List variable, in the parent process.
- Pass the List variable as a parameter to the sub-process.
- In the sub-process, configure the User QPAC to obtain the attachments from the List variable, rather than from a previous step directly.
Notes
- You must upgrade to LiveCycle 7.2 or later, where the User QPAC was enhanced to use attachments from Lists.
- If you want the sub-process to be able to pass any additional attachments back to the parent process, then you must configure the User step to save the attachments back to the same list variable, and return that variable as an output of the sub-process back to the parent process.