SlideShare une entreprise Scribd logo
1  sur  57
Télécharger pour lire hors ligne
#SPSDC 
@pgbhoyar 
Getting Started With SharePoint 2013 Workflows 
Prashant G Bhoyar
#SPSDC 
@pgbhoyar 
Housekeeping… 
•Download EventBoardMobile and remember to fill out session evaluations… 
•Phasersset to stun, mobile devices set to silent… 
•You must be present to win at the wrap-up…
#SPSDC 
@pgbhoyar 
Thanks to our Sponsors!!!
#SPSDC 
@pgbhoyar 
Join us at #SharePint sponsored by K2 at World of Beer of Reston in the Towncenterjust across the bridge 
Why? To network with fellow SharePoint professionals 
What? SharePint!!! 
When? 6:00 PM 
Where? 
World of Beer Reston 
1888 Explorer Street 
Reston, VA 20190 
Thanks to? 
K2!
#SPSDC 
@pgbhoyar 
5 
•Senior Consultant at Portal Solutions 
Product –AuthentiMate, TaskR 
Services –We Love SharePoint .. 
•Guy with Multiple Hats 
•University of Maryland College Park Alumni 
•Recipient of Antarctic Service Medal 
Who AM I ?
#SPSDC 
@pgbhoyar 
Recent Announcements 
•Ignite Conference –Registration is open 
Unified Microsoft Enterprise suite conference will be held in May 14 2015, Chicago IL 
One conference to rule them all !!!!!! 
•Windows 10 Preview is availble 
http://windows.microsoft.com/en-us/windows/preview 
•Students and Teachers may get Office365for free 
http://windows.microsoft.com/en-us/windows/preview 
6
#SPSDC 
@pgbhoyar 
Recent Announcements 
•Starting Jan 01, 2015, Pearson VUEcenters will be conducting Microsoft Certification Exams 
•“As of 11-24-2014 Office Web Apps Server will be removed from the Microsoft Download Center. At that time it will only be available for download under Volume Licensing agreements.” http://blogs.technet.com/b/office_sustained_engineering/archive/2014/10/22/ web-apps-server-removal-from-download-center.aspx 
7
#SPSDC 
@pgbhoyar 
8 
•I have thick accent; Raise your hand if things are not clear 
•Sharing is Caring 
•Ask Questions 
Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning.–Albert Einestein 
•Let the learning begins… 
About Today’s Session 
Image Source : http://onlyfreewallpaper.com/view/smiley-kitty-1280x1024.html
#SPSDC 
@pgbhoyar 
•What are Workflows 
•Limitations of SP2010workflows 
•Architectural Changes in SP2013Workflows 
•Workflow Manager 
•Enhancement in SP2013Workflows 
•SP2013OOTBWorkflows 
•Enhancements in SPD2013 
•Limitations of SPD2013workflows 
•Workflows in Visual Studio 2012 
•Limitations of Visual Studio Workflows 
•Best Practices 
•Forms in SP2013Workflows 
•Third Party Products 
Agenda 
Outcome: Familiarity with SharePoint 2013 Workflows 
Objective: Getting Stared with SharePoint 2013 Workflows
#SPSDC 
@pgbhoyar
#SPSDC 
@pgbhoyar 
Helps to Automate Business Processes 
Helps to meet the Industry Standards 
Helps Organizations to function Effectively 
Important for success of SharePoint Implementations 
11 
What are Workflows?
#SPSDC 
@pgbhoyar
#SPSDC 
@pgbhoyar 
Reliable–Last machine reboots 
VisualizeWorkflow Graphically 
Reportingis supported 
ReusableWorkflows 
Use of LOB Data 
13 
Why Workflows with SharePoint?
#SPSDC 
@pgbhoyar
#SPSDC 
@pgbhoyar 
Types of Workflows 
Sequential 
State Machine 
•Activities occur in sequence 
•On rejection , begin from start 
•Simple Business Processes example, Leave Request 
•Activities are not sequential 
•Can by pass activities based on business logic 
•Complex business processes example, Financial Aid
#SPSDC 
@pgbhoyar 
Typical SharePoint Workflow Life Cycle
#SPSDC 
@pgbhoyar 
Started with MOSS 2007 -> Based on Workflow Foundation. 
Workflow Foundation was introduced in the release .NET 3.0 and its capabilities updated in .NET 3.5 and .NET 3.5 SP1 
In MOSS 2007 custom workflows can be created using SPD2007 and Visual Studio 
No reusable workflows 
17 
History of Enhancements in SharePoint Workflows
#SPSDC 
@pgbhoyar 
18 
Major Enhancements in SharePoint 2010 Workflows 
Architecturally similar to MOSS 2007 
Site Based Workflows 
Modify OOTBworkflow templates by importing them into SharePoint 2010 Designer 
Create Reusable workflow and using Visio Services visualize the status of the Workflow 
Import SPD2010 workflows in Visual Studio 2010
#SPSDC 
@pgbhoyar
#SPSDC 
@pgbhoyar
#SPSDC 
@pgbhoyar 
21 
Limitations of SharePoint 2010 Workflows 
Designed primarily for OnPremisedeployments 
Workflows are not scalable, they are stored in Content Database 
Looping is not supported out of the box 
State Machine workflows can only be created using Visual Studio 2010 
Extending Workflows usually requires full trust solutions 
Performance and Scalability remained key challenge
#SPSDC 
@pgbhoyar 
The SharePoint Forecast is …. Cloudy 
“Craig Roth, Managing Vice President: Communication, Collaboration, and Content, Gartner Group”
#SPSDC 
@pgbhoyar 
SP2013workflows are built using WF4.5 and run out of SharePoint 
Workflow is separate server Product called Windows Azure Workflow and not part of SPInfrastructure 
The name “Azure” is confusing….this Product runs on Premise  
SP2013workflows execute in an Azure service called Workflow Manager 1.0 
23 
New SharePoint 2013 Workflows Architecture
#SPSDC 
@pgbhoyar 
Architecture of SharePoint 2013 Workflows 
24
#SPSDC 
@pgbhoyar 
Types of Windows Azure Workflow 
Windows Azure Workflow Server 
•Provides scalable robust workflow capabilities for on-premisedeployment 
Windows Azure Workflow Services 
•Provides a scalable robust, workflow platform in Office 365 and cloud based solutions 
Two
#SPSDC 
@pgbhoyar 
Workflow Manager server application should be installed on separate server (Part of SP2013farm or separate) 
SPWFEincludes Workflow client software that handles the integration between the manager and the SPFarm 
Communication between manager and client occurs using REST API and Oauth 
26 
New SharePoint 2013 Workflows Architecture
#SPSDC 
@pgbhoyar 
27 
Workflow Manager 
Separate Product 
Separate farm/Co locate with SPFarm 
Installation 
Disaster Recovery 
1 or 3 server farms 
Debugging 
Fiddler 
Maintenance
#SPSDC 
@pgbhoyar 
SP2013workflows are not supported on SP2013Foundation 
SP2013workflows are fully declarative 
SP2013workflows are no longer compiled into .NET assemblies instead XAMLfiles defines workflow and their execution 
No more custom code 
Build WebServicesfor custom business logic 
SP2013workflows are available in SharePoint Online 
28 
New SharePoint 2013 Workflows Architecture
#SPSDC 
@pgbhoyar 
PowerShell Command to Register SharePoint Site collection 
Register-SPWorkflowService-SPSitehttp://sp2013:80- WorkflowHostUri"http://sp2013:12291" -AllowOAuthHttp 
Need to explicitly register the site collection 
Good news….in SharePoint Online/Office 365 all steps are already done… 
29 
New SharePoint 2013 Workflows Architecture
#SPSDC 
@pgbhoyar 
How the workflows will run? 
Workflow Starts 
SP2010Style Workflow? 
Use SP2010Workflow Engine 
Use New Workflow Manager 
Workflow Executes 
Workflow Ends 
Workflow Executes 
Yes 
No
#SPSDC 
@pgbhoyar 
DEMO
#SPSDC 
@pgbhoyar 
32 
Major Enhancements in SharePoint 2013 Workflows 
Multi-Tenancy 
Fully Declarative Authoring 
SP2013workflows call SP2010workflows and vice versa 
SP2010workflows will continue to work in SP2013but will not be upgraded to SP2013workflows 
Option of manual upgrade 
#SPSDC 
@pgbhoyar 
33 
SharePoint 2013 Workflows Associations 
List/Libraries 
No Content Types 
Solution : 
Check the content type column and then initiate the workflow 
Use SP2010workflow & attach that to Content Type. Call SP2013workflow from SP2010workflow 
Sites 
SPD2013 Workflows 
Visual Studio Workflows
#SPSDC 
@pgbhoyar 
DEMO
#SPSDC 
@pgbhoyar 
Which option to select?
#SPSDC 
@pgbhoyar 
36 
SharePoint 2013 OOTBWorkflows 
Approval -SharePoint 2010 
Collect Feedback -SharePoint 2010 
Collect Signatures -SharePoint 2010 
Disposition Approval 
Three-State 
Note: Uses Workflow Engine Inside SharePoint 2013
#SPSDC 
@pgbhoyar 
DEMO
#SPSDC 
@pgbhoyar 
Workflow Manager is installed 
Site Collection is registered with Workflow Manager 
User Profile Service is setup and sync has run at least once 
To execute the workflow, we will need valid upn( User Principal Name) 
In SharePoint Online everything is already setup for you.  
38 
Before we start creating SharePoint 2013 in SPD2013
#SPSDC 
@pgbhoyar 
39 
Major Enhancements in SharePoint 2013 Designer 
A visual Workflow development experience that uses Visio 2013 
A new action that enables no-code web service calls from within a workflow 
New Actions for creating a task and starting a task 
A new Dictionary data type for working with complex data type 
New workflow building blocks such as Stage, Loop, and App Step
#SPSDC 
@pgbhoyar 
40 
Improved Workflow Logic & Control SharePoint 2013 Designer 
Stages –Can create State Machine workflows using Stages 
Loop : Repeat one or more actions a specified number of times 
SP2010Workflow Re-Use: SPD2013enables starting an existing SP2010workflow, including passing initiation parameters. Reuse SP2010workflows.
#SPSDC 
@pgbhoyar 
DEMO
#SPSDC 
@pgbhoyar 
42 
Improved Design Features in SharePoint 2013 Designer 
Visual Workflow Designer –SPD2013 includes both a text based designer and a visual designer 
Copy and Paste : SPD2013supports copy and pasting logic and actions within the text designer 
Better Packaging : Save list workflows as template and reuse.
#SPSDC 
@pgbhoyar 
DEMO
#SPSDC 
@pgbhoyar 
44 
Limitations of SharePoint 2013 Designer Workflows 
Can not create full trust solutions 
Can not deploy workflows as SharePoint Apps 
No Source Control
#SPSDC 
@pgbhoyar 
45 
SharePoint 2013 Workflows Using Visual Studio 2012 
Full access to the Workflow Foundation in .NET Framework 4.5 
Supports deployment as full trust solutions, Sandbox Solutions as well as SPApps 
You can use Source Control 
Create Custom Activities 
Create Custom Forms for workflows 
Set Breakpoints on Activities
#SPSDC 
@pgbhoyar 
DEMO 
Rich Set of Actions/Activities in VS Toolbox
#SPSDC 
@pgbhoyar 
47 
Limitations of Visual Studio Workflows 
Steep learning curve 
Deployment Risks 
Costly Bugs 
Management/Resourcing
#SPSDC 
@pgbhoyar
#SPSDC 
@pgbhoyar 
Guidance for forms -InfoPath 
•InfoPath will continue to be supported for a long time 
•Don’t invest more on InfoPath 
•Consider other alternative for the short-term/long-term 
•Wait until Microsoft guidance materialized 
49
#SPSDC 
@pgbhoyar 
Forms Options 
Source : http://formsquo.com/solution-matrix/
#SPSDC 
@pgbhoyar 
Third Party Tools
#SPSDC 
@pgbhoyar 
Third Party Tools
#SPSDC 
@pgbhoyar 
53 
•Requirements 
•Limitations 
•Life Cycle 
•Functionality 
•Budget/Resources 
Factors to Consider
#SPSDC 
@pgbhoyar 
54 
•Don’t use OOTBTask List and History List as audit log 
•For large lists, don’t remove the workflow, but set to no new instance 
Do it in non business hours 
•Don’t let the workflow manager cert expires 
•Keep workflow initiation activity to minimum 
•Use logging- 
“Log to History List” 
Best Practices
#SPSDC 
@pgbhoyar 
Q&A
#SPSDC 
@pgbhoyar 
References 
Appendix/Resources 
MSDN/TechNet: 
http://msdn.microsoft.com/en-us/library/office/jj163181(v=office.15).aspx 
Blogs : 
http://www.harbar.net/ 
Training Videos (Paid): 
http://www.Pluralsight.com
#SPSDC 
@pgbhoyar 
Questions? Feedback? Contact me: 
Twitter: @PGBhoyar 
Blog: http://pgbhoyar.wordpress.com(limited contents) 
Email: pgbhoyar@gmail.com 
Speaker Evaluation : Please fill out speaker evaluations 
Thank YouOrganizers, Sponsors andYoufor Making this Possible.

