Intro to Declarative Workflows in SharePoint Daryl Rasmussen, MCSD (.NET), MSTS (Moss 2007), MCSD (SP 2010) Calgary SharePoint Users Group.

Slides:



Advertisements
Similar presentations
SharePoint Forms All you ever wanted to know about forms but were afraid to ask.
Advertisements

Overview and Demonstration of declarative workflows in SharePoint using Microsoft SharePoint Designer 2007 Kevin Hughes MCT, MCITP, MCSA, MCTS, MCP, Network+,
Microsoft Office SharePoint Portal Server 2007 Introduction to InfoPath Forms Services Daryl L. Rudolph.
SP Business Suite Deployment Kick-off
Designing, Deploying and Managing Workflow in SharePoint Sites Steve Heaney Product Development Manager OBS
MOSS Workflows Workflow Technologies Overview November 15, 2007 Sogeti USA.
SharePoint 2007: Workflow and Digital Forms Neil Iversen Inetium.
0 Leveraging External Data In SharePoint John Ramminger.
Welcome Windows SharePoint Service 3.0. Craig Carpenter MCSE, MCT Director, Combined Knowledge.
Acceleratio Ltd. is a software development company based in Zagreb, Croatia, founded in Acceleratio specializes in developing high-quality enterprise.
Windows SharePoint Services: Advancements In Document, Content, And Data Storage Dustin Friesenhahn OFF409 Program Manager Microsoft Corporation.
2013 Workflow Basics IN PLAIN ENGLISH FOR BUSINESS USERS.
OFC 317 使用 WinWF 构建 Microsoft Office SharePoint Server 2007 中的工作流应用.
SharePoint 2010 First Look: What's new for Developers in Microsoft SharePoint 2010 Matthew McDermott, MVP Aptillon, Able
St. Louis Day of Dot Net 2011 Building Web Parts for an Office 365 SharePoint Site Becky Bertram Independent SharePoint Consultant SharePoint MVP, MCSD.NET,
1 of 4 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Microsoft SharePoint 2013 SharePoint 2013 as a Developer Platform
1 of 4 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Microsoft Office Access 2007 A rich client for Windows SharePoint Services 3.0 Mark Bower Senior Consultant Microsoft UK
Using Microsoft SharePoint to Develop Workflow and Business Process Automation Ted Perrotte National Practice Manager, Quilogy, Microsoft Office SharePoint.
Workflows in SharePoint Brian Russo RJB Technical Consulting July 2009.
Workflow Solutions for Business Users and Knowledge Workers November 30th, 2010 Brendan Giles, PMP, MCP.
Welcome to the Nebraska SharePoint User Group May 7 th, 2008 Enterprise Content Management (ECM) in SharePoint Corey Erkes.
Create with SharePoint 2010 Jen Dodd Sr. Solutions Consultant
Wes Preston Agenda  Quick Intro  Overview  Site Details  Notes and Resources  Questions.
Categorization, views, search and retrieval Becky Bertram Covenant Technology Partners.
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
UITS SharePoint and the IUSPUG 2009 LSP Appreciation Event PRESENTER(S) Cory P. Retherford and Brian Hughes September, 30 th, 2009.
SharePoint Workflows with Visual Studio Stuart Cox RBA Consulting techpunch.wordpress.com.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Workflow Development Overview Architecture Requirements Types of workflows Stages of workflow.
WCM Platform Improvements ECM and Enterprise Metadata Advanced Routing and Document Sets In Place Records Management.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Presented by Florida State University Wednesday, May 4 th, 2011 Microsoft SharePoint Open House.
Office Business Applications Workshop Defining Business Process and Workflows.
Efficient Admin with SharePoint 2010 Gareth Johns IT Skills Development Advisor 1.
INTRO TO SHAREPOINT WORKFLOWS Derek Nishino Nishino Consulting
CharMeck.org Contributer Training SharePoint 2013 Orientation and Basic Training.
1 MSTE Visual SourceSafe For more information, see:
The SharePoint Shepherd’s Course for End Users Based on the book by Robert L. Bogue Copyright 2011 AvailTek LLC All Rights Reserved.
NET Development on Microsoft SharePoint Technology Part 4: Templates, Features, and Solution Deployment Mick Badran Breeze Training Consulting Trainer.
Back to Basics A Tour of Microsoft SharePoint. Who am I? Kenny Duenke Lead Systems Analyst RGA
Deep Dive into SharePoint 2010 Workflows Robert Bogue Thor Projects
SharePoint Workflow Prepared By: Eng. Rasha Farouk.
The 2007 Microsoft Office System Servers Enterprise Content Management, Workflow and Forms Martin Parry Developer and Platform Group, Microsoft Ltd
Workflow in Microsoft Office SharePoint Server Jessica Gruber Consultant Microsoft Corporation.
SharePoint Designer Workflows Nuts, Bolts and Examples SharePoint Saturday Chicago Suburbs March 19 th 2016.
SharePoint Fest 2013 Chicago What’s New and Exciting (and not so great) in SharePoint Designer 2013 Workflows Ira Fuchs – SharePoint Technical Specialist,
PRESENTED BY: K2.COM GREG SANDERSON TECHNICAL SPECIALIST, SHAREPOINT WORKFLOW IN 2013.
PRESENTED BY: K2.COM STEVE BOLDT SHAREPOINT WORKFLOW IN 2013.
Virtual techdays INDIA │ November 2010 SharePoint 2010 – Your one stop shop for all portal requirements Saranya Sriram │ Developer Evangelist, Microsoft.
SharePoint 101 – An Overview of SharePoint 2010, 2013 and Office 365
Joy Rathnayake Senior Architect – Virtusa Pvt. Ltd.
Demand Management and Workflow
APAN SharePoint Permissions
Transition Your SharePoint Designer Workflows to Microsoft Flow
APAN SharePoint Permissions
Microsoft Dynamics.
Migration to SharePoint 2013
SharePoint Online: Migration Planning to avoid Mistakes
Visual Studio Team Foundation Server
What Is Sharepoint? Mohsen Ashkboos
Principles of report writing
Unlock The Power of Your Business Processes Demystifying Workflow Solutions
SharePoint Foundation 2010
Visual Studio 2010 SharePoint Development Tools Overview
Microsoft Flow Approvals 101
Microsoft Office SharePoint 2007 Technical Enablement Tour
SharePoint Workflow: Taking the Manual Out of Your Process
Links Launch Outlook Launch Skype Place Skype on Do Not Disturb.
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Presentation transcript:

