Loading user information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading user information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Water Cooler Demo - SharePoint Visual Studio workflows for escalations

20 minutes, 31 seconds


Right click “Save as…”

  • WMV (WMV Video)
  • MP3 (Audio only)
  • Low Quality MP4 (approx. 500-800kbps)
Our first episode of The Water Cooler Demo show, the show focused on all things Office related.  In this episode, Kirk Evans demonstrates how to create a SharePoint state machine workflow using Visual Studio 2008 that accomodates escalations and timeouts. 

Got any suggestions for future episodes?  Tell us in the comments below!


Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
  • Kirk,


    Thanks for sharing this... looking for the Slo-Mo button, but will definitely be revisiting this demo.



    Jim Bob

  • Kirk, thank you for the work! This is awesome example of State Machine workflows. I'm actually looking for a way to assign multiple users separate tasks. In a sequential workflow, you can use the replicator activity, but I can't seem to find any examples of using the replicator in a State Machine workflow to assign the same task to multiple users. Have you heard of anything like this, or know how? This would be a most helpful video that a bunch of people would love to see!


  • do you have the source code for this uploaded anywhere

  • Kirk Evanskirke Go Dawgs!

    @rockgenius85 - I actually saw a post on this internally, someone indicated that the key was making sure that you use the correlation identifier associated with each instance of the replicator.


    @humanprogramer - I don't have the source available, sorry.  I write all the code from scratch in the video, is there a part that you need?

  • I am researching sharepoint for the company I work for. I am assuming you deployed to an enterprise Sharepoint server. I am assuming that the workflow itself would run on both the standard and enterprise server. My question is the Dashboard that you used to check the status of the workflows. Does it fall under the category of site manager, or does it the dash-board feature that is mentioned in enterprise?

  • Hi There, Thanks for sharing this excellent post, it was very much useful for me. I did created one workflow with the steps you mentioned. but i have got an error.

    Can I request you if you could send me the sample code so that i can try it out opening in my solution. Tx Labhesh



    The error which i am gettingL:

    13/2010 15:11:41.92 w3wp.exe (0x14F4)                                0x0B30 Windows SharePoint Services     Workflow Infrastructure                 936l      High      Engine RunWorkflow: System.Workflow.ComponentModel.Compiler.WorkflowValidationFailedException: The workflow failed validation.     at System.Workflow.Runtime.WorkflowDefinitionDispenser.ValidateDefinition(Activity root, Boolean isNewType, ITypeProvider typeProvider)     at System.Workflow.Runtime.WorkflowDefinitionDispenser.LoadRootActivity(Type workflowType, Boolean createDefinition, Boolean initForRuntime)     at System.Workflow.Runtime.WorkflowDefinitionDispenser.MruCache.GetOrGenerateDefinition(Type type, String xomlText, String rulesText, Byte[] md5Codes, Boolean initForRuntime, Boolean& exist)     at System.Workflow.Runtime.WorkflowDefinitionDispenser.GetRootActivity(Type workflowType, Boolean createNew, Boolean initForRuntime)     at System.Workflow.Runtime.WorkflowRuntime.Initializ...          

    1. 02/13/2010 15:11:41.92* w3wp.exe (0x14F4)                                0x0B30 Windows SharePoint Services     Workflow Infrastructure                 936l      High      ...eExecutor(Guid instanceId, CreationContext context, WorkflowExecutor executor, WorkflowInstance workflowInstance)     at System.Workflow.Runtime.WorkflowRuntime.Load(Guid key, CreationContext context, WorkflowInstance workflowInstance)     at System.Workflow.Runtime.WorkflowRuntime.GetWorkflowExecutor(Guid instanceId, CreationContext context)     at System.Workflow.Runtime.WorkflowRuntime.InternalCreateWorkflow(CreationContext context, Guid instanceId)     at System.Workflow.Runtime.WorkflowRuntime.CreateWorkflow(Type workflowType, Dictionary`2 namedArgumentValues, Guid instanceId)     at Microsoft.SharePoint.Workflow.SPWinOeHostServices.Send(SPWinOeWorkflow winoeworkflow, SPWorkflowEvent e)     at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(Guid trackingId, SPWorkflowHostServi... 
    2. 02/13/2010 15:11:41.92* w3wp.exe (0x14F4)                                0x0B30 Windows SharePoint Services     Workflow Infrastructure                 936l      High      ...ce host, SPWorkflow workflow,


  • chenchen

    HiI am working on a State Machine Workflow (SharePoint 2010). I having hard time in assigning the task to multiple reviewers and handling the OnTaskChanged event. The reviewers are going to be dynamic, else I can use n number of create task and EventDriven activity with OnTaskChanged appropriately.
    Can you please direct me on how to achieve this.

Remove this comment

Remove this thread


Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.