Making SharePoint Work with Workflow. Robert L. Bogue Rob.Bogue@ThorProjects.com 3 Part Presentation Series



Similar documents
Automating Business Processes Using SharePoint Designer

What is a workflow? Workflows are a series of actions that correspond to a work process

Advanced Workflow Concepts Using SharePoint Designer 2010

FORMS & WORKFLOW SHAREPOINT Practical Discussion

Developing Visual Studio Workflows and Activities for SharePoint Sites

SharePoint 2013 Syllabus

SharePoint 2010 End User - Level II

Creating While Loops with Microsoft SharePoint Designer Workflows Using Stateful Workflows

SharePoint 2010 Workflows

Nintex Workflow 2010 Help Last updated: Friday, 26 November 2010

Build Your Knowledge!

Nintex Workflow 2013 Help

2 Introduction to Nintex Workflow

Course 10175A - Microsoft SharePoint 2010, Application Development

Add Feedback Workflow

MS-55052: SharePoint 2013 End User Level II

MOC 20488B: Developing Microsoft SharePoint Server 2013 Core Solutions

SharePoint 2010 for Business Intelligence Course SP05; 3 Days, Instructor-led

Workflow and Forms Services for People-Driven Process Management

SharePoint Checklist and Resources

MS 50547B Microsoft SharePoint 2010 Collection and Site Administration

STEVEN MANN. InfoPath* with. SharePoint HOW-TO. 800 East 96th Street, Indianapolis, Indiana USA

Hands-On Lab. Client Workflow. Lab version: Last updated: 2/23/2011

Add Approval Workflow

HarePoint Workflow Extensions Manual. For SharePoint Server 2013, SharePoint Server 2010, SharePoint Foundation 2013 and SharePoint Foundation 2010.

SharePoint 2010/2013 Course

What is SharePoint? Collaboration Tool

SharePoint 2013 for Business Process Automation

Nintex Workflow 2013 & InfoPath Form Design workshop

Visendo Fax Server Integration With SharePoint Server

The SharePoint 2010 Developer Platform

Implementing a Data Warehouse with Microsoft SQL Server

Microsoft. Course 20463C: Implementing a Data Warehouse with Microsoft SQL Server

SharePoint Designer 2013 vs Workbox. Prepared by JMS

SHAREPOINT 2013 NO-CODE SOLUTIONS FOR POWER USERS. Jamie McAllister

Visio 2010 Tips and Techniques

Intro to Developing for SharePoint Online: What Tools Can I Use?

Hitchhiker's Guide to Demand Management 2013

A SharePoint Developer Introduction

Automating. Administration. Microsoft SharePoint with Windows. PowerShell 2.0. Gary Lapointe Shannon Bray. Wiley Publishing, Inc.

> Define the different phases of K2 development, including: understand, model, build, maintain and extend

SHAREPOINT 2010 DEVELOPMENT : IN THE CLOUD. Faraz Khan Senior Consultant RBA Consulting

Workflow Conductor Widgets

Microsoft Windows PowerShell v2 For Administrators

Implementing and Administering an Enterprise SharePoint Environment

.NET. Workflow Solutions. For ABSTRACT: By Owens Gollamandala

Authoring for System Center 2012 Operations Manager

Implementing a Data Warehouse with Microsoft SQL Server

126 SW 148 th Street Suite C-100, #105 Seattle, WA Tel: Fax:

Course MS55003A Microsoft SharePoint 2010 Business Intelligence Services

SHAREPOINT 2016 POWER USER BETA. Duration: 4 days

COURSE 20463C: IMPLEMENTING A DATA WAREHOUSE WITH MICROSOFT SQL SERVER

Implementing a Data Warehouse with Microsoft SQL Server

InfoPath & SharePoint Designer 2010 Workflows Together. Laura Derbes Rogers Senior SharePoint Consultant Rackspace Hosting

Achieve more with less

Microsoft SharePoint Server 2010: What s New and What s Changed?

SharePoint for Developers. Lunch and Learn

MOC 10964C: Cloud and Datacenter Monitoring with System Center Operations Manager

Migrating to SharePoint 2013

