microsoft workflow foundation 4
DESCRIPTION
Exploring Microsoft workflow foundation 4 capabilities and ability to create dataflow or state machine codeless diagramsTRANSCRIPT
Mohammed AlSolh & Hassan AlNajjarSupervised By: Dr.Khaled ElFakih
introducing
Microsoft Workflow Foundation 4 & SCP Implementation
Outline
1WF4 Introduction 2Demos
3More
Capabilities
WF4 Introduction
Less coding, more outcome
1
• 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?
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.
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.
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
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
2 Demos
Stylize, edit, and animate your media
Demo 1: SCP State Machine
Demo 2: SCP Flow Chart
Demo 3: Unit Testing
Demo 4: Visual Tracing
The future of programming:
Code Less, Build More!
3 More Capabilities
» Long Running Workflows» Bookmarking» Persistence» Versioning» Live Runtime Changes
WF4 Capabilities
? Questions?
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
Thank You!