SlideShare une entreprise Scribd logo
1  sur  39
Windows Workflow Foundation Ch. Vishwa Mohan Freelance Software Consultant & Corporate Trainer
Table of Contents ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Introduction to  Workflow  Foundation
WWF Overview ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Workflow Overview ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Host Process Windows Workflow Foundation Runtime Engine A   Workflow An   Activity Runtime Services Base Activity Library Custom Activity Library Visual Designer WWF Architecture ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
What is an Activity  ?   ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Workflow Rules & Conditions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Fault Handling  ,[object Object],[object Object],[object Object]
Building Host to Run Workflows ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating Workflow By Code ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating Workflow By Code ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating Workflow By Markup ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating Workflow By Markup ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Workflow Activities
Introduction to Activities ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Activities Types ,[object Object],[object Object],[object Object],[object Object]
Predefined Activities ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Predefined Activities ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Predefined Activities ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Activity Execution Model ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Activity Execution Context ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Activity Properties ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Activity Companion Classes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Activity Designer Validator CodeGenerator Serializer
Workflows & Workflow Runtime
Workflows ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Workflow Runtime ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Events Raised by WWF Runtime ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Passing Parameters to Workflow ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Returning Result from Workflow ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Characteristics of Workflow ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Characteristics of Workflow ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Serialization in Workflow ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Services in Workflow ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Workflow Performance Monitoring ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],<?xml version=&quot;1.0&quot;?> <configuration> <configSections> <section name=&quot; CustomWorkflowRuntimeSettings &quot; type=“xxx&quot; /> </configSections> < CustomWorkflowRuntimeSettings  Name=&quot;Workflow1&quot;  EnablePerformanceCounters  =&quot;false&quot;> <!-- Define common parameters & declare services  --> </CustomWorkflowRuntimeSettings> </configuration>
Workflow Configuration Files ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Workflow Configuration Files ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Enable Workflow Logging ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Thank You !

Contenu connexe

Tendances

Introduction to Spring Framework
Introduction to Spring FrameworkIntroduction to Spring Framework
Introduction to Spring Framework Serhat Can
 
Laravel introduction
Laravel introductionLaravel introduction
Laravel introductionSimon Funk
 
Introduction to Spring Framework
Introduction to Spring FrameworkIntroduction to Spring Framework
Introduction to Spring FrameworkHùng Nguyễn Huy
 
cloud computing documentation
cloud computing documentationcloud computing documentation
cloud computing documentationshilpa bojji
 
Asp.net and .Net Framework ppt presentation
Asp.net and .Net Framework ppt presentationAsp.net and .Net Framework ppt presentation
Asp.net and .Net Framework ppt presentationabhishek singh
 
ASP.NET Tutorial - Presentation 1
ASP.NET Tutorial - Presentation 1ASP.NET Tutorial - Presentation 1
ASP.NET Tutorial - Presentation 1Kumar S
 
Introduction to Node.js
Introduction to Node.jsIntroduction to Node.js
Introduction to Node.jsVikash Singh
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET Presentationdimuthu22
 
Front end architecture
Front end architectureFront end architecture
Front end architectureRemus Langu
 
Digital Immunity -The Myths and Reality
Digital Immunity -The Myths and RealityDigital Immunity -The Myths and Reality
Digital Immunity -The Myths and Realityamiable_indian
 
Introduction to the Web API
Introduction to the Web APIIntroduction to the Web API
Introduction to the Web APIBrad Genereaux
 
Introduction to cloud computing
Introduction to cloud computingIntroduction to cloud computing
Introduction to cloud computingJithin Parakka
 

Tendances (20)

Introduction to Spring Framework
Introduction to Spring FrameworkIntroduction to Spring Framework
Introduction to Spring Framework
 
Rest web services
Rest web servicesRest web services
Rest web services
 
Laravel introduction
Laravel introductionLaravel introduction
Laravel introduction
 
Introduction to Spring Framework
Introduction to Spring FrameworkIntroduction to Spring Framework
Introduction to Spring Framework
 
Introduction to php
Introduction to phpIntroduction to php
Introduction to php
 
cloud computing documentation
cloud computing documentationcloud computing documentation
cloud computing documentation
 
Asp.net and .Net Framework ppt presentation
Asp.net and .Net Framework ppt presentationAsp.net and .Net Framework ppt presentation
Asp.net and .Net Framework ppt presentation
 
