The last and final step is to create AEM workflow which will generate a static, or non-interactive, PDF for review and approval. Workflow will be triggered via an AEM Launcher configured on the node
The following screenshot shows the steps involved in the workflow.
The XDP template and the data to be merged with the template is specified here. The data to be merged is the submitted data from the PDF. This submitted data is stored under the node
The generated PDF is assigned to workflow variable called
Assign task workflow component is used here to assign the generated PDF for review and approval. The variable
submittedPDF is used in the Forms and Documents tab of the Assign Task workflow component.