Water Cooler Demo - SharePoint Visual Studio workflows for escalations

Sign in to queue

Description

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!

Embed

Download

Download this episode

The Discussion

  • User profile image
    jbhoward

    Kirk,

     

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

     

    Blessings,

    Jim Bob

  • User profile image
    rockgenius85

    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!

    Thanks!

  • User profile image
    humanprogra​mer

    do you have the source code for this uploaded anywhere

  • User profile image
    kirke

    @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?

  • User profile image
    bwedeman

    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?

  • User profile image
    labhesh

    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,

     

  • User profile image
    chen

    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.
    ThanksChen

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.