Document Monitoring
This operation allows you to run a process against all documents in a document library that have met an expiration date. 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.
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 |
Examples of this command can be found in the following two sections: Adding a Document Monitor, and Removing a Document Monitor.