Workflows inSharePoint 2013:Architecture#spsbePeter Plessers
Thanks to ourSponsorsPlatinumGoldSilver
About me• Peter Plessers• Product ManagerSharePoint Architect• Spikes
We loveworkflows
What haschanged?
Agenda• Workflow Architecture• Workflow Features• Workflow Development• Workflows & Apps
WorkflowArchitecture
ArchitectureSP2010SharePoint 2010ToolsVisual Studio 2010 SP DesignerSharePoint 2010 Workflow
DeclarativeArchitectureSP2010.rules.xoml.WF3.5Code.dll.WF3.5
ArchitectureSP2013 SharePoint 2013ToolsWorkflowManagerVisual Studio 2012 SP DesignerSolutions ContentsApps EventsSharePoin...
ArchitectureSP2013
DeclarativeArchitectureSP2013.xaml.WF4.5
ArchitectureSP2013Benefits• Move load from SharePoint toworkflow farm• Fully declarative workflows• Scalability• Reliability
Demo
WorkflowManagerInstallation
WorkflowManagerInstallationRegister-SPWorkflowService –SPSite“http://portal.dev.com/” –WorkflowHostUri“http://localhost:12...
WorkflowFeatures
New Features
NewWorkflowActivitiesBuilding Blocks• Stage• Loop• App Step• Parallel Block
NewWorkflowActivitiesWorkflow Activities• Call Web Service (HttpSend)• Go to stage
NewWorkflowActivitiesDynamic Value• Nested sets of key-value pairs• Used in combination with„HttpSend‟ activity• Activitie...
SharePointDesignerSharePoint Designer• Visual Designer (Visio Add-in)• Copy paste of configurations• Package list / site w...
Demo
RemovedWorkflowFeaturesNo InfoPath forms• Auto-generated ASPX forms• Task Forms• Initiation Forms• Association Forms
RemovedWorkflowFeaturesMissing Workflow Activities• Document Set Activities• Permission Activities• Declare Record• Lookup...
RemovedWorkflowFeaturesNo Visio Visualization of WFStatus• Only available for SP2010workflows
Development
Development• Custom WF activity• Custom Task Form
Custom WFActivityCustom WF activity• Lookup Assistant activity
DemoCustom WF Activity
Custom WFActivityProblems you might encounter• SharePoint ignores new versionof WF activityRestart VS + check DB• SharePoi...
DemoCustom Task Form
Workflows & Apps
App Web(from WSP)HostwebClient side technologies anddeclarative workflowsYour HostedSiteAzureSharePointWebSharePointWeb
Workflows &AppsSharePointWebAppWebSharePointWebAppWebAzureYourHostedSiteSharePointhostedCloudhostedWorkflows are deployed ...
Deployworkflows tohost webDeploy workflows• Deploy workflow to app web• On App Installed Event• Use CSOM to publish yourwo...
From appweb to hostweb• Read workflow definition from app webWorkflowDeploymentService.GetDefinition(id)• Publish workflow...
THANK YOUPeter Plesserspeter.plessers@spikes.bewww.spikestogether.comQuestions?
Upcoming SlideShare
Loading in...5
×

Workflows in SharePoint 2013: Architecture #spsbe

606

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
606
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
21
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Template may not be modified Twitter hashtag: #spsbe for all sessions
  • Please use a picture of yourself in a mountain/cloudscene
  • Workflows in SharePoint 2013: Architecture #spsbe

    1. 1. Workflows inSharePoint 2013:Architecture#spsbePeter Plessers
    2. 2. Thanks to ourSponsorsPlatinumGoldSilver
    3. 3. About me• Peter Plessers• Product ManagerSharePoint Architect• Spikes
    4. 4. We loveworkflows
    5. 5. What haschanged?
    6. 6. Agenda• Workflow Architecture• Workflow Features• Workflow Development• Workflows & Apps
    7. 7. WorkflowArchitecture
    8. 8. ArchitectureSP2010SharePoint 2010ToolsVisual Studio 2010 SP DesignerSharePoint 2010 Workflow
    9. 9. DeclarativeArchitectureSP2010.rules.xoml.WF3.5Code.dll.WF3.5
    10. 10. ArchitectureSP2013 SharePoint 2013ToolsWorkflowManagerVisual Studio 2012 SP DesignerSolutions ContentsApps EventsSharePoint2010WorkflowWorkflow Services ManagerDeployment SubscriptionInstances InteropWorkflow Service Application proxyWorkflowService Bus
    11. 11. ArchitectureSP2013
    12. 12. DeclarativeArchitectureSP2013.xaml.WF4.5
    13. 13. ArchitectureSP2013Benefits• Move load from SharePoint toworkflow farm• Fully declarative workflows• Scalability• Reliability
    14. 14. Demo
    15. 15. WorkflowManagerInstallation
    16. 16. WorkflowManagerInstallationRegister-SPWorkflowService –SPSite“http://portal.dev.com/” –WorkflowHostUri“http://localhost:12291″ –AllowOAuthHttp
    17. 17. WorkflowFeatures
    18. 18. New Features
    19. 19. NewWorkflowActivitiesBuilding Blocks• Stage• Loop• App Step• Parallel Block
    20. 20. NewWorkflowActivitiesWorkflow Activities• Call Web Service (HttpSend)• Go to stage
    21. 21. NewWorkflowActivitiesDynamic Value• Nested sets of key-value pairs• Used in combination with„HttpSend‟ activity• Activities to manipulateDynamicValues
    22. 22. SharePointDesignerSharePoint Designer• Visual Designer (Visio Add-in)• Copy paste of configurations• Package list / site workflows
    23. 23. Demo
    24. 24. RemovedWorkflowFeaturesNo InfoPath forms• Auto-generated ASPX forms• Task Forms• Initiation Forms• Association Forms
    25. 25. RemovedWorkflowFeaturesMissing Workflow Activities• Document Set Activities• Permission Activities• Declare Record• Lookup manager of user
    26. 26. RemovedWorkflowFeaturesNo Visio Visualization of WFStatus• Only available for SP2010workflows
    27. 27. Development
    28. 28. Development• Custom WF activity• Custom Task Form
    29. 29. Custom WFActivityCustom WF activity• Lookup Assistant activity
    30. 30. DemoCustom WF Activity
    31. 31. Custom WFActivityProblems you might encounter• SharePoint ignores new versionof WF activityRestart VS + check DB• SharePoint designer breaksClear SP Designer cache
    32. 32. DemoCustom Task Form
    33. 33. Workflows & Apps
    34. 34. App Web(from WSP)HostwebClient side technologies anddeclarative workflowsYour HostedSiteAzureSharePointWebSharePointWeb
    35. 35. Workflows &AppsSharePointWebAppWebSharePointWebAppWebAzureYourHostedSiteSharePointhostedCloudhostedWorkflows are deployed to the App Web
    36. 36. Deployworkflows tohost webDeploy workflows• Deploy workflow to app web• On App Installed Event• Use CSOM to publish yourworkflow from app web to hostweb
    37. 37. From appweb to hostweb• Read workflow definition from app webWorkflowDeploymentService.GetDefinition(id)• Publish workflow definition to host webWorkflowDeploymentService.PublishDefinition(def)• Create task + workflow history list• Publish subscriptionWorkflowSubscriptionService.PublishSubscription(s)
    38. 38. THANK YOUPeter Plesserspeter.plessers@spikes.bewww.spikestogether.comQuestions?
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×