Cloud computing presentation
Cloud computing presentationCloud computing presentation
Cloud computing presentation
 
Asp.net web api
Asp.net web apiAsp.net web api
Asp.net web api
 
ASP.NET Tutorial - Presentation 1
ASP.NET Tutorial - Presentation 1ASP.NET Tutorial - Presentation 1
ASP.NET Tutorial - Presentation 1
 
Spring MVC
Spring MVCSpring MVC
Spring MVC
 
Introduction to Node.js
Introduction to Node.jsIntroduction to Node.js
Introduction to Node.js
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET Presentation
 
Front end architecture
Front end architectureFront end architecture
Front end architecture
 
Digital Immunity -The Myths and Reality
Digital Immunity -The Myths and RealityDigital Immunity -The Myths and Reality
Digital Immunity -The Myths and Reality
 
Cloud computing ppt
Cloud computing pptCloud computing ppt
Cloud computing ppt
 
Introduction to the Web API
Introduction to the Web APIIntroduction to the Web API
Introduction to the Web API
 
C# web api
C# web apiC# web api
C# web api
 
Introduction to cloud computing
Introduction to cloud computingIntroduction to cloud computing
Introduction to cloud computing
 
Restful web services ppt
Restful web services pptRestful web services ppt
Restful web services ppt
 

En vedette

CSharp Presentation
CSharp PresentationCSharp Presentation
CSharp PresentationVishwa Mohan
 
OPC Unified Architecture
OPC Unified ArchitectureOPC Unified Architecture
OPC Unified ArchitectureVishwa Mohan
 
OPC UA Connectivity with InduSoft and the OPC Foundation
OPC UA Connectivity with InduSoft and the OPC FoundationOPC UA Connectivity with InduSoft and the OPC Foundation
OPC UA Connectivity with InduSoft and the OPC FoundationAVEVA
 
Manufacturing IoT - OPC UA Information Revolution
Manufacturing IoT - OPC UA Information RevolutionManufacturing IoT - OPC UA Information Revolution
Manufacturing IoT - OPC UA Information RevolutionBill Lydon
 

En vedette (6)

Mainframe - OPC
Mainframe -  OPCMainframe -  OPC
Mainframe - OPC
 
CSharp Presentation
CSharp PresentationCSharp Presentation
CSharp Presentation
 
OPC PPT
OPC PPTOPC PPT
OPC PPT
 
OPC Unified Architecture
OPC Unified ArchitectureOPC Unified Architecture
OPC Unified Architecture
 
OPC UA Connectivity with InduSoft and the OPC Foundation
OPC UA Connectivity with InduSoft and the OPC FoundationOPC UA Connectivity with InduSoft and the OPC Foundation
OPC UA Connectivity with InduSoft and the OPC Foundation
 
Manufacturing IoT - OPC UA Information Revolution
Manufacturing IoT - OPC UA Information RevolutionManufacturing IoT - OPC UA Information Revolution
Manufacturing IoT - OPC UA Information Revolution
 

Similaire à Wwf

Workflow Foundation (Wf) Presentation
Workflow Foundation (Wf) PresentationWorkflow Foundation (Wf) Presentation
Workflow Foundation (Wf) Presentationuppershores
 
WF 4.0 Overview
WF 4.0 OverviewWF 4.0 Overview
WF 4.0 Overviewdannicola
 
Loadrunner interview questions and answers
Loadrunner interview questions and answersLoadrunner interview questions and answers
Loadrunner interview questions and answersGaruda Trainings
 
Evolution of netflix conductor
Evolution of netflix conductorEvolution of netflix conductor
Evolution of netflix conductorvedu12
 
Understanding Framework Architecture using Eclipse
Understanding Framework Architecture using EclipseUnderstanding Framework Architecture using Eclipse
Understanding Framework Architecture using Eclipseanshunjain
 
Effective JavaFX architecture with FxObjects
Effective JavaFX architecture with FxObjectsEffective JavaFX architecture with FxObjects
Effective JavaFX architecture with FxObjectsSrikanth Shenoy
 
Advanced Load Runner
Advanced Load RunnerAdvanced Load Runner
Advanced Load Runnertelab
 
Drools & jBPM Info Sheet
Drools & jBPM Info SheetDrools & jBPM Info Sheet
Drools & jBPM Info SheetMark Proctor
 
Web services in java
Web services in javaWeb services in java
Web services in javamaabujji
 
