Workflows in SharePoint 2013: Architecture #spsbe

  • 484 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
484
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
17
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    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

Transcript

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