Contenu connexe

Tendances

Share Point 2010 Workflow
Share Point 2010 WorkflowShare Point 2010 Workflow
Share Point 2010 Workflow
Phuong Nguyen
 
SharePoint Saturday Kansas City 2015 - Build scalable SharePoint 2013 Workflows
SharePoint Saturday Kansas City 2015 - Build scalable SharePoint 2013 WorkflowsSharePoint Saturday Kansas City 2015 - Build scalable SharePoint 2013 Workflows
SharePoint Saturday Kansas City 2015 - Build scalable SharePoint 2013 Workflows
Brian Culver
 
Mai Omar Desouki - What's new in SharePoint Designer 2013 #ESPC 2013
Mai Omar Desouki - What's new in SharePoint Designer 2013 #ESPC 2013Mai Omar Desouki - What's new in SharePoint Designer 2013 #ESPC 2013
Mai Omar Desouki - What's new in SharePoint Designer 2013 #ESPC 2013
Mai Omar Desouki
 

Tendances (20)

SharePoint 2013 Workflow from K2
SharePoint 2013 Workflow from K2SharePoint 2013 Workflow from K2
SharePoint 2013 Workflow from K2
 
SharePoint Workflow Best Practices
SharePoint Workflow Best PracticesSharePoint Workflow Best Practices
SharePoint Workflow Best Practices
 