Intro to Declarative Workflows in SharePoint Daryl Rasmussen, MCSD (.NET), MSTS (Moss 2007), MCSD (SP 2010) Calgary SharePoint Users Group

Agenda  What is a Workflow?  Applying Workflows in SharePoint  Why Workflow?  Pick a Format  Some Best Practices  What if it “can’t be done”…

What is a Workflow?  A set of operations to be performed based on some event  Lists/Libraries support Add & Update event driven WF  In 2010 and beyond, Site Workflows can be scheduled  Either can spawn another workflow  For our purposes today, declarative based (i.e. “no code” solutions)  SharePoint Designer and similar tools  Visio…

Applying Workflows In SharePoint  Introduced in MOSS 2007  Extended and Enhanced in SP 2010  New options in SP 2013  Expected to continue to be supported in SP 2016  Works both on premise and on-line (O365 and in Azure)  Available in WSS 3.0 / SharePoint Foundation as well as Enterprise editions

Some Limitations:  Not cross-farms, not cross-site collections, generally not cross sites  Lists only in MOSS 2007  Timer bound, not instantaneous  Only one instance per WF at a time  On Add & Update, but not on Delete  Not everything theoretically possible is supported  state based versus sequential workflow  no looping (pre 2013)  no access to external systems, files, etc.

Why Workflow?  Business Process Automation  Document Approval – from simple to complex  Employee self-service forms – e.g. Vacation Requests  Annual Policy Acknowledgements  Meta-data assignment – for example based on content type, folder, library or document set location, file type, etc.  Assignment of values to hidden fields – e.g. Title, calculated hyperlinks to related info  More complex calculations / string assignments – there are some things that you can’t do in a calculated column  Notifications – beyond the simple “Alert Me” stuff  Copy data between lists – for security reasons or to implement a drop box  A “No Code” solution – easier to deploy (especially in O365), can be done by power users