Introducing Windows Workflow Foundation. Building Basic Activities. Building Composite Activities. Activity Development Advanced Features

Developing Microsoft SharePoint Server 2013 Advanced Solutions

Advanced Process Modeling (BPMN) Data Connectivity & Data Graphics Understanding Visio Services D t a ab a a b s a e s e Mod o e d l e ing

CHAPTER 1: INTRODUCTION TO SHAREPOINT

Using SharePoint Solutions to Deliver Server-Side Solutions

Noramsoft Inc. Noramsoft Inc. SPT2O1O - Course Description. Developing Solutions with SharePoint Server 2010 SPT2010. Noramsoft Inc. Noramsoft Inc.

The Webcast will begin at 1:00pm EST.

Implement a Data Warehouse with Microsoft SQL Server 20463C; 5 days

Implementing a Data Warehouse with Microsoft SQL Server MOC 20463

COURSE OUTLINE MOC 20463: IMPLEMENTING A DATA WAREHOUSE WITH MICROSOFT SQL SERVER

The Core Pillars of AN EFFECTIVE DOCUMENT MANAGEMENT SOLUTION

Integrating InfoPath Forms. Paul Baker

HarePoint Workflow Scheduler Manual

New Nintex Workflow 2010 Business Value: Actions and Functions

Advanced SharePoint Tools to Enhance Project Management

National Frozen Foods Case Study

Microsoft SharePoint 2010 Professional Developers Evaluation Guide

Professional SharePoint 2013 Development

Kofax Export Connector for Microsoft SharePoint

Visual Basic. murach's TRAINING & REFERENCE

SAP BO 4.1 COURSE CONTENT

MD Link Integration MDI Solutions Limited

Transcription:

Making SharePoint Work with Workflow Robert L. Bogue Rob.Bogue@ThorProjects.com 3 Part Presentation Series

SharePoint 2010 Workflow with SharePoint Designer and Visio Robert Bogue Rob.Bogue@ThorProjects.com http://www.thorprojects.com/blog

Who am I? 7 Time Microsoft MVP currently awarded for SharePoint Architect = Developer + IT Professional Author of The SharePoint Shepherd s Guide for End Users and 17 other books. Blogger: http://www.thorprojects.com/blog

What is a workflow? The American Heritage Dictionary for the English Language, Fourth Edition says 1. The flow or progress of work done by a company, industry, department, or person. 2. The rate at which such flow or progress takes place.

Workflow is What? Serializable Resumable Long-Running Deferrable

Actions on Data Alerts Event Receivers Workflows

SharePoint Workflow Tools Web User Interface SharePoint Designer Visio Visual Studio 2010

Starting a Workflow Manual Manual with Manage Web On Major Version On Item Created On Item Changed

Out of the Box Workflows Three State (SF) Approval Collect Feedback

DEMO: OUT OF THE BOX WORKFLOW

Configuration vs. Customization Configuring Workflows in the User Interface Customizing Workflows in SharePoint Designer

Workflow Options SharePoint / Workflow Foundation 3.5 Serial State Machine Workflow Foundation 4 Flowchart

Association Form Displayed when the workflow template is associated to a list, content type, or site Used to set up the configuration for the workflow template

Instantiation Form Displayed when a user manually starts a workflow Is not displayed when workflows are automatically started

Variables and Parameters Variables = Working Data Parameters = Variables provided on the association or instantiation form

Workflow Attachment List / Library Content Type Site

Start with a sketch

Visio and Workflow New SharePoint workflow template Exported workflows can be imported into SharePoint Designer Not a complete workflow tool can t specify the details

DEMO: VISIO WORKFLOW

SharePoint Designer Actions Add a Comment Add Time to Date Assign a Form to a Group Assign a To-do Item Check In Item Check Out Item Collect Data from a User Compare a version of the Document Set Copy List Item Declare Record Delete Item Discard Check Out Item Do Calculation Extract Substring from End of String Extract Substring from Index of String Extract Substring from Index with Length Extract Substring from Start of String Find Interval Between Dates Log to History List Lookup Manager of a User Pause for Duration Pause until Date Send an Email Send Document Set to Repository Set Content Approval Status Set Content Approval Status for the Document Set Set Field in Current Item Set Time Portion of Date/Time Field Set Workflow Status Set Workflow Variable Start Approval Process Start Custom Task Process Start Document Set Approval Process Start Feedback Process Stop Workflow Undeclare Record Update List Item Wait for Field Change in Current Item

