1 / 43

Workflows in SharePoint 2013

Peter Plessers. Workflows in SharePoint 2013. About me. Peter Plessers SharePoint Architect Spikes peter.plessers@spikes.be @ SpikesNV. www.spikestogether.com. We love workflows. What has changed?. Agenda. Workflow Architecture Workflow Features Workflow Development

matteo
Télécharger la présentation

Workflows in SharePoint 2013

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Peter Plessers Workflows in SharePoint 2013

  2. About me • Peter Plessers • SharePoint Architect • Spikes • peter.plessers@spikes.be • @SpikesNV www.spikestogether.com

  3. We love workflows

  4. What has changed?

  5. Agenda • Workflow Architecture • Workflow Features • Workflow Development • Workflows & Apps

  6. Workflow Architecture

  7. Architecture SP2010 Tools Visual Studio 2010 SP Designer SharePoint 2010 SharePoint 2010 Workflow

  8. Architecture SP2010 Declarative Code

  9. Architecture SP2013 Tools Visual Studio 2012 SP Designer SharePoint 2013 Workflow Manager Solutions Contents SharePoint 2010 Workflow ACS Apps Events Workflow Services Manager Deployment Subscription Workflow Instances Interop Service Bus Workflow Service Application proxy

  10. Architecture SP2013

  11. Architecture SP2013 Declarative

  12. Architecture SP2013 Benefits • Move load from SharePoint to workflow farm • Fully declarative workflows • Scalability • Reliability • SharePoint Online (SP Designer + VS)

  13. Workflow Manager Installation

  14. Register Workflow Service Register-SPWorkflowService –SPSite “http://portal.dev.com/” –WorkflowHostUri “http://localhost:12291″ –AllowOAuthHttp

  15. Workflow Features

  16. New Features

  17. New Workflow Activities Building Blocks • Stage • Loop • App Step • Parallel Block

  18. New Workflow Activities Workflow Activities • Call Web Service (HttpSend) • Go to stage

  19. New Workflow Activities Dynamic Value • Nested sets of key-value pairs • Used in combination with ‘HttpSend’ activity • Activities to manipulate DynamicValues

  20. SharePoint Designer 2013 SharePoint Designer • Visual Designer (Visio Add-in) • Copy paste of configurations • Package list / site workflows

  21. Removed Workflow Features No InfoPath forms • Auto-generated ASPX forms • Task Forms • Initiation Forms • Association Forms

  22. Removed Workflow Features Missing Workflow Activities • DocumentSet Activities • Permission Activities • Declare Record • Lookup manager of user

  23. Removed Workflow Features No Visio Visualization of WF Status • Only available for SP2010 workflows

  24. Removed Workflow Features Workflow Associations • No longer possible to associate workflows with content types Built-in workflows • No 2013 workflow version of approval workflow, review workflow, …

  25. Development

  26. Custom Development • Custom WF activity • Custom Task Form

  27. Custom WF Activity Custom WF activity • Lookup Assistant activity

  28. Custom WF Activity Problems you might encounter • SharePoint ignores new version of WF activityRestart VS + check DB • SharePoint designer breaksClear SP Designer cache

  29. Custom Task Form Custom task form • Custom application page

  30. Workflow & Apps

  31. SharePoint Apps SharePoint Web Provider-hosted App “Bring your own server hosting infrastructure” Your Hosted Site Cloud-hosted apps Get remote events from SharePoint Use CSOM/REST + OAuth Auto-hosted App Windows Azure + SQL Azure provisioned automatically as apps are installed SharePoint Web Azure Host web • SharePoint-hosted App • Reuse (lists, out-of-box web parts) • Client side technologies and declarative workflows App Web (from WSP)

  32. SharePoint Apps Azure SharePoint Web SharePoint Web SharePoint hosted Cloud hosted App Web App Web Your Hosted Site Workflows are deployed to the App Web

  33. How to deploy WFs 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

  34. 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)

  35. Questions?

  36. Contact Info • Peter Plessers • peter.plessers@spikes.be • @SpikesNV www.spikestogether.com

More Related