Generate Document

4min


After creating the template you have the ability to generate documents in your processes.

1. Navigate to the Process Designer section and create your process.

2. Give it a name.

3. Drag the Generate Document action to the canvas.

Document image


4. Create the variables.

  • fileout ➜ the output variable of type File.
  • htmlstring the output variable of type String.
  • Name ➜ the input variable of type String.
Document image




5. Click the Generate Document action to access its configurations.

  • Select document template* - select the template we created here.
  • Save document as - the document will be saved s a PDF.
  • File name - choose the name of the file we will create.
  • Document output - add the file variable created in the previous step.
  • HTML string - add the string htmlstring variable created in the previous step.
Document image


6. Click Map Document Data and map the input variable Name created in the process to the Name variable used in the template (they do not need to have the same name).

Document image


7. Save, Validate and Run the process.

8. The process will ask for the input variables value.

Document image


9. Click Run again and than click Check instance.

10. If you wish to download the the file or the html output you just need to click the download button.

Document image


The pdf file output:

Document image




Updated 16 Feb 2024
Doc contributor
Doc contributor
Did this page help you?