+ All Categories
Home > Documents > 20488B_11

20488B_11

Date post: 12-Oct-2015
Category:
Upload: dentisy
View: 38 times
Download: 0 times
Share this document with a friend
Description:
sharepoint
Popular Tags:

of 26

Transcript
  • 5/21/2018 20488B_11

    1/26

    MicrosoftOfficial Course

    Module 11

    Automating Business Processes

  • 5/21/2018 20488B_11

    2/26

    Module Overview

    Understanding Workflow in SharePoint 2013

    Building Workflows by using Visio 2013 andSharePoint Designer 2013

    Developing Workflows in Visual Studio 2012

  • 5/21/2018 20488B_11

    3/26

    Lesson 1: Understanding Workflow in SharePoint2013

    Introduction to the SharePoint Workflow Platform

    Workflow Associations and Subscriptions

    Types of Workflow

    Workflow Development

    Discussion: Choosing a Suitable DevelopmentApproach

  • 5/21/2018 20488B_11

    4/26

    Introduction to the SharePoint WorkflowPlatform

    WindowsAzure

    ServiceBus

    SharePointServer 2013

    SharePoint 2010Workflow Platform

    (legacy support)

    WorkflowManager 1.0

    Workflow ManagerClient 1.0 ServiceApplication Proxy

    REST calls

    Events

  • 5/21/2018 20488B_11

    5/26

    Workflow Associations and Subscriptions

    SharePoint and workflows communicate by using the

    Windows Azure publication/subscribe service

    Workflow associations:

    Bind the definition of a workflow to a scope

    Represent a set of subscription rules

    Workflow subscriptions:

    Enable a workflow to interact with associations

    Respond to events from an object

    Starting workflows: Manually

    Automatically

  • 5/21/2018 20488B_11

    6/26

    Types of Workflow

    List workflows

    Site workflows

    Reusable workflows

  • 5/21/2018 20488B_11

    7/26

    Workflow Development

    Visio 2013

    SharePoint Designer

    Visual Studio 2012

    i i Ch i S i bl l

  • 5/21/2018 20488B_11

    8/26

    Discussion: Choosing a Suitable DevelopmentApproach

    Review the scenario in the student workbook

    Which approach to development would you use ineach scenario and why?

    L 2 B ildi W kfl b i Vi i

  • 5/21/2018 20488B_11

    9/26

    Lesson 2: Building Workflows by using Visio2013 and SharePoint Designer 2013

    Creating Workflows by Using Visio

    Creating and Editing Workflows in SharePointDesigner

    Publishing Workflows to a Live Site

    Using Workflows Demonstration: Creating Workflows in SharePointDesigner

    Packaging and Deploying SharePoint DesignerWorkflows

  • 5/21/2018 20488B_11

    10/26

    Creating Workflows by Using Visio

    Shapes: Components

    Actions

    Conditions

    Structure of a workflow

    Connecting shapes

    Validating workflows

    C i d Edi i W kfl i Sh P i

  • 5/21/2018 20488B_11

    11/26

    Creating and Editing Workflows in SharePointDesigner

    Creating workflows

    Using the Visual Designer

    Using the text-based designer

    Importing workflows

  • 5/21/2018 20488B_11

    12/26

    Publishing Workflows to a Live Site

    Workflow settings: Settings

    Start options

    Publishing workflows: Publishing list workflows

    Publishing reusable workflows

    Publishing site workflows

  • 5/21/2018 20488B_11

    13/26

    Using Workflows

    Starting workflows automatically: Create or change an item in the list or library

    Browse to the workflows for any item in the list or libraryto review all in-scope workflows

    Review the tasks or history for an individual workflow

    Starting workflows manually: Browse to the workflows for a list or library

    - OR - Browse to the SITE WORKFLOWS page

    Start a new workflow or review running and completedworkflows

    D t ti C ti W kfl i

  • 5/21/2018 20488B_11

    14/26

    Demonstration: Creating Workflows inSharePoint Designer

    In this demonstration, you will see how to:

    Create workflows in SharePoint Designer

    Publish workflows

    Use workflows in SharePoint

    P k i d D l i Sh P i t D i

  • 5/21/2018 20488B_11

    15/26

    Packaging and Deploying SharePoint DesignerWorkflows

    Packaging a workflow: Use the Save a Template feature in SharePoint Designer Creates a WSP file in the Site Assets library

    Exporting workflows: Use the Export File feature on the ASSETS tab of the

    ribbon

    Creates a WSP file on the local computer

    Deploying and activating workflows: Use the Upload Solution feature in the SharePoint site

    Activate the solution, and then activate the site feature

    L b A B ildi W kfl i Vi i 2013 d

  • 5/21/2018 20488B_11

    16/26

    Lab A: Building Workflows in Visio 2013 andSharePoint Designer 2013

    Exercise 1: Creating Workflows by Using Visio

    Exercise 2: Editing Workflows by Using SharePointDesigner

    Logon Information Virtual Machine: 20488B-LON-SP-11

    User name: CONTOSO\Administrator Password: Pa$$w0rd

    Estimated Time: 30 minutes

  • 5/21/2018 20488B_11

    17/26

    Lab Scenario

    Contoso produces information leaflets for all of their

    pharmaceutical products. The publishing process for theseinformation leaflets consists of several steps. The first draft

    is created by a pharmacologist (Paul West) and then

    submitted to a copy editor (Danny Levin). If changes are

    required, they must be incorporated by the original author

    (Paul West). If there are no copy edit changes, the leaflet

    can be published by Dominik Dubicki. After the

    information leaflet is published, it must be reviewed for

    accuracy at least once every 12 months. Your task is to

    develop a workflow to automate this process.

    L 3 D l i W kfl i Vi l St di

  • 5/21/2018 20488B_11

    18/26

    Lesson 3: Developing Workflows in Visual Studio2012

    Introduction to Visual Studio Workflows

    Adding a Workflow Custom Activity to a Project

    Creating the Workflow Logic

    Creating the actions4 File

    Deploying and Publishing a Workflow Activity

  • 5/21/2018 20488B_11

    19/26

    Introduction to Visual Studio Workflows

    Declarative workflows

    No custom code

    Built on Windows Workflow Foundation 4

    Packaged as Features

    Workflow templates: Workflow

    Workflow Custom Activity

  • 5/21/2018 20488B_11

    20/26

    Adding a Workflow Custom Activity to a Project

    Workflow Custom Activity template comprises:

    Feature1.feature

    .xaml

    .action4

    Elements.xml

  • 5/21/2018 20488B_11

    21/26

    Creating the Workflow Logic

    Using variables, arguments, and imports: Variables

    store date during the workflow

    Arguments pass data in and out of the workflow

    Imports import namespaces into the workflow

    Using workflow controls: Add to workflow by using the Toolbox

    Configure by using the Properties pane

  • 5/21/2018 20488B_11

    22/26

    Creating the actions4 File

  • 5/21/2018 20488B_11

    23/26

    Deploying and Publishing a Workflow Activity

    Deploying a workflow activity: Deploy to the site defined when you created the project Clear the SharePoint Designer cache

    Use the workflow activity from the Custom group in theActions list

    Publishing a workflow activity: Publish to an alternative site:

    Clear the SharePoint Designer cache

    Use the workflow activity

    Publish to the file system:

    Copy the .wsp file to the target server

    Upload the solution

    Activate the solution

    Lab B: Creating Workflow Actions in Visual

  • 5/21/2018 20488B_11

    24/26

    Lab B: Creating Workflow Actions in VisualStudio 2012

    Exercise 1: Creating Custom Workflow Actions

    Exercise 2: Using a Custom Workflow inSharePoint Designer

    Logon Information Virtual Machine: 20488B-LON-SP-11

    User name: CONTOSO\Administrator Password: Pa$$w0rd

    Estimated Time: 30 minutes

  • 5/21/2018 20488B_11

    25/26

    Lab Scenario

    Your colleague, Dominik Dubicki, who is responsible for

    publishing the Contoso product information leafletsmentions to you that whenever he publishes a leaflet he

    has to use another application to discover the distribution

    area for the leaflet. He asks if you can use this application

    in your workflow to include the information in his task title.

    You decide to develop a workflow custom activity in Visual

    Studio to query the distribution web service and outputthe distribution area. You will then incorporate this action

    into the existing workflow and add the distribution area to

    the task assigned to Dominik.

  • 5/21/2018 20488B_11

    26/26

    Module Review and Takeaways

    Review Question(s)