Blog
Read the latest blogs
Find tutorials, guides and use case examples in the
Learning center
This feature is Experimental and may change based on user feedback and testing. Share your thoughts via our chatbot to help us improve it.
The Convert to PDF block enables document conversion into PDF format, streamlining file standardization and ensuring compatibility across various platforms.
This block allows users to transform documents, images, and other file types into PDFs, making them easier to share, store, and process in automation workflows.
Example: A Word document can be converted to PDF using this block and then processed by another automation step, such as emailing the PDF as an attachment.
Note: This feature is available starting from Release 2025.1.
Fully expanded, the Convert to PDF block shows the following properties:
The green input connector in the header is used to trigger the block to start executing.
The green output connector in the header triggers when the file type has been successfully converted to text.
The title of the block “Convert to PDF” can be changed by double-clicking on it and typing in a new title.
Once you drag the file into the block, the block will automatically recognize the file type.
A user can choose any of the below options as a source type:
This field allows you to drop the file that is to be converted.
This property contains the output result of the block, which will be a PDF file once the conversion process is complete.
The blue output connector triggers when the file type has been successfully converted to text and can be used as the source element in other building blocks.
This green output connector triggers if the file type is not converted within the time specified in the timeout field.
This connector can be used to branch the execution of the flow based on whether the file type is converted or not.
If the Default Timeout property checkbox is not selected, then the timeout value is 10 seconds. If the Default Timeout property checkbox is selected, then the Default Timeout value selected in the flow settings will be applicable.
The maximum time spent converting the file type before giving up and triggering the Not converted connector.
Note: All cases have a global timeout that can be configured in the Settings panel. This is unrelated to the timeout of a single building block. However, a running case will automatically be cancelled if it runs for longer than the global timeout.
Created 2024.02.08
©2024, Leapwork. All rights reserved.