Configuring Workflows in SharePoint 2010
Configuring Workflows in SharePoint 2010Configuring Workflows in SharePoint 2010
Configuring Workflows in SharePoint 2010
 
Writing futuristic workflows in office 365 SharePoint 2013 2016 on premise
Writing futuristic workflows in office 365 SharePoint 2013 2016 on premiseWriting futuristic workflows in office 365 SharePoint 2013 2016 on premise
Writing futuristic workflows in office 365 SharePoint 2013 2016 on premise
 
SharePoint Fest Seattle 2017 Getting started with office365 sharepoint online...
SharePoint Fest Seattle 2017 Getting started with office365 sharepoint online...SharePoint Fest Seattle 2017 Getting started with office365 sharepoint online...
SharePoint Fest Seattle 2017 Getting started with office365 sharepoint online...
 
Building Workflows for SharePoint 2010 with SharePoint Designer and Visio
Building Workflows for SharePoint 2010 with SharePoint Designer and VisioBuilding Workflows for SharePoint 2010 with SharePoint Designer and Visio
Building Workflows for SharePoint 2010 with SharePoint Designer and Visio
 
How to develop maintainable custom Workflows in Office365 SharePoint online 2...
How to develop maintainable custom Workflows in Office365 SharePoint online 2...How to develop maintainable custom Workflows in Office365 SharePoint online 2...
How to develop maintainable custom Workflows in Office365 SharePoint online 2...
 
5.4swiss_sharepoint_club_mvp_track4_workflows-sharepoint_2013_serge_luca_shar...
5.4swiss_sharepoint_club_mvp_track4_workflows-sharepoint_2013_serge_luca_shar...5.4swiss_sharepoint_club_mvp_track4_workflows-sharepoint_2013_serge_luca_shar...
5.4swiss_sharepoint_club_mvp_track4_workflows-sharepoint_2013_serge_luca_shar...
 
SPSVB 2013 Everything About SharePoint 2010 Workflows
SPSVB 2013 Everything About SharePoint 2010 WorkflowsSPSVB 2013 Everything About SharePoint 2010 Workflows
SPSVB 2013 Everything About SharePoint 2010 Workflows
 
Advanced Office365 Sharepoint online Workflows
Advanced Office365 Sharepoint online WorkflowsAdvanced Office365 Sharepoint online Workflows
Advanced Office365 Sharepoint online Workflows
 
Share Point 2010 Workflow
Share Point 2010 WorkflowShare Point 2010 Workflow
Share Point 2010 Workflow
 
Future Proofing your Workflow Investment How to Develop Maintainable Custom W...
Future Proofing your Workflow Investment How to Develop Maintainable Custom W...Future Proofing your Workflow Investment How to Develop Maintainable Custom W...
Future Proofing your Workflow Investment How to Develop Maintainable Custom W...
 
SharePoint Fest DC 2016_Advanced Office365 SharePoint Online Workflows
SharePoint Fest DC 2016_Advanced Office365 SharePoint Online WorkflowsSharePoint Fest DC 2016_Advanced Office365 SharePoint Online Workflows
SharePoint Fest DC 2016_Advanced Office365 SharePoint Online Workflows
 
