200 likes | 373 Views
SharePoint Workflows. A home for workflows. Jeremy Sublett, SharePoint MVP, MCSD, MCT jsublett@composablesystems.net Composable Systems, LLC - Louisville, KY. Agenda. Intro Workflow Foundation (WF) Fundamentals Using SharePoint Workflows Building SharePoint Workflows Tools
E N D
SharePoint Workflows A home for workflows. Jeremy Sublett, SharePoint MVP, MCSD, MCT jsublett@composablesystems.net Composable Systems, LLC - Louisville, KY
Agenda • Intro • Workflow Foundation (WF) Fundamentals • Using SharePoint Workflows • Building SharePoint Workflows • Tools • SharePoint Designer vs. Visual Studio • Forms
What is Workflow Foundation? • A framework for building business process workflow into applications • Single workflow technology for Windows • Extensible framework & toolset (designer) • Not an application or server by itself - Not BizTalk • Separate from SharePoint
Types of Workflows • Workflows model real-world business processes • System-oriented and human-oriented Sequential State Machine
Activities • Workflows are composed of activities • Activities are reusable functionality • Many activities out of the box • Custom activities • Activities exist for: • Standard WF Workflows • SharePoint Workflows (General) • SharePoint Task Lists Encrypt Document Send Email
Where do Workflows Live? • WF workflows require a host • Windows (desktop) applications • Console Applications • Windows Services • SharePoint
Demo • Simple WF
WF Architecture Host Process My Custom Workflow Workflow Foundation Core Services Persistence Communication Tracking …
Enter Humans • Users need to interact with a workflow – that’s the whole idea • Users may take days/weeks to respond to a process • SharePoint provides a means for users to interact with workflows
What is a Workflow in SharePoint? • Revolves around items document libraries/lists • Users are assigned tasks and are notified via email • Manual or automatic workflows • SharePoint provides other user interfaces: • Status/History • Setup/Initiation Forms (customized per workflow) • Task forms
Workflow-Aware Applications • Browser • Office Client Applications (Word, Excel, PowerPoint) • Outlook • SharePoint Designer • Access
Demo • OOTB SharePoint Workflows
OOTB SharePoint Workflows • WSS: • Three-State • MOSS: • Approval • Parallel Approval • Disposition Approval • Collect Feedback • Translation workflows
Workflow Hosting with WSS SharePoint as a Host My Custom SharePoint Workflow SharePoint Activity Library Workflow Foundation Core Services SharePoint Content Database Persistence Communication Tracking …
Building Your Own Workflows • SharePoint Designer • Replaces FrontPage • Wizard-based workflow creation tool • Attached to a document library when created • Can’t be moved (easily) from that document library • Visual Studio • Maximum control • Increased complexity • Visual designer
Tools • Power User • SharePoint Designer • Developer • VS.NET • STSDEV – CodePlex tool for SP Development • WSS3Workflow Tools – CodePlex tool for workflow forms
Building Workflows • Demo VS2008 with STSDEV • SharePoint Designer
Workflow Forms Setup: Associate to List List Task: User Completes Task Workflow List Item Task List Item Start: Create Instance Assign Task to User
Forms A little easier More difficult
Thanks! Jeremy Sublett Composable Systems, LLC jsublett@composablesystems.net http://jeremysublett.com