Maxim Salnikov - Service Worker: taking the best from the past experience for...
Maxim Salnikov - Service Worker: taking the best from the past experience for...Maxim Salnikov - Service Worker: taking the best from the past experience for...
Maxim Salnikov - Service Worker: taking the best from the past experience for...Codemotion
 
C# Advanced L10-Workflow Foundation
C# Advanced L10-Workflow FoundationC# Advanced L10-Workflow Foundation
C# Advanced L10-Workflow FoundationMohammad Shaker
 
25+ Reasons to use OmniFaces in JSF applications
25+ Reasons to use OmniFaces in JSF applications25+ Reasons to use OmniFaces in JSF applications
25+ Reasons to use OmniFaces in JSF applicationsAnghel Leonard
 

Similaire à Wwf (20)

Windows Workflow Foundation
Windows Workflow FoundationWindows Workflow Foundation
Windows Workflow Foundation
 
Workflow Foundation (Wf) Presentation
Workflow Foundation (Wf) PresentationWorkflow Foundation (Wf) Presentation
Workflow Foundation (Wf) Presentation
 
WF 4.0 Overview
WF 4.0 OverviewWF 4.0 Overview
WF 4.0 Overview
 
Java workflow engines
Java workflow enginesJava workflow engines
Java workflow engines
 
Loadrunner interview questions and answers
Loadrunner interview questions and answersLoadrunner interview questions and answers
Loadrunner interview questions and answers
 
react-en.pdf
react-en.pdfreact-en.pdf
react-en.pdf
 
Evolution of netflix conductor
Evolution of netflix conductorEvolution of netflix conductor
Evolution of netflix conductor
 
Understanding Framework Architecture using Eclipse
Understanding Framework Architecture using EclipseUnderstanding Framework Architecture using Eclipse
Understanding Framework Architecture using Eclipse
 
[2015/2016] JavaScript
[2015/2016] JavaScript[2015/2016] JavaScript
[2015/2016] JavaScript
 
Effective JavaFX architecture with FxObjects
Effective JavaFX architecture with FxObjectsEffective JavaFX architecture with FxObjects
Effective JavaFX architecture with FxObjects
 
About work flow
About work flowAbout work flow
About work flow
 
Advanced Load Runner
Advanced Load RunnerAdvanced Load Runner
Advanced Load Runner
 
Drools & jBPM Info Sheet
Drools & jBPM Info SheetDrools & jBPM Info Sheet
Drools & jBPM Info Sheet
 
Web services in java
Web services in javaWeb services in java
Web services in java
 
Struts 1
Struts 1Struts 1
Struts 1
 
Maxim Salnikov - Service Worker: taking the best from the past experience for...
Maxim Salnikov - Service Worker: taking the best from the past experience for...Maxim Salnikov - Service Worker: taking the best from the past experience for...
Maxim Salnikov - Service Worker: taking the best from the past experience for...
 
C# Advanced L10-Workflow Foundation
C# Advanced L10-Workflow FoundationC# Advanced L10-Workflow Foundation
C# Advanced L10-Workflow Foundation
 
Asp.Net MVC Intro
Asp.Net MVC IntroAsp.Net MVC Intro
Asp.Net MVC Intro
 
25+ Reasons to use OmniFaces in JSF applications
25+ Reasons to use OmniFaces in JSF applications25+ Reasons to use OmniFaces in JSF applications
25+ Reasons to use OmniFaces in JSF applications
 
JavaScript
JavaScriptJavaScript
JavaScript
 

Plus de Vishwa Mohan (12)

jQuery
jQueryjQuery
jQuery
 
WPF
WPFWPF
WPF
 
Da package usersguide
Da package usersguideDa package usersguide
Da package usersguide
 
Dareadme
DareadmeDareadme
Dareadme
 
Linq
LinqLinq
Linq
 
Uml
UmlUml
Uml
 
Xml
XmlXml
Xml
 
Real Time Systems &amp; RTOS
Real Time Systems &amp; RTOSReal Time Systems &amp; RTOS
Real Time Systems &amp; RTOS
 
Embedded Linux
Embedded LinuxEmbedded Linux
Embedded Linux
 
Introduction To Embedded Systems
Introduction To Embedded SystemsIntroduction To Embedded Systems
Introduction To Embedded Systems
 
Microsoft.Net
Microsoft.NetMicrosoft.Net
Microsoft.Net
 
Zig Bee
Zig BeeZig Bee
Zig Bee
 