Building Business Applications in Office 365 SharePoint Online Using Logic Apps
Building Business Applications in Office 365 SharePoint Online Using Logic AppsBuilding Business Applications in Office 365 SharePoint Online Using Logic Apps
Building Business Applications in Office 365 SharePoint Online Using Logic Apps
 
Getting Started With SharePoint REST API in Nintex Workflows for Office 365 I...
Getting Started With SharePoint REST API in Nintex Workflows for Office 365 I...Getting Started With SharePoint REST API in Nintex Workflows for Office 365 I...
Getting Started With SharePoint REST API in Nintex Workflows for Office 365 I...
 
SharePoint Designer Workflows - Nuts, Bolts and Examples
SharePoint Designer Workflows - Nuts, Bolts and ExamplesSharePoint Designer Workflows - Nuts, Bolts and Examples
SharePoint Designer Workflows - Nuts, Bolts and Examples
 
SharePoint Saturday Kansas City 2015 - Build scalable SharePoint 2013 Workflows
SharePoint Saturday Kansas City 2015 - Build scalable SharePoint 2013 WorkflowsSharePoint Saturday Kansas City 2015 - Build scalable SharePoint 2013 Workflows
SharePoint Saturday Kansas City 2015 - Build scalable SharePoint 2013 Workflows
 
Mai Omar Desouki - What's new in SharePoint Designer 2013 #ESPC 2013
Mai Omar Desouki - What's new in SharePoint Designer 2013 #ESPC 2013Mai Omar Desouki - What's new in SharePoint Designer 2013 #ESPC 2013
Mai Omar Desouki - What's new in SharePoint Designer 2013 #ESPC 2013
 
How to Develop Maintainable Custom Workflows in Office 365 Share Point Online?
How to Develop Maintainable Custom Workflows in Office 365 Share Point Online?How to Develop Maintainable Custom Workflows in Office 365 Share Point Online?
How to Develop Maintainable Custom Workflows in Office 365 Share Point Online?
 
Real world business workflow with SharePoint designer 2013
Real world business workflow with SharePoint designer 2013Real world business workflow with SharePoint designer 2013
Real world business workflow with SharePoint designer 2013
 

Similaire à Getting started with SharePoint 2013 Workflows

Workflows in SharePoint 2013: Architecture #spsbe
Workflows in SharePoint 2013: Architecture#spsbeWorkflows in SharePoint 2013: Architecture#spsbe
Workflows in SharePoint 2013: Architecture #spsbe
Spikes NV
 
O365Engage17 - Supercharging Your Productivity and Business with Microsoft Po...
O365Engage17 - Supercharging Your Productivity and Business with Microsoft Po...O365Engage17 - Supercharging Your Productivity and Business with Microsoft Po...
O365Engage17 - Supercharging Your Productivity and Business with Microsoft Po...
NCCOMMS
 

Similaire à Getting started with SharePoint 2013 Workflows (20)

Getting started with Office 365 SharePoint Online Workflows : SharePoint Fest...
Getting started with Office 365 SharePoint Online Workflows : SharePoint Fest...Getting started with Office 365 SharePoint Online Workflows : SharePoint Fest...
Getting started with Office 365 SharePoint Online Workflows : SharePoint Fest...
 
Writing Futuristic Workflows in Office 365 SharePoint 2013 2016 on premise
Writing Futuristic Workflows in Office 365 SharePoint 2013 2016 on premiseWriting Futuristic Workflows in Office 365 SharePoint 2013 2016 on premise
Writing Futuristic Workflows in Office 365 SharePoint 2013 2016 on premise
 
Introduction to SharePoint 2013 Out of the box Webparts
Introduction to SharePoint 2013 Out of the box WebpartsIntroduction to SharePoint 2013 Out of the box Webparts
Introduction to SharePoint 2013 Out of the box Webparts
 
West Monroe Partners - SharePoint 2010 Workflow - learn the secrets to greate...
West Monroe Partners - SharePoint 2010 Workflow - learn the secrets to greate...West Monroe Partners - SharePoint 2010 Workflow - learn the secrets to greate...
West Monroe Partners - SharePoint 2010 Workflow - learn the secrets to greate...
 
SharePoint 2013 - SP Tech Community Meeting 2
SharePoint 2013 - SP Tech Community Meeting 2SharePoint 2013 - SP Tech Community Meeting 2
SharePoint 2013 - SP Tech Community Meeting 2
 
Share point 2013: introduction, features, and roles
Share point 2013: introduction, features, and rolesShare point 2013: introduction, features, and roles
Share point 2013: introduction, features, and roles
 
What’s New in Project 2016, Project Server 2016, Project Online and Office 36...
What’s New in Project 2016, Project Server 2016, Project Online and Office 36...What’s New in Project 2016, Project Server 2016, Project Online and Office 36...
What’s New in Project 2016, Project Server 2016, Project Online and Office 36...
 
Ridwan sassman Sharepoint Saturday Sharepoint 2013 Workflows
Ridwan sassman Sharepoint Saturday Sharepoint 2013 WorkflowsRidwan sassman Sharepoint Saturday Sharepoint 2013 Workflows
Ridwan sassman Sharepoint Saturday Sharepoint 2013 Workflows
 
Building Scalable SharePoint 2013 Workflows - WF101 - SPFestDC
Building Scalable SharePoint 2013 Workflows - WF101 - SPFestDCBuilding Scalable SharePoint 2013 Workflows - WF101 - SPFestDC
Building Scalable SharePoint 2013 Workflows - WF101 - SPFestDC
 
Workflows in SharePoint 2013: Architecture #spsbe
Workflows in SharePoint 2013: Architecture#spsbeWorkflows in SharePoint 2013: Architecture#spsbe
Workflows in SharePoint 2013: Architecture #spsbe
 
Sharepoint 2019 Training
Sharepoint 2019 TrainingSharepoint 2019 Training
Sharepoint 2019 Training
 
