Deferred Copy Document

The Deferred Copy Document plug-in is similar to the Copy Document plug-in in that it is used to create a copy of a document and deposit it in either a SharePoint document library or a file system directory. The key difference is that the Deferred Copy Document plug-in puts the copying of the document in a queue for processing until the next time SVService runs (see the Winshuttle Workflow Administrator Guide). This plug-in is used in workflows published to DocEx sites.

Value Pair

Description

conversion

If converting the document, the type of conversion you want to execute. By default this setting should be entered as DefaultConv if you are only using one conversion tool.

NOTE: This option is not required if you are only copying a document to a SharePoint document library.

directory

The file system directory to which to copy the document. Either directory or list must be specified.

folder

The name of the SharePoint document library in which you want to copy the document. If the folder is unspecified, the document is copied to the root of the document library.

list

The SharePoint document library to which to copy the document.

name

Specifies the new name for the document.

NOTE: If this option is not used, then the copy of the document will retain the same name as the source file in the document library.

site

The SharePoint site to which to copy the document.

Example

  • folder – [Due Date]
  • list – MOCs
  • name – [NewID].[BaseName].[FileType]
  • site – http://acme.com/sv/DocEx

This example copies the process’s associated document to the folder contained in the SharePoint column Due Date in the list MOCs in the site http://acme.com/sv/DocEx. The file will be renamed to the value in the NewID field, followed by a _, followed by the base name of the document, followed by the file’s extension.