Share Point 2010 Workflow
-
Upload
nguyen-phuong -
Category
Documents
-
view
110 -
download
1
description
Transcript of Share Point 2010 Workflow
![Page 1: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/1.jpg)
SharePoint Workflow
![Page 2: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/2.jpg)
Outline
What’s New in SharePoint 2010 WorkflowDesigning Workflows with SPDDeveloping Workflows with VS 2010
![Page 3: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/3.jpg)
Process Automation in SharePoint
SharePoint 2010
Event MessagingCollaboratio
n
LOB Apps
Workflow
![Page 4: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/4.jpg)
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
![Page 5: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/5.jpg)
"What's New" for SharePoint 2010
For the end-userNew targets to run a workflowVisio visualization
For the power-userImproved nested logicNew Task Process designerCustomizable OOB workflows
For the developerVisual Studio 2010 SharePoint toolsWorkflow EventsPluggable External Data Exchange Services
![Page 6: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/6.jpg)
SharePoint 2010 Workflow Targets
Site List Item
![Page 7: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/7.jpg)
Creating Workflows in Visio
Visio has SharePoint Workflow template
Allows you to create workflow design in VisioWorkflow can be exported to SharePoint Designer
![Page 8: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/8.jpg)
Creating Workflows
demo
![Page 9: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/9.jpg)
Outline
What’s New in SharePoint 2010 WorkflowDesigning Workflows with SPDDeveloping Workflows with VS 2010
![Page 10: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/10.jpg)
SharePoint Designer Improvements
For DesignNew declarative workflow designerAdvanced task process designerInfoPath FormsVisio workflow designer
For DevelopmentReusable workflowsVisio visualizationsExport as WSP
![Page 11: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/11.jpg)
SharePoint Designer Workflows
Improved declarative workflow designer
![Page 12: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/12.jpg)
Nested logic in SharePoint Designer
![Page 13: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/13.jpg)
The Task Process Designer
![Page 14: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/14.jpg)
Prototype, Design and Develop
SharePoint 2010 offers new development process
Envision workflows in VisioImport into SharePoint Designer
Parameterize
Export to Visual Studio 2010Add code
Visio SPD VS10
![Page 15: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/15.jpg)
SharePoint Designer Workflows
demo
![Page 16: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/16.jpg)
Outline
What’s New in SharePoint 2010 WorkflowDesigning Workflows with SPDDeveloping Workflows with VS 2010
![Page 17: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/17.jpg)
What’s new in Visual Studio 2010
Site WorkflowsASP.NET Form TemplatesNew eventsExternal Data Exchange
![Page 18: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/18.jpg)
Developing Site Level Workflows
Site Workflows List / Item properties are nullNo auto-start
![Page 19: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/19.jpg)
Creating ASP.NET Workflow Forms
Generates the required codeUpdates the elements.xml file
Available:AssociationInitiation
![Page 20: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/20.jpg)
Workflow Events
Events fired during workflow lifetimeStarted, Completed…
ScenariosCall sub-workflows and wait for completionProvide more elaborate error handling
Familiar model for developers
![Page 21: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/21.jpg)
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); }}
![Page 22: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/22.jpg)
External Data in SharePoint 2007
SharePoint Data
External Data
Correlated Events
![Page 23: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/23.jpg)
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
Call External System
Wait For Notification
Workflow Completed
WorkflowStarted
![Page 24: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/24.jpg)
Flow of Events
Workflow
EDE Service
External System
Subscriptions
WorkflowRuntime
Call External Method
Raise Event
WCF Service
External System
Or
![Page 25: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/25.jpg)
Developing Workflows with Visual Studio 2010
demo
![Page 26: Share Point 2010 Workflow](https://reader033.fdocuments.us/reader033/viewer/2022061300/54c8028c4a7959cf728b45c5/html5/thumbnails/26.jpg)
Summary
What’s New in SharePoint 2010 WorkflowDesigning Workflows with SPDDeveloping Workflows with VS 2010