3 Types:  List Workflow – tied to a specific list or library  Reusable Workflow – a generic one that can be associated with any list or library  Several built in ones created by Microsoft that are installed by default (Collect Feedback, Approval, etc.)  For reusable workflow you can not edit current list custom columns directly. But you can update an item in a specific list (including the current one) by passing current Item ID.  Site Workflows – something that is not associated with any list, but can be scheduled to run periodically.

Pick a Format  MOSS 2007 => SharePoint Designer 2007  SharePoint 2010 => SharePoint Designer 2010  SharePoint 2013 => SharePoint Designer 2013 using SP 2013 WorkFlow Engine (if enabled) OR using SP 2010 WorkFlow Engine (enabled by default on prem)  Look at your process needs  2010 has some actions not continued in 2013 (see refs)  2010 lets you “run as” workflow owner, in 2013 you have to  2013 introduced looping, better control of , “re-usable workflows”, some new actions (see refs)  If it makes no difference, use 2013 format for forward compatibility  Note that you can invoke a SP 2010 workflow from a SP 2013 one…  SharePoint 2016 => TBD, but expect either SPD 2016 will be co-released, or a patch for SPD 2013 will enable it to talk to SP2016  Third Party Tools: K2, Nintex, etc.  Use them if you can, even if you don’t need to, IMHO  Don’t overlook InfoPath: together with WF the two can provide a lot of functionality without code

Some Best Practices  Set a Debug flag as the first thing you do  Later if you need to you can introduce “If Debug = True” processing statements  Declare (and initialize) all your variables up front – easier to find (and change initial values) if you don’t have to scroll through pages of rules to find them  Write to the Workflow History Log often  Read who to send notices to from a separate list (so you don’t have to republish your workflow when this changes)  Have both debug and production values for recipients  Break your workflow up into manageable “chunks”  More than a “screen-full” is hard to trace  Name your “chunks” – Step 1 is not meaningful…  Launching another workflow has pros and cons  If you use “run as” option in 2010, create a service account to publish with

What if it “can’t be done” declaratively?  Be creative –  If you can’t calculate it, can you keep track of it instead? (ref my blog “You can Count On it!”, parts 1, 2 & 3)You can Count On it!  If you can’t loop, can you launch another wf which in turn launches this one again?  Use the “Call Web Service” action  Exchange.asmx, other existing services  Write one of your or own for just that bit  On Prem, you may have more options:  Download and install the HarePoint WorkFlow Extensions 30 day trial version  Includes about 20 actions for free for ever, including much better than the built-in SPD string manipulations  Purchase a 3 rd Party Add On that gives you an Action you are missing and need  Write your own WorkFlow Action in Visual Studio for just that one bit…  Take a look at the “Run Powershell Script” action from HarePoint  If all else fails, write the whole thing in.NET

Using Visio to create the WF  Allows you to set up the “flow” but not the details. For example, there’s a shape for “Send ” but no way in Visio to set the properties like the subject, body, recipients  So you still have to use SPD to complete it

References/Discussion  Discontinued Actions in SPD 2013: us/library/office/jj aspxhttps://msdn.microsoft.com/en- us/library/office/jj aspx  New Workflow Actions in SPD 2013: us/library/office/jj aspxhttps://msdn.microsoft.com/en- us/library/office/jj aspx  Get a value from another list based on a value in this workflow (lookups): a-sharepoint-designer-workflow/ a-sharepoint-designer-workflow/  Create a workflow with elevated permissions by using the SharePoint 2013 Workflow platform:  How to Start a SharePoint 2010 Workflow Within a SharePoint 2013 Workflow Using SharePoint Designer 2013: sharpcorner.com/UploadFile/anavijai/how-to-start-a-sharepoint workflow-within-a-sharepoint/ sharpcorner.com/UploadFile/anavijai/how-to-start-a-sharepoint workflow-within-a-sharepoint/

Some Vendors…  KwizCom Workflow Activity Toolkit KwizCom Workflow Activity Toolkit  HarePoint Workflow Extensions HarePoint Workflow Extensions  Virto SharePoint Workflow Activities Extensions Virto SharePoint Workflow Activities Extensions  K2 K2  Nintex Nintex  Don’t be afraid to check Google for more options…Google

Thanks!  Reaching Me:  