View
489
Download
0
Category
Tags:
Preview:
DESCRIPTION
Citation preview
Workflows in SharePoint 2013: Architecture#spsbe
Peter Plessers
Thanks to ourSponsors
Platinum
Gold
Silver
About me• Peter Plessers
• Product ManagerSharePoint Architect
• Spikes
We love workflows
What has changed?
Agenda • Workflow Architecture
• Workflow Features
• Workflow Development
• Workflows & Apps
Workflow Architecture
Architecture SP2010
SharePoint 2010
Tools
Visual Studio 2010 SP Designer
SharePoint 2010 Workflow
Declarative
Architecture SP2010
.rules
.xoml
.WF 3.5
Code
.dll
.WF 3.5
Architecture SP2013 SharePoint 2013
Tools
Workflow Manager
Visual Studio 2012 SP Designer
Solutions
Contents
Apps Events
SharePoint 2010
Workflow
Workflow Services Manager
DeploymentSubscriptio
n
Instances Interop
Workflow Service Application proxy
Workflow
Service Bus
Architecture SP2013
Declarative
Architecture SP2013
.xaml
.WF 4.5
Architecture SP2013 Benefits
• Move load from SharePoint to workflow farm
• Fully declarative workflows
• Scalability
• Reliability
Demo
Workflow Manager Installation
Workflow Manager Installation
Register-SPWorkflowService –SPSite “http://portal.dev.com/” –WorkflowHostUri “http://localhost:12291″ –AllowOAuthHttp
WorkflowFeatures
New Features
New Workflow Activities
Building Blocks
• Stage
• Loop
• App Step
• Parallel Block
New Workflow Activities
Workflow Activities
• Call Web Service (HttpSend)
• Go to stage
New Workflow Activities
Dynamic Value
• Nested sets of key-value pairs
• Used in combination with ‘HttpSend’ activity
• Activities to manipulate DynamicValues
SharePoint Designer SharePoint Designer
• Visual Designer (Visio Add-in)
• Copy paste of configurations
• Package list / site workflows
Demo
Removed Workflow Features
No InfoPath forms
• Auto-generated ASPX forms
• Task Forms
• Initiation Forms
• Association Forms
Removed Workflow Features
Missing Workflow Activities
• Document Set Activities
• Permission Activities
• Declare Record
• Lookup manager of user
Removed Workflow Features
No Visio Visualization of WF Status
• Only available for SP2010 workflows
Development
Development • Custom WF activity
• Custom Task Form
Custom WF Activity Custom WF activity
• Lookup Assistant activity
Demo Custom WF Activity
Custom WF Activity Problems you might encounter
• SharePoint ignores new version of WF activityRestart VS + check DB
• SharePoint designer breaksClear SP Designer cache
Demo Custom Task Form
Workflows & Apps
App Web (from WSP)
HostwebSharePoint-hosted
AppReuse (lists, out-of-box web
parts)Client side technologies and
declarative workflows
Provider-hosted App
“Bring your own server hosting infrastructure”
Get remote events from SharePoint Use CSOM/REST + OAuth
Cloud-hosted apps
Your Hosted
Site
Auto-hosted AppWindows Azure + SQL
Azure provisioned automatically as apps
are installed
Azure SharePoint Web
SharePoint
Web
Workflows & Apps
SharePoint Web
App Web
SharePoint Web
App Web
Azure
Your Hosted Site
SharePointhosted
Cloudhosted
Workflows are deployed to the App Web
Deploy workflows to host web
Deploy workflows
• Deploy workflow to app web
• On App Installed Event
• Use CSOM to publish your workflow from app web to host web
From app web to host web
• Read workflow definition from app web WorkflowDeploymentService.GetDefinition(id)
• Publish workflow definition to host web WorkflowDeploymentService.PublishDefinition(def)
• Create task + workflow history list
• Publish subscription WorkflowSubscriptionService.PublishSubscription(s)
THANK YOU
Peter Plesserspeter.plessers@spikes.bewww.spikestogether.com
Questions?
Recommended