Adding a Document Monitor

This operation adds document monitors to a specified document library.

Name

Description

Required

list

The name of the document library against which the document monitor should be registered.

Yes

ownerfield

The name of the column in the document library that will contain the login name of the Originator.

Yes

process

The name of the workflow to run.

Yes

timestampfield

The name of the column in the document library containing the date that a new process should be started.

Yes

url

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

Yes

gatekeepwerswimlane

The first assignment is the "gatekeeper" and determines whether the document needs to be updated.

Yes

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"

Previous Topic

Next Topic