SharePoint Designer Conditions If any value equals value Title field contains keywords Created by a specific person Created in a specific date span Modified by a specific person Modified in a specific date span Person is a valid SharePoint User

DEMO: SHAREPOINT DESIGNER WORKFLOW

The Role of InfoPath Enhanced Form Validation Multiple Views Requires SharePoint Server

Reusable and Global Reusable Reusable = in the Site Global Reusable = in the site collection

Packaging Workflows are packaged as SharePoint Solutions (WSP) Reusable workflows can be packaged Global reusable workflows can not be directly packaged

Workflow Save As Template Creates a WSP that can be imported into Visual Studio Can t package global workflows (Those available in all sites in the site collection) Look for Microsoft Patterns and Practices Guidance on how to package global workflows. (www.microsoft.com/spg and www.codeplex.com/spg)

SharePoint Designer Limitations Looping Iteration State Machine Workflows Debugging

SharePoint Designer Advantages EASY! Accessible anyone can do it Safe It s difficult to create a workflow that will hurt the system

Thank You Questions? What s next Extending SharePoint Designer Workflows Developing Workflows with Visual Studio 2010

Extending SharePoint Designer Workflows Robert Bogue Rob.Bogue@ThorProjects.com http://www.thorprojects.com/blog

Activities Simple Not a container for other activities Generally does something Complex Container for other activities

Dependency Properties A WF concept that allows properties to be sparse Big hash table/lookup to improve space Used to link the properties of one activity to another

Activities and Actions Activities are the components of a WF workflow. Actions are a sentence representation of workflows activities that SharePoint Designer uses.

Custom SPD Actions Create a workflow activity in VS and: Create an.actions File Update the web.config to add an authorized type Develop a Sandbox Workflow Action

SharePoint Designer and Exceptions Workflow Supports Fault Handlers (think catch {}) Interactive Debugging SharePoint Designer doesn t Output Exception as a variable rather rethrowing Check Exception Output

DEMO: SANDBOXED WORKFLOW ACTION

DEMO: WORKFLOW ACTIVITY

SharePoint Workflow Execution Declarative SharePoint Designer All activities used must be declared as safe as AuthorizedTypes in web.config While and Replicator are not authorized Runs as the user context Code Based Must run full trust Runs the system context

Revising SharePoint Designer Previous versions are renamed (with the time of the next version) The previous version is set for no new instances New versions are set to allow (new instances) Workflows

Thank You Questions? What s next Developing Workflows with Visual Studio 2010

Developing Workflows with Visual Studio 2010 Robert Bogue Rob.Bogue@ThorProjects.com http://www.thorprojects.com/blog

Importing SPD workflows into VS Importing as a workflow converts it to a mostly functional code based workflow A very large number of activities are generated to the point of making this nearly unusable. Importing as a WSP package leaves the Workflow as a declaritive but the designer doesn t work.

Correlation Tokens Unique Identifier How WF determines where to send events Have a container Normally the workflow Should be inside loop or repeater if in one of those composite activities is a parent

Modification Form Can be used to modify a running workflow Practically never used, custom edit forms for tasks are more popular

Status Form The form displayed when the user looks at the status of your workflow Rarely changed but powerful for complex workflows

Application Pages Visual Studio Template available No visual designer but automatic wire up of the class and.aspx

Design vs. Run Time Loops are copies Use caution when directly referencing the activity -- cast the sender parameter

Fault Handlers Fault Handlers Catch {} blocks Set at an activity level Set a global fault handler to handle all exceptions

History List Hidden (but accessible) list Fields HistoryDescription Limited to 255 characters OtherData Unlimited Additional Storage

DEMO: VISUAL STUDIO WORKFLOW

Thank You Questions? Resources My Blog: http://www.thorprojects.com/blog David Mann http://www.mannsoftware.com SPD blog http://blogs.msdn.com/b/sharepointdesigner/