Copy Attachments Plug-in

The Copy Attachments plug-in copies one or more attached documents (from an Attachment Control in a form) at a given point in a Workflow to any of the following 3 locations:

  1. A folder on server
  2. A form in another process
  3. A File Library

Properties

Name

Description

Mandatory

Group Name Modes

binding

Attachment control binding from which the attachment file(s) are copied.

Yes

Form Control All

directory

The file system directory into which Attachment Control attachments are copied.

Example:

Direct value: D:\Files\Public\Users\

Value from form field: [/my:myFields/my:field2]

Value from solution field: [field1]

No

Attachment Target Directory

targetprocessid

Process ID to which attachment file(s) are copied. The specified process status must be “running.” To define the attachment control binding, specify the targetbinding.

Example:

Direct value : 5CE7CE49-6A9E-4300-B20D-0DCA2DCA1ABB

Value from form field: [/my:myFields/my:field2]

Value from solution field: [field1]

No

Attachment Target Form Process

targetbinding

The attachment control binding of the target process; attachment file(s) are copied to this binding. If a file with the same name as your file already exists in the target attachment control, your new file will overwrite the existing file (merging with the existing file rather than deleting it).

Example:

Direct Value : /my:myFields/my:field2

Value from form field: [/my:myFields/my:field2]

Value from solution field: [field1]

No

Attachment Target Form Process

folder

The folder name of File Library into which attachments are copied.

No

Attachment Target File Library

Preference of file copy

  1. Directory parameter
  2. Both targetbinding and targetprocessid parameters
  3. Folder

Example

An administration office receives a paper copy of incoming invoices from vendors. The administration clerk scans the paper copy and then submits the invoice for manager approval. If the manager approves, the vendor invoice will be paid and the scanned copy of the original invoice will be stored for future use.