A template defines the layout and content of a generated document. Use it with a Generate Document task to create documents that include data collected during a process, such as form field values, process variables, and formatted text.
Templates can contain placeholders that are replaced with runtime data when the document is generated. The basic template variable connects the document template to form data and the metadata configured in the Generate Document task, allowing information captured during the process to be inserted automatically into the generated document.
To generate a file from a submitted form, the basic variable of the template is: <<doc [form]>>. This variable alone allows you to connect the template file with metadata settings of the Generate Document task and any of the configured form fields, including rich text configuration.
You can also customize the appearance of generated documents by adding elements such as logos, headers, footers, and other formatting.