SlideShare a Scribd company logo
1 of 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 !

More Related Content

What's hot

Seminar Presentation Hadoop
Seminar Presentation HadoopSeminar Presentation Hadoop
Seminar Presentation HadoopVarun Narang
 
Cloud Security, Standards and Applications
Cloud Security, Standards and ApplicationsCloud Security, Standards and Applications
Cloud Security, Standards and ApplicationsDr. Sunil Kr. Pandey
 
Design of Hadoop Distributed File System
Design of Hadoop Distributed File SystemDesign of Hadoop Distributed File System
Design of Hadoop Distributed File SystemDr. C.V. Suresh Babu
 
Networking in cloud computing
Networking in cloud computingNetworking in cloud computing
Networking in cloud computingBarani Tharan
 
Hadoop Presentation - PPT
Hadoop Presentation - PPTHadoop Presentation - PPT
Hadoop Presentation - PPTAnand Pandey
 
Big data Hadoop presentation
Big data  Hadoop  presentation Big data  Hadoop  presentation
Big data Hadoop presentation Shivanee garg
 
Introduction of Big data, NoSQL & Hadoop
Introduction of Big data, NoSQL & HadoopIntroduction of Big data, NoSQL & Hadoop
Introduction of Big data, NoSQL & HadoopSavvycom Savvycom
 
Cloud Data Warehousing presentation by Rogier Werschkull, including tips, bes...
Cloud Data Warehousing presentation by Rogier Werschkull, including tips, bes...Cloud Data Warehousing presentation by Rogier Werschkull, including tips, bes...
Cloud Data Warehousing presentation by Rogier Werschkull, including tips, bes...Patrick Van Renterghem
 
Deployment Models of Cloud Computing.pptx
Deployment Models of Cloud Computing.pptxDeployment Models of Cloud Computing.pptx
Deployment Models of Cloud Computing.pptxJaya Silwal
 
Apache sqoop with an use case
Apache sqoop with an use caseApache sqoop with an use case
Apache sqoop with an use caseDavin Abraham
 
Introduction to NOSQL databases
Introduction to NOSQL databasesIntroduction to NOSQL databases
Introduction to NOSQL databasesAshwani Kumar
 
Cloud interoperability
Cloud interoperabilityCloud interoperability
Cloud interoperabilitygaurav jain
 

What's hot (20)

Seminar Presentation Hadoop
Seminar Presentation HadoopSeminar Presentation Hadoop
Seminar Presentation Hadoop
 
Unit-3_BDA.ppt
Unit-3_BDA.pptUnit-3_BDA.ppt
Unit-3_BDA.ppt
 
Cloud Security, Standards and Applications
Cloud Security, Standards and ApplicationsCloud Security, Standards and Applications
Cloud Security, Standards and Applications
 
Design of Hadoop Distributed File System
Design of Hadoop Distributed File SystemDesign of Hadoop Distributed File System
Design of Hadoop Distributed File System
 
Networking in cloud computing
Networking in cloud computingNetworking in cloud computing
Networking in cloud computing
 
Hadoop Presentation - PPT
Hadoop Presentation - PPTHadoop Presentation - PPT
Hadoop Presentation - PPT
 
Big data Hadoop presentation
Big data  Hadoop  presentation Big data  Hadoop  presentation
Big data Hadoop presentation
 
Introduction of Big data, NoSQL & Hadoop
Introduction of Big data, NoSQL & HadoopIntroduction of Big data, NoSQL & Hadoop
Introduction of Big data, NoSQL & Hadoop
 
Cloud Data Warehousing presentation by Rogier Werschkull, including tips, bes...
Cloud Data Warehousing presentation by Rogier Werschkull, including tips, bes...Cloud Data Warehousing presentation by Rogier Werschkull, including tips, bes...
Cloud Data Warehousing presentation by Rogier Werschkull, including tips, bes...
 
Deployment Models of Cloud Computing.pptx
Deployment Models of Cloud Computing.pptxDeployment Models of Cloud Computing.pptx
Deployment Models of Cloud Computing.pptx
 
Unit 4-apache pig
Unit 4-apache pigUnit 4-apache pig
Unit 4-apache pig
 
cloud storage
cloud storagecloud storage
cloud storage
 
Apache sqoop with an use case
Apache sqoop with an use caseApache sqoop with an use case
Apache sqoop with an use case
 
Nosql databases
Nosql databasesNosql databases
Nosql databases
 
Introduction to NOSQL databases
Introduction to NOSQL databasesIntroduction to NOSQL databases
Introduction to NOSQL databases
 
SQL & NoSQL
SQL & NoSQLSQL & NoSQL
SQL & NoSQL
 
Apache Hadoop 3
Apache Hadoop 3Apache Hadoop 3
Apache Hadoop 3
 
Apache HBase™
Apache HBase™Apache HBase™
Apache HBase™
 
Web Services
Web ServicesWeb Services
Web Services
 
Cloud interoperability
Cloud interoperabilityCloud interoperability
Cloud interoperability
 

Viewers also liked

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
 

Viewers also liked (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
 

Similar to 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
 

Similar to 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
 

More from Vishwa Mohan (13)

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
 
WCF
WCFWCF
WCF
 

Recently uploaded

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesShubhangi Sonawane
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIShubhangi Sonawane
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 

Recently uploaded (20)

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 

Wwf

Editor's Notes

  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