Business process designer > BPMN processes > Graphical elements / Convert to PDF

Convert to PDF

to_pdf_0Converts a .docx or .xlsx file to .pdf in the course of a business process.

To illustrate, let's use the process in which a contract is created and sent to the counterparty. The contract is created from a template as a .docx file. It is then edited if necessary and sent to the manager for approval. The approved document is then converted to .pdf using the Convert to PDF element. The contract can no longer be edited, and an employee is assigned a task to send it to the counterparty.

The diagram of this process will look as follows:

to_pdf_1

 

Set up the element

On the process page, go to the right pane and open the System elements tab.

Drag the Convert to PDF element to the process diagram and place it in the spot where you need the system to convert the document.

to_pdf_2

Double-click on the shape to open its settings. 

to_pdf_3

  • Name*. Specify the name of the operation as it will be shown on the process diagram;
  • Input file*. Select a File variable that will store the document that will be converted to .pdf;  
  • Output file*. Select a File variable that will store the converted document;
  • Name of the output file*. Enter a name for the converted file. You can use process variables and the DateTime function. To add a variable, click {+} on the right side of the field. To use DateTime, click {f}.  

After having filled out the form, click Save.

When the process flow reached the Convert to PDF step, the document will be automatically converted to .pdf. The converted document will be saved to the variable specified as the output file. You can use this variable further in the process. In the example that we reviewed earlier, the file will be attached to the task form, so the user will be able to download it and send to the counterparty.

Found a typo? Highlight the text, press ctrl + enter and notify us