microsoft workflow foundation 4
DESCRIPTION
Exploring Microsoft workflow foundation 4 capabilities and ability to create dataflow or state machine codeless diagramsTRANSCRIPT
![Page 1: Microsoft Workflow Foundation 4](https://reader036.vdocument.in/reader036/viewer/2022081403/5555ffe4d8b42a3f168b4620/html5/thumbnails/1.jpg)
Mohammed AlSolh & Hassan AlNajjarSupervised By: Dr.Khaled ElFakih
introducing
Microsoft Workflow Foundation 4 & SCP Implementation
![Page 2: Microsoft Workflow Foundation 4](https://reader036.vdocument.in/reader036/viewer/2022081403/5555ffe4d8b42a3f168b4620/html5/thumbnails/2.jpg)
Outline
1WF4 Introduction 2Demos
3More
Capabilities
![Page 3: Microsoft Workflow Foundation 4](https://reader036.vdocument.in/reader036/viewer/2022081403/5555ffe4d8b42a3f168b4620/html5/thumbnails/3.jpg)
WF4 Introduction
Less coding, more outcome
1
![Page 4: Microsoft Workflow Foundation 4](https://reader036.vdocument.in/reader036/viewer/2022081403/5555ffe4d8b42a3f168b4620/html5/thumbnails/4.jpg)
• A workflow is a set of activities that are organized into a process that coordinates people and/or software.
• The Activity is the unit of execution, encapsulation and reuse within the workflow framework.
• Out of the box you can create Sequential Workflows, State Machine Workflows, Flow Chart Workflow.
What is a workflow?
![Page 5: Microsoft Workflow Foundation 4](https://reader036.vdocument.in/reader036/viewer/2022081403/5555ffe4d8b42a3f168b4620/html5/thumbnails/5.jpg)
Mic
roso
ft W
orkfl
ow F
ound
ation
4
& S
CP Im
plem
enta
tion
Why Workflows?
Think about the process used when you purchase something online.
WF can be used in a variety of scenarios:
• Document review processes.
• Automated system processes.
• Help desk ticket management systems.
• Business processes tracking, such as HR compliance systems.
• Page or application flow.
![Page 6: Microsoft Workflow Foundation 4](https://reader036.vdocument.in/reader036/viewer/2022081403/5555ffe4d8b42a3f168b4620/html5/thumbnails/6.jpg)
Mic
roso
ft W
orkfl
ow F
ound
ation
4
& S
CP Im
plem
enta
tion
Why Workflows?
Workflows can• Be long running AND
stateful.• Increase your developer
productivity as what they are assembling looks exactly like the process being modeled.
• Provide transparency into a process.
![Page 7: Microsoft Workflow Foundation 4](https://reader036.vdocument.in/reader036/viewer/2022081403/5555ffe4d8b42a3f168b4620/html5/thumbnails/7.jpg)
What is a workflow?
Key Concepts
• Visual Designer: Graphical and code-based construction
• Workflows are a set of Activities• Workflows run within a Host
Process: any application or server• Developers can build their own Custom Activity Libraries
Components• Base Activity Library: Out-of-box
activities and base for custom activities• Runtime Engine: Workflow execution and state management
• Runtime Services: Hosting flexibility and communication
Host Process
WindowsWorkflow Foundation
Runtime Engine
A Workflow
An Activity
Runtime Services
Base Activity Library
Custom Activity Library
Visual Designer
![Page 8: Microsoft Workflow Foundation 4](https://reader036.vdocument.in/reader036/viewer/2022081403/5555ffe4d8b42a3f168b4620/html5/thumbnails/8.jpg)
Mic
roso
ft W
orkfl
ow F
ound
ation
4
& S
CP Im
plem
enta
tion
Pre-requisites
To have the WF4 demo working with state machine functionality:
• Microsoft Visual Studio 2010 SP1 or later
• https://www.dreamspark.com/Student/Default.aspx
• http://www.microsoft.com/en-us/download/details.aspx?id=23691
• .Net framework 4.0.1 (both designer and runtime updates)
• http://www.microsoft.com/en-us/download/details.aspx?id=608
• http://www.microsoft.com/en-us/download/details.aspx?id=11705
• http://www.microsoft.com/en-us/download/details.aspx?id=8483
![Page 9: Microsoft Workflow Foundation 4](https://reader036.vdocument.in/reader036/viewer/2022081403/5555ffe4d8b42a3f168b4620/html5/thumbnails/9.jpg)
2 Demos
Stylize, edit, and animate your media
![Page 10: Microsoft Workflow Foundation 4](https://reader036.vdocument.in/reader036/viewer/2022081403/5555ffe4d8b42a3f168b4620/html5/thumbnails/10.jpg)
Demo 1: SCP State Machine
![Page 11: Microsoft Workflow Foundation 4](https://reader036.vdocument.in/reader036/viewer/2022081403/5555ffe4d8b42a3f168b4620/html5/thumbnails/11.jpg)
Demo 2: SCP Flow Chart
![Page 12: Microsoft Workflow Foundation 4](https://reader036.vdocument.in/reader036/viewer/2022081403/5555ffe4d8b42a3f168b4620/html5/thumbnails/12.jpg)
Demo 3: Unit Testing
![Page 13: Microsoft Workflow Foundation 4](https://reader036.vdocument.in/reader036/viewer/2022081403/5555ffe4d8b42a3f168b4620/html5/thumbnails/13.jpg)
Demo 4: Visual Tracing
![Page 14: Microsoft Workflow Foundation 4](https://reader036.vdocument.in/reader036/viewer/2022081403/5555ffe4d8b42a3f168b4620/html5/thumbnails/14.jpg)
The future of programming:
Code Less, Build More!
![Page 15: Microsoft Workflow Foundation 4](https://reader036.vdocument.in/reader036/viewer/2022081403/5555ffe4d8b42a3f168b4620/html5/thumbnails/15.jpg)
3 More Capabilities
![Page 16: Microsoft Workflow Foundation 4](https://reader036.vdocument.in/reader036/viewer/2022081403/5555ffe4d8b42a3f168b4620/html5/thumbnails/16.jpg)
» Long Running Workflows» Bookmarking» Persistence» Versioning» Live Runtime Changes
WF4 Capabilities
![Page 17: Microsoft Workflow Foundation 4](https://reader036.vdocument.in/reader036/viewer/2022081403/5555ffe4d8b42a3f168b4620/html5/thumbnails/17.jpg)
? Questions?
![Page 18: Microsoft Workflow Foundation 4](https://reader036.vdocument.in/reader036/viewer/2022081403/5555ffe4d8b42a3f168b4620/html5/thumbnails/18.jpg)
Mic
roso
ft W
orkfl
ow F
ound
ation
4
& S
CP Im
plem
enta
tion
References
• http://blogs.interknowlogy.com/downloads/adamcalderon/Introduction_20to_20Windows_20Workflow_20Foundation.ppt
• http://download.microsoft.com/download/E/E/5/EE5B57C1-B448-4847-81A0-8E4E36FD0249/WorkflowFoundation.ppt
• http://www.mvwood.com/downloads/Go+With+the+Flow+presentation.zip
• http://visualstudiogallery.msdn.microsoft.com/7fe6f504-a58d-456e-8f55-e64bddc81a41/
• http://code.msdn.microsoft.com/Windows-Workflow-164557c3• http://
blogs.msdn.com/b/mcsuksoldev/archive/2012/03/26/workflow-foundation-wf4-rehosting-the-workflow-designer.aspx
![Page 19: Microsoft Workflow Foundation 4](https://reader036.vdocument.in/reader036/viewer/2022081403/5555ffe4d8b42a3f168b4620/html5/thumbnails/19.jpg)
Thank You!