Skip to main content

Task PDF - Get Attachment​

The PDF - Get attachment(s) Task saves the files that are attached to PDF files.

The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.

Get attachment(s): Main settings tab​

Main settings tab of the Get attachment(s) Task, with the Attachment names grid, the Get attachment names button and the Password for file(s) box

  • Name (Attachment names ... grid): the names of the attachments to save

    When the grid is empty, the Task saves every attachment. Click Get attachment names to load the attachment names of the files that the File filter matches, and then select names in the Name column. A name can contain wildcards, such as *, and Variables.

  • Password for file(s): the password that opens the source PDF files, if they are protected

File filter tab​

The File filter tab selects the PDF files to take attachments from; see File Filter. If the filter has a Credential, the Task uses it while it reads and writes the files. When the logon with the Credential fails, the Task continues as the account that runs the Server and writes the error to the Server log.

Destination tab​

Destination tab of the Get attachment(s) Task, with the Save to.. group and the Folder and File mask boxes

  • Same file (Save to.. group): saves each attachment under its own name in the folder set on the File filter tab

  • Same folder but use file mask: saves each attachment in the folder set on the File filter tab, named by File mask

  • Different folder and use file mask: saves each attachment in Folder, named by File mask

  • Folder: the destination folder for Different folder and use file mask; click the folder button to browse

  • File mask: builds the file name from the attachment name, by the renaming standard set in Main - Settings

    The default * keeps the attachment name.

warning

A file that already has the name is replaced without a prompt.

When Include sub folders is checked on the File filter, the attachments are saved in the File filter folder, not in the subfolder the PDF file came from.

Output and errors​

The Task output lists the path of each attachment it saves.