Workflows are one of greatest improvement of SharePoint 2013. In this intensive session, Serge Luca SharePoint MVP, will give you a deep overview of the new workflow platform architecture aka “Workflow Manager”, how to set it up, how to configure it, how SharePoint Designer 2013 has become a fantastic tool for creating real business workflows on premise or in the cloud and why/when you still need Visual Studio 2013. Several best practices from the field will also be shared. The session will be mainly based on demonstrations.
3. About Me
Serge Luca
SharePoint MVP since 2007
Brussels, Belgium
@sergeluca
Freelance, author, speaker
With another (SQL Server) MVP : www.shareql.com
Works with SharePoint since v1 in 2002
Author of Workflow certification exam
4.
5. Agenda
Introduction
Workflow Architecture
Creating workflows with SharePoint Designer 2013
Creating workflows with Visual Studio
Conclusions
Q&A
6. Introduction
SharePoint client object
model (CSOM, REST)
Office and
SharePoint Store
Workflow Access services
Apps et cloud app
model
Search Workflows
7. Comparing 2010 and 2013 Workflows
SharePoint 2010 SharePoint 2013
Legacy (backward comp, i.e
upgrade)
Future
Coupled to SP servers Decoupled (other consuming
platforms)
In process Out process, on premise or
cloud (Azure if O365)
Declarative or custom code Declarative
SP Foundation and SP server SP server
Content types No*
No Apps App friendly
.Net framework used by SP
(.Net 3.51)
.Net framework xxx (.Net 4.5
today, xxx tomorrow)
11. 2 workflow platforms
SharePoint 2010
workflows
Windows
Server
SQL Server
Non supporté en SharePoint
Foundation
SharePoint 2013
workflows
Windows
Server
SQL Server
SP 2013 farm WWoorkrflkofwl oFawrm Farm
12. Topologies
Workflow Farm = 1 or 3 machines (not 2, not 4,…)
• Collocated = Workflow Manager on (1 or 3 ) SP machines
• Federated = Workflow Manager farm serving multiple SharePoint Farms
• Distributed = Multiple Workflow Manager farms serving multiple
SharePoint tenants and potentially SharePoint Farms
16. SharePoint 2013 and Workflow Service
SharePoint
Events Content People Sharing
2010 WF
_API (REST OM)
Workflow Services Manager
Service Bus
Instances Interop
Deployment Messaging
WF Service Application Proxy
Workflow
Manager
Access
Control
OAuth
Workflow Client
17.
18. Which Microsoft Workflow tool ?
SharePoint Designer 2013 Visual Studio 2013
Power Users, SP devs SP devs
Can use Visio No
Cannot debug Can debug, including SP online
No ALM support Full ALM support
Cannot be part of Apps Can be part of Apps
19
28. Demo 4 : calling the SharePoint REST API
(POST)
29.
30. Do your remember ?
SharePoint Designer 2013 Visual Studio 2013
Can use Visio No
Power Users, SP devs SP devs
Cannot debug Can debug, including online
No ALM support Full ALM support
Cannot be part of Apps Can be part of Apps
31
42. thank you.
SHAREPOINT AND PROJECT CONFERENCE ADRIATICS
ZAGREB, 10/15/2014 - 10/16/2014
Editor's Notes
Exemple de site workflow : un workflow qui toutes les heures affichent la liste des 5 dernières modifications de chaques listes (sorte de newsfeed)
List workflow
Collect signature http://office.microsoft.com/en-us/sharepoint-foundation-help/all-about-collect-signatures-workflows-HA102639357.aspx?CTT=5&origin=HA102420739
Workflow manager : former Windows Azure Workflow Server (WAS)…same code base as Windows Azure service bus
Multitenant
Rest based
.Net 4.5
Scalable reliable
Service bus is the host
Microsoft.Workflow.Client.dll
Performance: NIC (network interface configuration)
Scale SQL server first
OAuth2 between SP and WFM
App Management service must be started in SP, UPServices as well
Users must be populated in UPS, their UPN (user Principal name) must be ok : not available in SPFoundation
Monitoring packs
Disaster Recovery complicate, undocumented
Patching SP farm, you have to republish new activities to WFM, SP_registerWorkflowService- force
Service bus architecture: http://msdn.microsoft.com/en-us/library/azure/dn459033.aspx