Help Center>Foundation Help

Applies to:

  • Winshuttle Foundation

Winshuttle Workflow SVAdm command: AddDocMonitor

This operation allows you to run a process against all documents in a document library that have met an expiration date.

Usage

The following example monitors all documents in the MOC library for an expiration date:

svadm.exe –o adddocmonitor –url http://acme/sv/Chemdocuments -list MOC -process "MOC Review" –ownerfield docOwner –timestampfield expiresOn –gatekeeperswimlane "MOC Reviewer"

An expiration date column in the document library is used as the reference for the expiration date, along with a document owner column, and works in conjunction with a gate keeper swimlane in a process. When the expiration date arrives, the document is automatically routed with a designated workflow, where the document owner is assigned the Originator swimlane.

Note: Documents that are Checked Out will not be routed.

Options

Name

Description

Required

-gatekeeperswimlane

The name of the swimlane to assign the person in the ownerfield to.

Yes

-list

The name of the document library.

Yes

-ownerfield

The name of the field that contains the owner of the document, who will be assigned to the swimlane specified in the gatekeeperswimlane argument.

Yes

-process

The name of the process to run.

Yes

-timestampfield

The name of the field that contains the date to automatically start the process on the document.

Yes

-url

The URL of the site that contains the SharePoint document library.

Yes

SEE ALSO:

Removing a Document Monitor