SaveWordAsPdf

Estimated reading: 2 minutes

This activity enables users to save a Word document as a PDF file.

Parameters

INPUT

File Path: *Specifies the file path with the .pdf extension where the Word document will be saved as a PDF. The value can be hardcoded in a String variable or passed as a String datatype.

Replace Existing: Determines whether an existing file at the specified location should be replaced.

MISC

DisplayName: Displays the name of the activity.

SkipOnError: Specifies a Boolean value: True or False.
     True: Continues executing the workflow regardless of any errors encountered.
     False: Halts the workflow if any error occurs.
     None: If left blank, the activity behaves as False by default.

Version: Indicates the version of the feature being used.

OUTPUT

Result: Returns the execution status of the activity as a Boolean value.   
    True: The activity executed successfully without any errors.
    False: The activity failed due to an unexpected error.

* Represents mandatory fields required to execute the workflow.

How to Do?

To perform this activity, it must be used within the WordScope activity.

1. Drag and drop the SaveWordAsPDF activity inside the WordScope
2. In the WordScope activity, select the file path of the input Word document.
3. In the SaveWordAsPDF activity, provide the same file path with the file extension of .pdf. The path can be hardcoded or passed as a variable.

Example:
WordScope File Path: “C:\Users\Document1.docx”
SaveWordAsPDF File Path: “C:\Users\Document1.pdf”

Share this Doc

SaveWordAsPdf

Or copy link

CONTENTS