Dernier

How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17Celine George
 
DBMSArchitecture_QueryProcessingandOptimization.pdf
DBMSArchitecture_QueryProcessingandOptimization.pdfDBMSArchitecture_QueryProcessingandOptimization.pdf
DBMSArchitecture_QueryProcessingandOptimization.pdfChristalin Nelson
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
Objectives n learning outcoms - MD 20240404.pptx
Objectives n learning outcoms - MD 20240404.pptxObjectives n learning outcoms - MD 20240404.pptx
Objectives n learning outcoms - MD 20240404.pptxMadhavi Dharankar
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesVijayaLaxmi84
 
The role of Geography in climate education: science and active citizenship
The role of Geography in climate education: science and active citizenshipThe role of Geography in climate education: science and active citizenship
The role of Geography in climate education: science and active citizenshipKarl Donert
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...Nguyen Thanh Tu Collection
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6Vanessa Camilleri
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxDhatriParmar
 
Satirical Depths - A Study of Gabriel Okara's Poem - 'You Laughed and Laughed...
Satirical Depths - A Study of Gabriel Okara's Poem - 'You Laughed and Laughed...Satirical Depths - A Study of Gabriel Okara's Poem - 'You Laughed and Laughed...
Satirical Depths - A Study of Gabriel Okara's Poem - 'You Laughed and Laughed...HetalPathak10
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...Nguyen Thanh Tu Collection
 
How to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command LineHow to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command LineCeline George
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 

Dernier (20)

CARNAVAL COM MAGIA E EUFORIA _
CARNAVAL COM MAGIA E EUFORIA            _CARNAVAL COM MAGIA E EUFORIA            _
CARNAVAL COM MAGIA E EUFORIA _
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17
 
DBMSArchitecture_QueryProcessingandOptimization.pdf
DBMSArchitecture_QueryProcessingandOptimization.pdfDBMSArchitecture_QueryProcessingandOptimization.pdf
DBMSArchitecture_QueryProcessingandOptimization.pdf
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
Chi-Square Test Non Parametric Test Categorical Variable
Chi-Square Test Non Parametric Test Categorical VariableChi-Square Test Non Parametric Test Categorical Variable
Chi-Square Test Non Parametric Test Categorical Variable
 
Objectives n learning outcoms - MD 20240404.pptx
Objectives n learning outcoms - MD 20240404.pptxObjectives n learning outcoms - MD 20240404.pptx
Objectives n learning outcoms - MD 20240404.pptx
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their uses
 
The role of Geography in climate education: science and active citizenship
The role of Geography in climate education: science and active citizenshipThe role of Geography in climate education: science and active citizenship
The role of Geography in climate education: science and active citizenship
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
 
Satirical Depths - A Study of Gabriel Okara's Poem - 'You Laughed and Laughed...
Satirical Depths - A Study of Gabriel Okara's Poem - 'You Laughed and Laughed...Satirical Depths - A Study of Gabriel Okara's Poem - 'You Laughed and Laughed...
Satirical Depths - A Study of Gabriel Okara's Poem - 'You Laughed and Laughed...
 
Spearman's correlation,Formula,Advantages,
Spearman's correlation,Formula,Advantages,Spearman's correlation,Formula,Advantages,
Spearman's correlation,Formula,Advantages,
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
 
How to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command LineHow to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command Line
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 

Wwf

