galen keene - sharepoint designer workflow

Upload: itayi-adam

Post on 05-Apr-2018

241 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    1/31

    #SPSSAN

    #SPSSAN

    June 30, 2012

    San Diego Convention Center

    June 30, 2012

    San Diego Convention Center

    SHAREPOINT DESIGNER

    2010 & WORKFLOW

    Should I, Should I Not

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    2/31

    #SPSSAN

    #SPSSAN

    About Me

    SharePoint Lead at Brandes Investment Partners

    Originally from Texas

    Proud Father and Husband13 Years in IT

    Hardware Background

    MCTS, SharePoint 2010 Configuration

    Blog http://keeneonsharepoint.com

    Email [email protected]

    @sdkeene

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    3/31

    #SPSSAN

    #SPSSAN

    Agenda

    Out of Box Opportunities

    SharePoint Designer Workflow Components

    Creating Custom Workflows in Designer

    Demo

    Real World Discussion

    Designer Limitations and Workarounds

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    4/31

    #SPSSAN

    #SPSSAN

    Poll

    What SharePoint role do you play atyour enterprise?

    How many of you use content types?

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    5/31

    #SPSSAN

    #SPSSAN

    What Is SharePoint Designer

    Free Tool For Advanced Users and Developers

    Revamp the User Interface

    Connect with External Data

    Create Custom Actions

    Interoperability with Visual Studio 2010

    Import/Export Visio Process Diagrams

    Workflow Designer

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    6/31

    #SPSSAN

    #SPSSAN

    What is a Workflow

    MSDN Definition

    Fundamentally, it consists of two things: the forms a

    workflow uses to interact with its users and the logic that

    defines the workflows behavior.

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    7/31#SPSSAN#SPSSAN

    SharePoint Out of Box Workflows

    Routes for ApprovalApproval

    Like Approval But Collects FeedbackCollect Feedback

    Collects Digital SignaturesCollect Signatures

    Routes for Approval in Publishing SitesPublishing

    Tracks the Status of an IssueThree-State

    Tracks Content That has ExpiredDisposition Approval

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    8/31#SPSSAN#SPSSAN

    Customize Workflows

    Declarative Workflows

    Approval

    Collect Feedback Collect Signatures

    Publishing Approval

    Non-Declarative Workflows Three State

    Disposition

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    9/31#SPSSAN#SPSSAN

    SharePoint Designer Workflow Types

    Types that were available in SharePoint 2007

    Cannot be made available to other lists

    List

    Created at the top-level site

    Associated with any list, library or content type

    Can be exported and imported

    Best when associated with a content type

    Reusable List

    Used when you dont need to associate with a list, library or contenttype

    Example may be site feedback

    Site

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    10/31#SPSSAN#SPSSAN

    Workflow Building Blocks

    Events Item is Created

    Item is Changed

    Participant ManuallyStarts

    Steps Groups Actions andConditions

    Actions Most Basic Unit of

    Work in a Workflow

    Can Surface Events

    System and HumanParticipation

    ConditionsRules EstablishConditions

    Associated to nActions

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    11/31#SPSSAN#SPSSAN

    Workflow Forms

    Initiation

    Custom Task

    Association

    FormTypes

    ASP.NET InfoPath

    FormTechnology

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    12/31#SPSSAN#SPSSAN

    Demo

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    13/31#SPSSAN#SPSSAN

    Key Steps in Designing a Workflow

    Identify keystakeholders.

    ConductInterviewsand collectdata.

    What is theproblem the

    business needsto solve?

    Define thebusiness usecase.

    AnalyzeResponses

    Create astrategystatement

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    14/31#SPSSAN#SPSSAN

    Real World Example

    Procurement Process

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    15/31

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    16/31#SPSSAN#SPSSAN

    The Problem

    No Defined Process

    No Ability to See a Status

    No Ability to Find Tasks

    No Ability to Find Documentation

    No Common Way of Requesting to PurchaseSomething

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    17/31

    #SPSSAN#SPSSAN

    The Strategy Procurement Concept

    The Procurement Concept

    Provides:Process

    It maps directlyto a defined

    businessprocess

    Container

    A place to putall of the

    documentation

    Status

    A place todiscover status

    Tasks

    Anadministrative

    layer for tasks

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    18/31

    #SPSSAN#SPSSAN

    Approval Process Ideas

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    19/31

    #SPSSAN#SPSSAN

    Approval Process

    Purchase

    Legal Approval

    COO Approval

    CIO Approval

    Department Manager Approval

    Prepare Procurement

    Create Procurement

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    20/31

    #SPSSAN#SPSSAN

    The Strategy Procurement Concept

    The Procurement Concept

    Provides:Process

    It maps directlyto a defined

    businessprocess

    Container

    A place to putall of the

    documentation

    Status

    A place todiscover status

    Tasks

    Anadministrative

    layer for tasks

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    21/31

    #SPSSAN#SPSSAN

    Document Management Strategy

    Procurement Document1

    Company Name

    Offering

    Document Date

    Document Description

    Document Owners

    Document Reviewers

    ReviewedDate

    TotalAmount

    CostCenter

    ExpenseCategory

    Sub-ExpenseType

    Item1

    P K I D

    Title

    Folder1

    P K I D

    Title

    Name

    Document1

    P K I D

    Name

    Title

    System1

    P K I D

    Procurement Document Set1

    Company Key

    Offering

    Procurement Type

    TotalAmount

    Description

    Procurement Owner

    Procurement Status

    Procurement Aggrement Status

    Procurement Purchasing Status

    Procurement Request Status

    TotalAmount

    Request WorkflowRequired

    Agreeement WorkflowRequired

    PurchaseWorkflowRequired

    ApprovalType

    CostCenter

    ExpenseCategory

    Sub-ExpenseType

    Procurement Agreement1

    ContractEndDate

    ContractLength

    ContractOpt Out EndDate

    ContractOpt Out Length

    ContractOpt Out Start Date

    ContractScope

    ContractStart Date

    ContractTerm

    InitialAmount

    Ongoing Amount

    Ongoing Amount (Annualized)Ongoing Period

    Ongoing Type

    Procurement Rationale1Procurement Quote1

    Procurement AccountsPayable1

    Procurement Invoice1

    PaidDate

    InvoiceNumber

    InvoiceAmount

    InvoiceDate

    InvoicePeriod

    Procurement PurchaseOrder1

    PONumber

    Document Set1

    PK I D

    Title

    Name

    Procurement ContractAddendum1Procurement Contrac t1 Procure ment State ment of Work1

    EnterpriseDocument1

    P K ID

    Name

    Title

    EnterpriseDocument Set1

    P K I D

    Title

    Name

    Procurement Request1

    SystemsRationale1DMTRationale1

    D M T New R at ion a le1 D M T E xis tin g R at ion a le1

    D MT Pr oc ur em en t1 T ec hno lo gy Pr oc ur eme nt 1 Of fi ce Pr oc ur em ent 1

    Procurement Item1

    MiscellaneousProcurement Document1

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    22/31

    #SPSSAN#SPSSAN

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    23/31

    #SPSSAN#SPSSAN

    Designer Limitations and Workarounds

    Start a Workflow ona content type in adocument set froma Workflow runningon the document

    set.

    Problem

    Custom Action

    Solution

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    24/31

    #SPSSAN#SPSSAN

    Code Sample

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    25/31

    #SPSSAN#SPSSAN

    Designer Limitations

    SharePoint DesignerCannot Loop

    No State MachineWorkflows

    Complex Lookups

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    26/31

    #SPSSAN#SPSSAN

    Final Procurement Workflow

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    27/31

    #SPSSAN#SPSSAN

    Workarounds

    Visual Studio

    Custom Actions

    Nonobvious Techniques

    3rd Party Solutions

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    28/31

    #SPSSAN#SPSSAN

    Pros and Cons

    ProsAdvanced User Toolset

    Import/Export VisioProcess Diagrams

    Declarative Workflows

    Reusable Workflows

    Cons

    No Looping

    No State MachineWorkflows

    Nonobvious Techniques

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    29/31

    #SPSSAN#SPSSAN

    Summary

    SharePoint Designer is Free

    Good for User Community

    Can Provide Quick Solutions

    Evaluate Limitations and Design Accordingly

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    30/31

    #SPSSAN#SPSSAN

    The After-Party: SharePint

    Karl Strauss Brewing Company

    1157 Columbia Street

    San Diego, CA 92101

    Phone: 619-234-2739

    Immediately following event closing & prize drawings (@6:30 pm)

    Directions (.9 miles):

    1. Head northeast on 1st Ave2. Turn left onto W B St

    3. Turn left onto Columbia St

    Karl Strauss will be on the left

  • 7/31/2019 Galen Keene - SharePoint Designer Workflow

    31/31

    June 30, 2012

    San Diego Convention Center

    June 30, 2012

    San Diego Convention Center

    THANK OUR SPONSORS

    Please be sure to fill out your session evaluation!