microsoft workflow foundation 4

19
Mohammed AlSolh & Hassan AlNajjar Supervised By: Dr.Khaled ElFakih introducing Microsoft Workflow Foundation 4 & SCP Implementation

Upload: alsolh

Post on 15-May-2015

664 views

Category:

Technology


0 download

DESCRIPTION

Exploring Microsoft workflow foundation 4 capabilities and ability to create dataflow or state machine codeless diagrams

TRANSCRIPT

Page 1: Microsoft Workflow Foundation 4

Mohammed AlSolh & Hassan AlNajjarSupervised By: Dr.Khaled ElFakih

introducing

Microsoft Workflow Foundation 4 & SCP Implementation

Page 2: Microsoft Workflow Foundation 4

Outline

1WF4 Introduction 2Demos

3More

Capabilities

Page 3: Microsoft Workflow Foundation 4

WF4 Introduction

Less coding, more outcome

1

Page 4: Microsoft Workflow Foundation 4

• 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

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

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

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 9: Microsoft Workflow Foundation 4

2 Demos

Stylize, edit, and animate your media

Page 10: Microsoft Workflow Foundation 4

Demo 1: SCP State Machine

Page 11: Microsoft Workflow Foundation 4

Demo 2: SCP Flow Chart

Page 12: Microsoft Workflow Foundation 4

Demo 3: Unit Testing

Page 13: Microsoft Workflow Foundation 4

Demo 4: Visual Tracing

Page 14: Microsoft Workflow Foundation 4

The future of programming:

Code Less, Build More!

Page 15: Microsoft Workflow Foundation 4

3 More Capabilities

Page 16: Microsoft Workflow Foundation 4

» Long Running Workflows» Bookmarking» Persistence» Versioning» Live Runtime Changes

WF4 Capabilities

Page 17: Microsoft Workflow Foundation 4

? Questions?

Page 18: Microsoft Workflow Foundation 4

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

Thank You!