Get Document Reference step

Use the Get Document Reference step to create a reusable reference to a SharePoint document. You can reuse a document reference throughout a workflow. You can, for example, use the Get Document Reference step in a workflow that needs to perform multiple tasks on a document, such as checking out, checking in, and moving it. It is more convenient to create a document reference first instead of searching for the document each time.

At runtime, the Get Document Reference step returns single or multiple documents from the SharePoint library. Use the Filter section on the step to configure conditions to return one or more documents from the library. If you don't configure a filter, all documents in the library are returned. To see how to add a filter, see How to configure a condition to filter documents.

To use the SharePoint steps in K2 Workflow Designer, you must have SharePoint installed in your environment. To see the version of SharePoint that K2 supports, view the Compatibility and Support Matrix.

Drag the Get Document Reference step from the SharePoint category, Favorites bar, or the Recent category onto the canvas.

Example of a Get Document Reference step in a workflow