Writing Futuristic Workflows in Office 365 SharePoint On Prem 2013 2016 - SPT...
Writing Futuristic Workflows in Office 365 SharePoint On Prem 2013 2016 - SPT...Writing Futuristic Workflows in Office 365 SharePoint On Prem 2013 2016 - SPT...
Writing Futuristic Workflows in Office 365 SharePoint On Prem 2013 2016 - SPT...
 
Sharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra usSharepoint designer workflow by quontra us
Sharepoint designer workflow by quontra us
 
Non-Developer Options in SharePoint 2013 - Fest Chicago 2014
Non-Developer Options in SharePoint 2013 - Fest Chicago 2014Non-Developer Options in SharePoint 2013 - Fest Chicago 2014
Non-Developer Options in SharePoint 2013 - Fest Chicago 2014
 
Tri-State SharePoint July 2016
Tri-State SharePoint July 2016Tri-State SharePoint July 2016
Tri-State SharePoint July 2016
 
SharePoint Saturday Bangalore -Overview of SharePoint Server 2019
SharePoint Saturday Bangalore -Overview of SharePoint Server 2019SharePoint Saturday Bangalore -Overview of SharePoint Server 2019
SharePoint Saturday Bangalore -Overview of SharePoint Server 2019
 
SharePoint Workflow Migration
SharePoint Workflow MigrationSharePoint Workflow Migration
SharePoint Workflow Migration
 
Les workflows dans SharePoint 2013 et Office 365 Casablanca Sharepoint days 2014
Les workflows dans SharePoint 2013 et Office 365 Casablanca Sharepoint days 2014Les workflows dans SharePoint 2013 et Office 365 Casablanca Sharepoint days 2014
Les workflows dans SharePoint 2013 et Office 365 Casablanca Sharepoint days 2014
 
O365Engage17 - Supercharging Your Productivity and Business with Microsoft Po...
O365Engage17 - Supercharging Your Productivity and Business with Microsoft Po...O365Engage17 - Supercharging Your Productivity and Business with Microsoft Po...
O365Engage17 - Supercharging Your Productivity and Business with Microsoft Po...
 
Himmelstein SP Connections HAD207 SharePoint Logging & Debugging
Himmelstein SP Connections HAD207 SharePoint Logging & DebuggingHimmelstein SP Connections HAD207 SharePoint Logging & Debugging
Himmelstein SP Connections HAD207 SharePoint Logging & Debugging
 

Plus de Prashant G Bhoyar (Microsoft MVP)

Plus de Prashant G Bhoyar (Microsoft MVP) (18)

Building Intelligent bots using microsoft bot framework and cognitive service...
Building Intelligent bots using microsoft bot framework and cognitive service...Building Intelligent bots using microsoft bot framework and cognitive service...
Building Intelligent bots using microsoft bot framework and cognitive service...
 
Microsoft Flow for SharePoint Designer Workflow Professionals-SPFestDC2019
Microsoft Flow for SharePoint Designer Workflow Professionals-SPFestDC2019Microsoft Flow for SharePoint Designer Workflow Professionals-SPFestDC2019
Microsoft Flow for SharePoint Designer Workflow Professionals-SPFestDC2019
 
Getting Started with SharePoint Patterns and Practices Provisioning Engine-SP...
Getting Started with SharePoint Patterns and Practices Provisioning Engine-SP...Getting Started with SharePoint Patterns and Practices Provisioning Engine-SP...
Getting Started with SharePoint Patterns and Practices Provisioning Engine-SP...
 
Microsoft Bot Framework for SharePoint Developers-SPFestDC2019
Microsoft Bot Framework for SharePoint Developers-SPFestDC2019Microsoft Bot Framework for SharePoint Developers-SPFestDC2019
Microsoft Bot Framework for SharePoint Developers-SPFestDC2019
 
Azure Active Directory (Azure AD) for office 365 Developers : SPFestDC 2019
Azure Active Directory (Azure AD) for office 365 Developers : SPFestDC 2019Azure Active Directory (Azure AD) for office 365 Developers : SPFestDC 2019
Azure Active Directory (Azure AD) for office 365 Developers : SPFestDC 2019
 
Microsoft Flow For Developers
Microsoft Flow For DevelopersMicrosoft Flow For Developers
Microsoft Flow For Developers
 
Introduction to AI and Cognitive Services For Microsoft 365 Developers and In...
Introduction to AI and Cognitive Services For Microsoft 365 Developers and In...Introduction to AI and Cognitive Services For Microsoft 365 Developers and In...
Introduction to AI and Cognitive Services For Microsoft 365 Developers and In...
 
Introduction to AI and Cognitive Services for O365 Devs Azure Bootcamp Reston
Introduction to AI and Cognitive Services for O365 Devs Azure Bootcamp RestonIntroduction to AI and Cognitive Services for O365 Devs Azure Bootcamp Reston
Introduction to AI and Cognitive Services for O365 Devs Azure Bootcamp Reston
 
Azure Active Directory for Office 365 Developers SPFEST DC 2018
Azure Active Directory for Office 365 Developers SPFEST DC 2018Azure Active Directory for Office 365 Developers SPFEST DC 2018
Azure Active Directory for Office 365 Developers SPFEST DC 2018
 
Getting started with Microsoft Graph APIs SP FEST DC 2018
Getting started with Microsoft Graph APIs SP FEST DC 2018Getting started with Microsoft Graph APIs SP FEST DC 2018
Getting started with Microsoft Graph APIs SP FEST DC 2018
 
Introduction to AI and Cognitive Services for Office 365 Developers SPFest DC...
Introduction to AI and Cognitive Services for Office 365 Developers SPFest DC...Introduction to AI and Cognitive Services for Office 365 Developers SPFest DC...
Introduction to AI and Cognitive Services for Office 365 Developers SPFest DC...
 
