1 / 26

SharePoint Workflow

SharePoint Workflow. Outline. What’s New in SharePoint 2010 Workflow Designing Workflows with SPD Developing Workflows with VS 2010. Process Automation in SharePoint. Event. Workflow. Messaging. Collaboration. SharePoint 2010. LOB Apps. Windows Workflow Foundation.

magdalen
Download Presentation

SharePoint Workflow

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. SharePoint Workflow

  2. Outline • What’s New in SharePoint 2010 Workflow • Designing Workflows with SPD • Developing Workflows with VS 2010

  3. Process Automation in SharePoint Event Workflow Messaging Collaboration SharePoint 2010 LOB Apps

  4. Windows Workflow Foundation • Workflow engine shipped as part of the .NET 3.0 Framework • Model workflows as state machines or sequential steps • Long-running and stateful

  5. "What's New" for SharePoint 2010 • For the end-user • New targets to run a workflow • Visio visualization • For the power-user • Improved nested logic • New Task Process designer • Customizable OOB workflows • For the developer • Visual Studio 2010 SharePoint tools • Workflow Events • Pluggable External Data Exchange Services

  6. SharePoint 2010 Workflow Targets Site List Item

  7. Creating Workflows in Visio • Visio has SharePoint Workflow template • Allows you to create workflow design in Visio • Workflow can be exported to SharePoint Designer

  8. Creating Workflows demo

  9. Outline • What’s New in SharePoint 2010 Workflow • Designing Workflows with SPD • Developing Workflows with VS 2010

  10. SharePoint Designer Improvements • For Design • New declarative workflow designer • Advanced task process designer • InfoPath Forms • Visio workflow designer • For Development • Reusable workflows • Visio visualizations • Export as WSP

  11. SharePoint Designer Workflows • Improved declarative workflow designer

  12. Nested logic in SharePoint Designer

  13. The Task Process Designer

  14. Prototype, Design and Develop • SharePoint 2010 offers new development process • Envision workflows in Visio • Import into SharePoint Designer • Parameterize • Export to Visual Studio 2010 • Add code

  15. SharePoint Designer Workflows demo

  16. Outline • What’s New in SharePoint 2010 Workflow • Designing Workflows with SPD • Developing Workflows with VS 2010

  17. What’s new in Visual Studio 2010 • Site Workflows • ASP.NET Form Templates • New events • External Data Exchange

  18. Developing Site Level Workflows • Site Workflows • List / Item properties are null • No auto-start

  19. Creating ASP.NET Workflow Forms • Generates the required code • Updates the elements.xml file • Available: • Association • Initiation

  20. Workflow Events • Events fired during workflow lifetime • Started, Completed… • Scenarios • Call sub-workflows and wait for completion • Provide more elaborate error handling • Familiar model for developers

  21. SPWorklowEventReceiver • Base class for handling workflow events • Register on site / list / content type public class MyWorkflowEventReceiver : SPWorkflowEventReceiver { public override void WorkflowStarting( SPWorkflowEventProperties properties) { // your code here base.WorkflowStarting(properties); } }

  22. External Data in SharePoint 2007 External Data SharePoint Data Correlated Events

  23. Pluggable EDE Services • Interact with LOB systems by using custom External Data Exchange services • Requires low-level understanding of WF layer • You can write your own events • No partial trust

  24. Flow of Events Workflow Call External Method WorkflowRuntime Raise Event External System EDE Service Or Subscriptions External System WCF Service

  25. Developing Workflows with Visual Studio 2010 demo

  26. Summary • What’s New in SharePoint 2010 Workflow • Designing Workflows with SPD • Developing Workflows with VS 2010

More Related