Top Banner
Welcome to this segment! Advanced Workflow Concepts using SharePoint Designer 2010 © 2011 Applied Knowledge Group, Inc. 1
29

Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Jul 10, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Welcome to this segment!

Advanced Workflow Concepts using SharePoint

Designer 2010

© 2011 Applied Knowledge Group, Inc. 1

Page 2: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

About the Presenter

Applied Knowledge Group

4 Pillars Approach

People

Process

Learning

Technology

Susan Hernandez, AKG Senior Developer

MCSD, MCTS, MCAD (SharePoint 2010 Development)

© 2011 Applied Knowledge Group, Inc. 2

Page 3: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Introduction

What will we cover today?

Workflows Basic – A Recap

Will be in your handout – may not be covered in this presentation due to time constraints

Workflows Advanced Concepts

Other Things to Consider

Briefly mention concepts not covered in session but worth looking up

© 2011 Applied Knowledge Group, Inc. 3

Page 4: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Workflow Basics – A Recap

Out-of-the-Box Workflows

Approval

Publishing Approval

Collect Feedback

Collect Signatures

Only functions with Word, Excel, and InfoPath

Disposition Approval

Three-State

© 2011 Applied Knowledge Group, Inc. 4

Page 5: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Workflow Basics – A Recap Steps, Conditions, and Actions

Steps

Logical group of one or more actions

Conditions

Limitations on running the actions – like IF statement

Actions

Single unit of processing, such as sending an Email, Checking in an Item, or Collecting Data from a User

© 2011 Applied Knowledge Group, Inc. 5

Page 6: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Workflow Basics – A Recap

Actions Core Actions

Mostly manipulation of a particular piece of info

List Actions

Work on an entire list item at one time

Task Actions

Manipulate the associated Tasks list and pauses the workflow until complete

Document Set Actions

Work on complete Document Set at once

Utility Actions

Let you preform functions such as working with string values

Relational Actions

Includes one action – finding a user’s manager

© 2011 Applied Knowledge Group, Inc. 6

Page 7: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Workflow Basics – A Recap

Other Workflow Concepts Save vs. Publish

Else-If Branch

Parallel Block

Impersonation Step

Publishing Globally

Initiation Form Parameters

Local Variables

Association Columns

Start Options

© 2011 Applied Knowledge Group, Inc. 7

Page 8: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Workflow Basics – A Recap

Best Practices BEFORE creation of workflows:

Create all lists you will need and all fields in lists

Create and define Document Sets

If you wish to use Content Approval, turn it on

If you’re using InfoPath, “Promote” appropriate fields

BEFORE saving your workflow:

If you’re using a List Workflow, change the association of the Task List

NEVER modify OOB workflows

© 2011 Applied Knowledge Group, Inc. 8

Page 9: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Workflow Basics – A Recap

Tips & Tricks Try to use Reusable workflows – if you

don’t then you can’t move the workflow

Use the “Log to History List” action often

At Beginning

At End

Once per step (at least)

Once per condition

Do not hard-code user names – use Lists © 2011 Applied Knowledge Group, Inc. 9

Page 10: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Workflow Advanced Concepts

Define Workflow Lookup Dialog box

Used with:

Conditions (compare Any value to Any value)

Setting workflow variables

Looking up data from Task List (i.e. Collect Data From a User or Start Approval Process actions)

© 2011 Applied Knowledge Group, Inc. 10

Page 11: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Working with “Define Workflow Lookup” Data Source

Current Item

Workflow Variables and Parameters

Workflow Context

Association: History List

Association: Task List

Current List

User Profiles

[Other Lists and Libraries in your site]

SELECT [Assigned To] FROM Tasks WHERE Tasks.ID = 2

© 2011 Applied Knowledge Group, Inc. 11

Page 12: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Working with “Define Workflow Lookup”

Field From Source

Choice of the field (or parameter or variable) you want to retrieve from the Data Source chosen above

This is your return value

SELECT [Assigned To] FROM Tasks WHERE

Tasks.ID = 2

© 2011 Applied Knowledge Group, Inc. 12

Page 13: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Working with “Define Workflow Lookup”

Return Field As

Often Disabled

Person type Field

As String (116;#Susan Hernandez)

Display Name

Email Address

Login Name

User Id Number

© 2011 Applied Knowledge Group, Inc. 13

Page 14: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Working with “Define Workflow Lookup”

Find the List Item / Field

The field, from the Data Source chosen above, that you want to use for filter criteria

SELECT [Assigned To] FROM Tasks WHERE

Tasks.ID = 2

© 2011 Applied Knowledge Group, Inc. 14

Page 15: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Working with “Define Workflow Lookup”

Find the List Item / Value The value that you want

to use for filter criteria

Can press the fx button and use another Lookup

Will be a dropdown box if it’s a Choice field you’re filtering on

SELECT [Assigned To] FROM Tasks WHERE

Tasks.ID = 2

© 2011 Applied Knowledge Group, Inc. 15

Page 16: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

“Define Workflow Lookup” In Action

DEMO

© 2011 Applied Knowledge Group, Inc. 16

Page 17: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Working with the Start Approval Process Action

Like the OOB Approval Process

Several New Variables Added

© 2011 Applied Knowledge Group, Inc. 17

Page 18: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Working with the Start Approval Process Action

© 2011 Applied Knowledge Group, Inc. 18

Page 19: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Working with the Start Approval Process Action

© 2011 Applied Knowledge Group, Inc. 19

Page 20: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Working with the Start Approval Process Action

© 2011 Applied Knowledge Group, Inc. 20

Page 21: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Working with the Start Approval Process Action

© 2011 Applied Knowledge Group, Inc. 21

Page 22: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Working with the Start Approval Process Action

© 2011 Applied Knowledge Group, Inc. 22

Page 23: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Approval Process – Change the completion conditions

© 2011 Applied Knowledge Group, Inc. 23

Page 24: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Approval Process – Change the behavior of a Single Task

© 2011 Applied Knowledge Group, Inc. 24

Page 25: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Approval Process – Change the behavior of overall process

© 2011 Applied Knowledge Group, Inc. 25

Page 26: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

“Approval Process” In Action

DEMO

© 2011 Applied Knowledge Group, Inc. 26

Page 27: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Other Things to Consider

DON’T USE WORKFLOW HISTORY FOR LEGAL TRAIL

Can be tampered with – it’s just data stored in a list

Things not covered due to time constraints, but worth looking into

Writing Workflows using Visio

Exporting workflows from Visio

Importing Visio workflows into SharePoint Designer

Modifying Workflow Forms using InfoPath 2010

Initiation Forms, Task Forms, and Association Forms

Saving as a template – exporting to a WSP file (SharePoint Solution Package)

© 2011 Applied Knowledge Group, Inc. 27

Page 28: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Q & A

© 2011 Applied Knowledge Group, Inc. 28

Page 29: Advanced Workflow Concepts using SharePoint Designer 2010 · Create all lists you will need and all fields in lists Create and define Document Sets If you wish to use Content Approval,

Thank You!

Visit http://suehernandez.wordpress.com for materials and presentation

Company Blog:

http://info.akgroup.com/blog-0

Follow us on Twitter! Like us on Facebook!

© 2011 Applied Knowledge Group, Inc. 29