Building Business Applications for Office 365 SharePoint Online using Azure M...
Building Business Applications for Office 365 SharePoint Online using Azure M...Building Business Applications for Office 365 SharePoint Online using Azure M...
Building Business Applications for Office 365 SharePoint Online using Azure M...
 
Getting Started with SharePoint REST APIs in Custom Sharepoint Workflows - SP...
Getting Started with SharePoint REST APIs in Custom Sharepoint Workflows - SP...Getting Started with SharePoint REST APIs in Custom Sharepoint Workflows - SP...
Getting Started with SharePoint REST APIs in Custom Sharepoint Workflows - SP...
 
Getting Started with Office 365 Developers Patterns and Practices Provisionin...
Getting Started with Office 365 Developers Patterns and Practices Provisionin...Getting Started with Office 365 Developers Patterns and Practices Provisionin...
Getting Started with Office 365 Developers Patterns and Practices Provisionin...
 
Getting Started with Microsoft Graph API SPTechCon Washington DC 2017
Getting Started with Microsoft Graph API SPTechCon Washington DC 2017Getting Started with Microsoft Graph API SPTechCon Washington DC 2017
Getting Started with Microsoft Graph API SPTechCon Washington DC 2017
 
Getting started with SharePoint REST API in custom SharePoint workflows Resto...
Getting started with SharePoint REST API in custom SharePoint workflows Resto...Getting started with SharePoint REST API in custom SharePoint workflows Resto...
Getting started with SharePoint REST API in custom SharePoint workflows Resto...
 
SPEngage Raleigh 2017 Azure Active Directory For Office 365 Developers
SPEngage Raleigh 2017 Azure Active Directory For Office 365 DevelopersSPEngage Raleigh 2017 Azure Active Directory For Office 365 Developers
SPEngage Raleigh 2017 Azure Active Directory For Office 365 Developers
 
Getting started with Content Deployment in SharePoint 2013
Getting started with Content Deployment in SharePoint 2013Getting started with Content Deployment in SharePoint 2013
Getting started with Content Deployment in SharePoint 2013
 

Dernier

JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)
Max Lee
 
Jax, FL Admin Community Group 05.14.2024 Combined Deck
Jax, FL Admin Community Group 05.14.2024 Combined DeckJax, FL Admin Community Group 05.14.2024 Combined Deck
Jax, FL Admin Community Group 05.14.2024 Combined Deck
Marc Lester
 

Dernier (20)

how-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdfhow-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdf
 
Crafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationCrafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM Integration
 
IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024
 
SQL Injection Introduction and Prevention
SQL Injection Introduction and PreventionSQL Injection Introduction and Prevention
SQL Injection Introduction and Prevention
 
The Impact of PLM Software on Fashion Production
The Impact of PLM Software on Fashion ProductionThe Impact of PLM Software on Fashion Production
The Impact of PLM Software on Fashion Production
 
What is an API Development- Definition, Types, Specifications, Documentation.pdf
What is an API Development- Definition, Types, Specifications, Documentation.pdfWhat is an API Development- Definition, Types, Specifications, Documentation.pdf
What is an API Development- Definition, Types, Specifications, Documentation.pdf
 
JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)
 
Lessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdfLessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdf
 
Optimizing Operations by Aligning Resources with Strategic Objectives Using O...
Optimizing Operations by Aligning Resources with Strategic Objectives Using O...Optimizing Operations by Aligning Resources with Strategic Objectives Using O...
Optimizing Operations by Aligning Resources with Strategic Objectives Using O...
 
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdf
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdfImplementing KPIs and Right Metrics for Agile Delivery Teams.pdf
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdf
 
Jax, FL Admin Community Group 05.14.2024 Combined Deck
Jax, FL Admin Community Group 05.14.2024 Combined DeckJax, FL Admin Community Group 05.14.2024 Combined Deck
Jax, FL Admin Community Group 05.14.2024 Combined Deck
 
5 Reasons Driving Warehouse Management Systems Demand
5 Reasons Driving Warehouse Management Systems Demand5 Reasons Driving Warehouse Management Systems Demand
5 Reasons Driving Warehouse Management Systems Demand
 
Malaysia E-Invoice digital signature docpptx
Malaysia E-Invoice digital signature docpptxMalaysia E-Invoice digital signature docpptx
Malaysia E-Invoice digital signature docpptx
 
Automate your OpenSIPS config tests - OpenSIPS Summit 2024
Automate your OpenSIPS config tests - OpenSIPS Summit 2024Automate your OpenSIPS config tests - OpenSIPS Summit 2024
Automate your OpenSIPS config tests - OpenSIPS Summit 2024
 
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
KLARNA -  Language Models and Knowledge Graphs: A Systems ApproachKLARNA -  Language Models and Knowledge Graphs: A Systems Approach
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
 
Top Mobile App Development Companies 2024
Top Mobile App Development Companies 2024Top Mobile App Development Companies 2024
Top Mobile App Development Companies 2024
 
Food Delivery Business App Development Guide 2024
Food Delivery Business App Development Guide 2024Food Delivery Business App Development Guide 2024
Food Delivery Business App Development Guide 2024
 
AI Hackathon.pptx
AI                        Hackathon.pptxAI                        Hackathon.pptx
AI Hackathon.pptx
 
architecting-ai-in-the-enterprise-apis-and-applications.pdf
architecting-ai-in-the-enterprise-apis-and-applications.pdfarchitecting-ai-in-the-enterprise-apis-and-applications.pdf
architecting-ai-in-the-enterprise-apis-and-applications.pdf
 
Wired_2.0_CREATE YOUR ULTIMATE LEARNING ENVIRONMENT_JCON_16052024
Wired_2.0_CREATE YOUR ULTIMATE LEARNING ENVIRONMENT_JCON_16052024Wired_2.0_CREATE YOUR ULTIMATE LEARNING ENVIRONMENT_JCON_16052024
Wired_2.0_CREATE YOUR ULTIMATE LEARNING ENVIRONMENT_JCON_16052024
 

