SharePoint Document Workflow: Extracting document details with your workflow

Sign in to queue


This is a 2nd part of a series that I am doing on "Building Document Workflow" in SharePoint/MOSS 2007 that I am producing.  You can find the freely downloadable workshops that accompanying these videos on my blog here.

The scenario is a company has created a portal which will accept resume's for job postings, and that via workflow, the MOSS 2007 portal will handle the workflow (automatically and with human interaction where needed) to process the resume's (documents).

In this example, I will show how to use the WorkflowProperties Object to get information about the file being uploaded.  With SharePoint Workflow you get a variety of detailed information about your workflow item (i.e., Document), including the file name, who uploaded/emailed it, when it was last check in/out, etc. 

In this demonstration, I assume that the resume file (our sample document) was emailed to the SharePoint list.  See my earlier screencast to see how to enable MOSS SharePoint List to receive email (see below for the link).

You can download the Freely Downloadable "Building Custom Document Workflow with MOSS with Visual Studio 2008" workshops (Developer Content) on my blog ( under the SharePoint Tag, or directly by clicking here.

My other SharePoint videos:

  • Enabling (incoming/outgoing) email for SharePoint/MOSS 2007 servers (Click here to see it)
  • Extracting document details from within a workflow (Click here to see it)
  • Extracting email addresses and sending emails (Click here to see it)
  • Programmatically Creating a User Task within a workflow (Click here to see it)
  • Programmatically Escalating an Overdue Task with Visual Studio (Click here to see it)
  • Building an Approval Workflow with SharePoint/MOSS 2007 and VS 2008 (Click here to see it)
  • Building a Multilevel Approval Workflow with SharePoint/MOSS 2007 and VS2008 (Click here to see it) 
  • Using Active Directory Search/Lookups within SharePoint Workflow's to find users (Click here to see it)

    If you have questions/comments, please leave them on my blog at this link, as I do not monitor this feedback URL.
  • Embed


    Download this episode

    The Discussion

    Add Your 2 Cents