Notes de l'éditeur

  1. Th
  2. Windows Workflow Foundation is a framework, not a language. It is cable to correctly handle persistence and compensation.
  3. This slide was taken directly from the PDC slide decks from Microsoft. The key take-aways I want you to leave with today are the following: Workflows are a set of activities. Workflows run within a Host Process, which can be any application or server that you code. You can use the base activities and bases classes within the workflow framework to build your own activities that are specific to your business or domain. The components of the Windows Workflow Foundation are : The Base Activity Library - These are the out-of-the box activities and base classes to use when building your workflows and custom activities. The Runtime Engine – This is the workflow execution engine and state manager for workflows. The runtime is what is hosted within the Host Process and it controls all the workflows instantiated within that host process. The Runtime Services – The runtime is extensible by using runtime services. The services can be registered with the runtime to provide hosting flexibility and communication. For example, out of the box you can find the persistence service and tracking service which allows you to persist your workflow state to a SQL data store and track you workflow process. You can create your own services to provide more communication options between the host process and the workflows, or you can even replace a provided service if you want. For example, you could provide your own persistence service that persists the workflows to a file based store rather than a SQL Server based store. Finally, the Visual Designer – This is the developer experience for WF. This designer is integrated with Visual Studio 2005 and allows for developers to easily map out and navigate workflows. The designer can also be hosted within your own application so that you can expose it to end users so that they can modify workflows on the fly.
  4. Activities are added to a workflow programmatically in a manner similar to adding XML DOM child nodes to a root node.
  5. A key advantage of defining your logic with rules and declarative conditions is that they can be modified at run time by doing dynamic updates using workflow changes. In addition, rules let you separate your business logic from a workflow in order to share those rules with other workflows. Finally, defining business logic in rules allows for advanced tools, such as dependency visualization and impact analysis tools, to be built on top of the object model.
  6. Host process can be a console, Win Forms, ASP.NET or Web service etc.,
  7. Workflow markup is based on XAML . It enables the developers and designers to model business logic declaratively. With this declarative model, it can also possible to activate workflow by directly loading a workflow markup file into the workflow runtime engine at runtime.
  8. If you use custom activities in your workflow markup code, the assembly containing your custom activity must be referenced through a type provider in your code. TypeProvider typeProvider = new TypeProvider(null); typeProvider. AddAssembly (typeof(CustomActivity).Assembly); workflowRuntime.AddService(typeProvider); In addition to code you can reference these custom assemblies from markup also: &lt; SequentialWorkflowActivity x:Class =&amp;quot;XAMLWorkflow.Workflow1&amp;quot; x:Name =&amp;quot;Workflow1&amp;quot; xmlns:ns0 =&amp;quot;clr-namespace:BusinessActivities; Assembly =CustomActivityAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null&amp;quot; &amp;quot;&gt; &lt;ns0: CustomActivity x:Name=&amp;quot;CustomActivity1&amp;quot;/&gt; &lt;/SequentialWorkflowActivity&gt; To start workflow: WorkflowInstance instance = workflowRuntime.CreateWorkflow(workflowDefinitionReader); instance.Start();
  9. Activities are the fundamental building blocks of workflows. A workflow is a set of activities that are organized hierarchically in a tree structure. An activity represents an action in a workflow. It can be a simple action such as a delay, or it can be a composite activity that consists of several child activities. Once the activity Execute method returned the Closed value of ActivityExecutionStatus. Then runtime claims this activity for disposing. If you return Closed value of this enumerator then that activity will be claimed for disposing. If returns Executing indicates to runtime that activity have extra work to do.
  10. In Sequential activity the order of its actions is specified its design time. In Event-driven activity the order of its actions is determined at runtime in response to external events.
  11. To call a method in the host application from the workflow you can use the CallExternalMethodActivity activity. Used with the HandleExternalEventActivity activity for input and output communications with a local service CancellationHandlerActivity: Used to contain cleanup logic for a composite activity that is canceled before all the composite activity&apos;s child activities are finished executing. CodeActivity : Enables you to add Visual Basic or C# code to your workflow. CompensatableSequenceActivity : Compensatable version of SequenceActivity. CompensatableTransactionScopeActivity : Compensatable version of TransactionScopeActivity. CompensateActivity: Enables you to call code to undo or to compensate for operations already performed by the workflow when an error occurs . CompensationHandlerActivity: Wrapper for one or more activities that perform compensation for a completed TransactionScopeActivity activity. ConditionedActivityGroup : Executes child activities based on a condition that applies to the ConditionedActivityGroup activity itself and based on conditions that apply separately to each child. DelayActivity : Enables you to build delays in your workflow based on a time-out interval. Its job is to wait for a predefined time before continuing the execution of workflow.
  12. EventDrivenActivity : Wraps one or more activities that are executed when a specified event occurs. EventHandlersActivity: Provides a framework for associating events with an activity. EventHandlingScopeActivity : Executes its main child activity concurrently with an EventHandlersActivity activity. FaultHandlerActivity: Used to handle an exception of a type that you specify FaultHandlersActivity : Represents a composite activity that has an ordered list of child activities of type FaultHandlerActivity. HandleExternalEventActivity: Used together with the CallExternalMethodActivity activity for input and output communications with a local service. IfElseActivity : Tests a condition on each branch and performs activities on the first branch for which the condition equals true . It is similar to if-else statements in C#. IfElseBranchActivity : Represents a branch of an IfElseActivity activity InvokeWebServiceActivity: Enables your workflow to invoke a Web service. InvokeWorkflowActivity : Enables your workflow to invoke another workflow. ListenActivity: It is a composite activity that contains only EventDrivenActivity child activities. ParallelActivity : Lets you schedule two or more child SequenceActivity activity branches for processing at the same time. PolicyActivity : Used to represent a collection of rules. A rule consists of conditions and resulting actions ReplicatorActivity : Creates multiple instances of a single child activity.
  13. SequenceActivity : Provides a simple way to link multiple activities together for sequential execution. SetStateActivity : Specifies transition to new state. StateActivity: Represents a state in a state machine workflow. StateFinalizationActivity : Used in a StateActivity activity as a container for child activities executed when leaving the StateActivity activity. StateInitializationActivity: Used in a StateActivity activity as a container for child activities executed when entering the StateActivity activity. SuspendActivity : Suspends the operation of your workflow to enable intervention in the event of some error condition that requires special attention. SynchronizationScopeActivity : Executes contained activities sequentially in a synchronized domain. TerminateActivity : Enables you to immediately end the operation of your workflow in the event of an error condition. ThrowActivity : Enables you to capture business exceptions thrown as part of the process metadata for a workflow. TransactionScopeActivity: Provides a framework for transactions and exception handling WebServiceFaultActivity: Lets you model the occurrence of a Web service fault. WebServiceInputActivity: Receives data from a Web service WebServiceOutputActivity: Responds to a Web service request made to a workflow WhileActivity: Enables your workflow to loop until a condition is met,
  14. AEC stands for ActivityExecutionContext . AES stadns for ActivityExecutionStatus. Most of the activities do nothing in the Initialized state. If you want you can make any initialization setup for your activity. The solid red line represents the workflow runtime engine is responsible for transitioning an activity from the Initialized state to the Executing state, or transitioning from the Closed state to the Compensating state. The solid yellow line represents the parent activity is responsible for transitioning a child activity from the Executing state to the Closed state. If you create a custom composite activity, you must handle this yourself. The solid blue line represents the workflow runtime engine is responsible for transitioning an activity from the Executing , Canceling , or Compensating state to the Faulting state. The dashed yellow line represents the workflow runtime engine is responsible for transitioning an activity from either the Canceling state, Compensating state, or Faulting state to the Closed state. An activity can’t move from closed state to executing state . Any attempt by calling Execute() method from closed state will cause an exception. An activity may only close when all children activities are either in their Closed or Initialized states. Because this is a recursive rule, it means that the entire tree below an activity, which is attempting to close, must be Closed or Initialized for the call to succeed.
  15. An activity execution context is similar to an HTTP context in that an object has a state, a set of parameters, and constructs that are unique to that given object for that given point in time. The Execute, Cancel and Close state are the only execution status changes that a parent activity can control through the AEC. All other activity states are controlled by the workflow runtime engine. An activity can only close when all spawned execution contexts (CreateExecutionContext) have been completed (CompleteExecutionContext). Violation of this behavior causes an exception to be thrown by the workflow runtime engine.
  16. Metadata is related to activities in the same way that attributes are related to .NET Framework classes. Metadata is only configurable at design time and, once an activity is built, cannot be changed System.Workflow.ComponentModel.Activity.Name is a metadata because the name of an activity in a workflow&apos;s tree is part of the definition of the workflow. Instance data, on the other hand, maps to properties and fields on classes. In certain cases, you need an activity to register a property that can be used by other activities in a workflow. This kind of property is called an attached property , Attached Property is a specialized form of dependency property. You register an attached property using the RegisterAttached() method of the DependencyProperty class.
  17. Custom activities can also be extended to have their own look and feel within the designer and contain their own validation code of for the smart tags (Like the code shape warned us we needed to set the execute code handler). These are done with companion classes. You create a companion class and use an attribute on the activity class to link the two.
  18. WWF is flexible and extensible. The sequential workflow style is straightforward and useful for repetitive, predictable operations that are always the same. The state machine workflow style consists of a set of event-driven states. The data-driven workflow style relies on data to determine whether or not certain activities are run based on a local data state. When you start the runtime, it can then reload any workflow instances that were executing the last time the application was executed by reading these instances from the persistence store . To support this persistence store it need to support persistence service also.
  19. In host application, you must create an instance of this class and pass the type specification of your workflow by using the CreateWorkflow() method.
  20. Simply like .NET or C, C++ methods parameter passing is not allowed for workflows. Let us assume your workflow have properties such as Salary . Then in dictionary of name-value pairs the name should be Salary and value should be corresponding val. If the a parameter match is found then the property setter is called and the value of the parameter is passed to this setter.
  21. The durability means workflows can be unloaded from memory while awaiting input and serialized into a persistent store, such as a SQL database or XML file. Whenever the input is received, the workflow runtime engine loads the workflow state information back into memory and continues execution of the workflow. With a custom activity serializer, you can decide which members are serialized and how they are serialized . This determines if those members are visible or hidden in a workflow designer.
  22. WorkflowMarkupSerializer: This is the base serialization type used in the serialization infrastructure. This type provides some of the basic services for serialization that implement the serialization rules. The serializers for activities or any other custom serializers for custom activities must inherit from this class. ActivityMarkupSerializer : Inherits from the WorkflowMarkupSerializer class. This type is used to serialize all basic activities. These are activities that are not composite activities. CompositeActivityMarkupSerializer: Inherits from the ActivityMarkupSerializer class and provides the serialization for composite activities. CompositeActivityMarkupSerializer adds more methods to process child activities, which can be serialized using their own serialization providers. If you create a custom serializer, activity authors must provide a reference to the custom serializer as illustrated in the following code example. [ DesignerSerialize r(typeof(ExampleActivityMarkupSerializer), typeof(WorkflowMarkupSerializer))] public class ExampleActivity : Activity { } The first parameter specifies the serializer that should be used to serialize the instance of the class on which the attribute has been defined. The second parameter specifies the base type of the serializer. The base type of the serializer specifies the serialization scheme to use.
  23. Persistence service , which stores the execution details of a workflow instance in a SQL database An example of creating custom service is : creating a persistence service that uses an XML file instead of a database for storage. Windows Workflow Foundation provides the SqlWorkflowPersistenceService that integrates well with Microsoft SQL Server 2005 Express, SQL Server 2000 or later, or SQL Server 2000 Desktop Engine (MSDE) to persist workflow information easily and efficiently.
  24. By using this performance monitor tool , you can configure performance counters to record performance data and set system alerts to notify you when a specified counter&apos;s value is above or below defined threshold. &lt;?xml version=&amp;quot;1.0&amp;quot;?&gt; &lt;configuration&gt; &lt;configSections&gt; &lt;section name=&amp;quot; CustomWorkflowRuntimeSettings &amp;quot; type=“xxx&amp;quot; /&gt; &lt;/configSections&gt; &lt; CustomWorkflowRuntimeSettings Name=&amp;quot;Workflow1&amp;quot; EnablePerformanceCounters =&amp;quot;false&amp;quot;&gt; &lt;!-- Define common parameters and declare services required for your workflow runtime --&gt; &lt;/CustomWorkflowRuntimeSettings&gt; &lt;/configuration&gt;
  25. The configuration file can be app.config or web.config according to host application.
  26. Config section full description is shown below &lt; MyWFRuntimeConfig Name=&amp;quot;SampleApplication&amp;quot;&gt; &lt;CommonParameters&gt; &lt;add name=&amp;quot;ConnectionString&amp;quot; value=&amp;quot;Initial Catalog=WorkflowStore;Data Source=localhost;Integrated Security=SSPI;&amp;quot; /&gt; &lt;/CommonParameters&gt; &lt;Services&gt; &lt;add type=&amp;quot;System.Workflow.Runtime.Hosting.DefaultWorkflowSchedulerService, System.Workflow.Runtime, Version=3.0.00000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; maxQueuedWorkItems=&amp;quot;20&amp;quot;/&gt; &lt;add type=&amp;quot;System.Workflow.Runtime.Hosting.SharedConnectionWorkflowTransactionService, System.Workflow.Runtime, Version=3.0.00000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; /&gt; &lt;add type=&amp;quot;System.Workflow.Runtime.Hosting.SqlWorkflowPersistenceService, System.Workflow.Runtime, Version=3.0.00000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; UnloadOnIdle=&amp;quot;false&amp;quot;/&gt; &lt;/Services&gt; &lt;/WorkflowRuntime&gt;
  27. All Logs all messages received Off Does not log any messages Critical Logs only messages deemed as critical Error Logs critical and error messages Warning Logs critical, error and warning messages Information Logs critical, error, warning and information messages VerboseLogs Critical, error, warning, information and verbose messages