Getting started with SharePoint 2013 Workflows

  • 1. #SPSDC @pgbhoyar Getting Started With SharePoint 2013 Workflows Prashant G Bhoyar
  • 2. #SPSDC @pgbhoyar Housekeeping… •Download EventBoardMobile and remember to fill out session evaluations… •Phasersset to stun, mobile devices set to silent… •You must be present to win at the wrap-up…
  • 3. #SPSDC @pgbhoyar Thanks to our Sponsors!!!
  • 4. #SPSDC @pgbhoyar Join us at #SharePint sponsored by K2 at World of Beer of Reston in the Towncenterjust across the bridge Why? To network with fellow SharePoint professionals What? SharePint!!! When? 6:00 PM Where? World of Beer Reston 1888 Explorer Street Reston, VA 20190 Thanks to? K2!
  • 5. #SPSDC @pgbhoyar 5 •Senior Consultant at Portal Solutions Product –AuthentiMate, TaskR Services –We Love SharePoint .. •Guy with Multiple Hats •University of Maryland College Park Alumni •Recipient of Antarctic Service Medal Who AM I ?
  • 6. #SPSDC @pgbhoyar Recent Announcements •Ignite Conference –Registration is open Unified Microsoft Enterprise suite conference will be held in May 14 2015, Chicago IL One conference to rule them all !!!!!! •Windows 10 Preview is availble http://windows.microsoft.com/en-us/windows/preview •Students and Teachers may get Office365for free http://windows.microsoft.com/en-us/windows/preview 6
  • 7. #SPSDC @pgbhoyar Recent Announcements •Starting Jan 01, 2015, Pearson VUEcenters will be conducting Microsoft Certification Exams •“As of 11-24-2014 Office Web Apps Server will be removed from the Microsoft Download Center. At that time it will only be available for download under Volume Licensing agreements.” http://blogs.technet.com/b/office_sustained_engineering/archive/2014/10/22/ web-apps-server-removal-from-download-center.aspx 7
  • 8. #SPSDC @pgbhoyar 8 •I have thick accent; Raise your hand if things are not clear •Sharing is Caring •Ask Questions Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning.–Albert Einestein •Let the learning begins… About Today’s Session Image Source : http://onlyfreewallpaper.com/view/smiley-kitty-1280x1024.html
  • 9. #SPSDC @pgbhoyar •What are Workflows •Limitations of SP2010workflows •Architectural Changes in SP2013Workflows •Workflow Manager •Enhancement in SP2013Workflows •SP2013OOTBWorkflows •Enhancements in SPD2013 •Limitations of SPD2013workflows •Workflows in Visual Studio 2012 •Limitations of Visual Studio Workflows •Best Practices •Forms in SP2013Workflows •Third Party Products Agenda Outcome: Familiarity with SharePoint 2013 Workflows Objective: Getting Stared with SharePoint 2013 Workflows
  • 11. #SPSDC @pgbhoyar Helps to Automate Business Processes Helps to meet the Industry Standards Helps Organizations to function Effectively Important for success of SharePoint Implementations 11 What are Workflows?
  • 13. #SPSDC @pgbhoyar Reliable–Last machine reboots VisualizeWorkflow Graphically Reportingis supported ReusableWorkflows Use of LOB Data 13 Why Workflows with SharePoint?
  • 15. #SPSDC @pgbhoyar Types of Workflows Sequential State Machine •Activities occur in sequence •On rejection , begin from start •Simple Business Processes example, Leave Request •Activities are not sequential •Can by pass activities based on business logic •Complex business processes example, Financial Aid
  • 16. #SPSDC @pgbhoyar Typical SharePoint Workflow Life Cycle
  • 17. #SPSDC @pgbhoyar Started with MOSS 2007 -> Based on Workflow Foundation. Workflow Foundation was introduced in the release .NET 3.0 and its capabilities updated in .NET 3.5 and .NET 3.5 SP1 In MOSS 2007 custom workflows can be created using SPD2007 and Visual Studio No reusable workflows 17 History of Enhancements in SharePoint Workflows
  • 18. #SPSDC @pgbhoyar 18 Major Enhancements in SharePoint 2010 Workflows Architecturally similar to MOSS 2007 Site Based Workflows Modify OOTBworkflow templates by importing them into SharePoint 2010 Designer Create Reusable workflow and using Visio Services visualize the status of the Workflow Import SPD2010 workflows in Visual Studio 2010
  • 21. #SPSDC @pgbhoyar 21 Limitations of SharePoint 2010 Workflows Designed primarily for OnPremisedeployments Workflows are not scalable, they are stored in Content Database Looping is not supported out of the box State Machine workflows can only be created using Visual Studio 2010 Extending Workflows usually requires full trust solutions Performance and Scalability remained key challenge
  • 22. #SPSDC @pgbhoyar The SharePoint Forecast is …. Cloudy “Craig Roth, Managing Vice President: Communication, Collaboration, and Content, Gartner Group”
  • 23. #SPSDC @pgbhoyar SP2013workflows are built using WF4.5 and run out of SharePoint Workflow is separate server Product called Windows Azure Workflow and not part of SPInfrastructure The name “Azure” is confusing….this Product runs on Premise  SP2013workflows execute in an Azure service called Workflow Manager 1.0 23 New SharePoint 2013 Workflows Architecture
  • 24. #SPSDC @pgbhoyar Architecture of SharePoint 2013 Workflows 24
  • 25. #SPSDC @pgbhoyar Types of Windows Azure Workflow Windows Azure Workflow Server •Provides scalable robust workflow capabilities for on-premisedeployment Windows Azure Workflow Services •Provides a scalable robust, workflow platform in Office 365 and cloud based solutions Two
  • 26. #SPSDC @pgbhoyar Workflow Manager server application should be installed on separate server (Part of SP2013farm or separate) SPWFEincludes Workflow client software that handles the integration between the manager and the SPFarm Communication between manager and client occurs using REST API and Oauth 26 New SharePoint 2013 Workflows Architecture
  • 27. #SPSDC @pgbhoyar 27 Workflow Manager Separate Product Separate farm/Co locate with SPFarm Installation Disaster Recovery 1 or 3 server farms Debugging Fiddler Maintenance
  • 28. #SPSDC @pgbhoyar SP2013workflows are not supported on SP2013Foundation SP2013workflows are fully declarative SP2013workflows are no longer compiled into .NET assemblies instead XAMLfiles defines workflow and their execution No more custom code Build WebServicesfor custom business logic SP2013workflows are available in SharePoint Online 28 New SharePoint 2013 Workflows Architecture
  • 29. #SPSDC @pgbhoyar PowerShell Command to Register SharePoint Site collection Register-SPWorkflowService-SPSitehttp://sp2013:80- WorkflowHostUri"http://sp2013:12291" -AllowOAuthHttp Need to explicitly register the site collection Good news….in SharePoint Online/Office 365 all steps are already done… 29 New SharePoint 2013 Workflows Architecture
  • 30. #SPSDC @pgbhoyar How the workflows will run? Workflow Starts SP2010Style Workflow? Use SP2010Workflow Engine Use New Workflow Manager Workflow Executes Workflow Ends Workflow Executes Yes No
  • 32. #SPSDC @pgbhoyar 32 Major Enhancements in SharePoint 2013 Workflows Multi-Tenancy Fully Declarative Authoring SP2013workflows call SP2010workflows and vice versa SP2010workflows will continue to work in SP2013but will not be upgraded to SP2013workflows Option of manual upgrade 
  • 33. #SPSDC @pgbhoyar 33 SharePoint 2013 Workflows Associations List/Libraries No Content Types Solution : Check the content type column and then initiate the workflow Use SP2010workflow & attach that to Content Type. Call SP2013workflow from SP2010workflow Sites SPD2013 Workflows Visual Studio Workflows
  • 35. #SPSDC @pgbhoyar Which option to select?
  • 36. #SPSDC @pgbhoyar 36 SharePoint 2013 OOTBWorkflows Approval -SharePoint 2010 Collect Feedback -SharePoint 2010 Collect Signatures -SharePoint 2010 Disposition Approval Three-State Note: Uses Workflow Engine Inside SharePoint 2013
  • 38. #SPSDC @pgbhoyar Workflow Manager is installed Site Collection is registered with Workflow Manager User Profile Service is setup and sync has run at least once To execute the workflow, we will need valid upn( User Principal Name) In SharePoint Online everything is already setup for you.  38 Before we start creating SharePoint 2013 in SPD2013
  • 39. #SPSDC @pgbhoyar 39 Major Enhancements in SharePoint 2013 Designer A visual Workflow development experience that uses Visio 2013 A new action that enables no-code web service calls from within a workflow New Actions for creating a task and starting a task A new Dictionary data type for working with complex data type New workflow building blocks such as Stage, Loop, and App Step
  • 40. #SPSDC @pgbhoyar 40 Improved Workflow Logic & Control SharePoint 2013 Designer Stages –Can create State Machine workflows using Stages Loop : Repeat one or more actions a specified number of times SP2010Workflow Re-Use: SPD2013enables starting an existing SP2010workflow, including passing initiation parameters. Reuse SP2010workflows.
  • 42. #SPSDC @pgbhoyar 42 Improved Design Features in SharePoint 2013 Designer Visual Workflow Designer –SPD2013 includes both a text based designer and a visual designer Copy and Paste : SPD2013supports copy and pasting logic and actions within the text designer Better Packaging : Save list workflows as template and reuse.
  • 44. #SPSDC @pgbhoyar 44 Limitations of SharePoint 2013 Designer Workflows Can not create full trust solutions Can not deploy workflows as SharePoint Apps No Source Control
  • 45. #SPSDC @pgbhoyar 45 SharePoint 2013 Workflows Using Visual Studio 2012 Full access to the Workflow Foundation in .NET Framework 4.5 Supports deployment as full trust solutions, Sandbox Solutions as well as SPApps You can use Source Control Create Custom Activities Create Custom Forms for workflows Set Breakpoints on Activities
  • 46. #SPSDC @pgbhoyar DEMO Rich Set of Actions/Activities in VS Toolbox
  • 47. #SPSDC @pgbhoyar 47 Limitations of Visual Studio Workflows Steep learning curve Deployment Risks Costly Bugs Management/Resourcing
  • 49. #SPSDC @pgbhoyar Guidance for forms -InfoPath •InfoPath will continue to be supported for a long time •Don’t invest more on InfoPath •Consider other alternative for the short-term/long-term •Wait until Microsoft guidance materialized 49
  • 50. #SPSDC @pgbhoyar Forms Options Source : http://formsquo.com/solution-matrix/
  • 51. #SPSDC @pgbhoyar Third Party Tools
  • 52. #SPSDC @pgbhoyar Third Party Tools
  • 53. #SPSDC @pgbhoyar 53 •Requirements •Limitations •Life Cycle •Functionality •Budget/Resources Factors to Consider
  • 54. #SPSDC @pgbhoyar 54 •Don’t use OOTBTask List and History List as audit log •For large lists, don’t remove the workflow, but set to no new instance Do it in non business hours •Don’t let the workflow manager cert expires •Keep workflow initiation activity to minimum •Use logging- “Log to History List” Best Practices
  • 56. #SPSDC @pgbhoyar References Appendix/Resources MSDN/TechNet: http://msdn.microsoft.com/en-us/library/office/jj163181(v=office.15).aspx Blogs : http://www.harbar.net/ Training Videos (Paid): http://www.Pluralsight.com
  • 57. #SPSDC @pgbhoyar Questions? Feedback? Contact me: Twitter: @PGBhoyar Blog: http://pgbhoyar.wordpress.com(limited contents) Email: pgbhoyar@gmail.com Speaker Evaluation : Please fill out speaker evaluations Thank YouOrganizers, Sponsors andYoufor Making this Possible.