SlideShare a Scribd company logo
Introduction To Windows Workflow Foundation 4.0
WHY WORKFLOWS ?
•   Programming model
    • Enabling workflow within line-of-business applications
    • User-interface page flows
    • Document-centric workflows
    • Human workflows
    • Composite workflows for service-oriented applications
    • Business rule-driven workflows
    • Workflows for systems management
WHAT IS WORKFLOW ?
• A workflow is a set of elemental units
       • called activities
• Activities describes a real-world process
• Activity Stores Data using
  • Variable
  • Argument
  • Expression
• Describing the order of execution and dependent relationship
• Work passes through the model from start to finish
WORKFLOW MODELS
 Sequential Activity Workflow
    start To end
    No Go back
    One after the other


 State machine Activity Workflow
    Only States
    Transitions
      when true
ACTIVITY OVERVIEW
• Developed as a CLR type
  • Activity
     • An abstract base class used to create composite activities

  • Code Activity
    • An abstract class for creating a custom activity with imperative behavior
      defined with the Execute method

  • Async Code Activity
     • Abstract Class that manages asynchronous code activity execution from start
       to completion

  • Native Activity
    • An Abstract base class for custom activities that implement execution logic
      using the Execute method, which has full access to the runtime’s features.
ACTIVITY LIFE CYCLE
• Activity Context
   • Classes that represent the execution environment of an activity


• Starts with Executing
   • Closed
        • The activity has completed its work and exited
   • Canceled
        • The activity has gracefully abandoned its work and exited. Work is not
          explicitly rolled back when this state is entered
   • Faulted
        • The activity has encountered an error and has exited without completing its
          work
WORK FLOW RUNTIME
• is the environment in which workflows execute

• Few methods of executing

  • WorkflowInvoker
    • which invokes the workflow like a method.

  • WorkflowApplication
    • explicit control over the execution of a single workflow instance.

  • WorkflowServiceHost
    • message-based interactions in multi-instance scenarios.
WORKFLOW EXECUTION
Invoker Method




WorkflowApplication
 • Events
    • Completed
    • Aborted
    • Idle
Introduction To Windows Workflow Foundation 4.0
PASSING PARAMETERS - IN
Property Method




IDictionary Method
PASSING PARAMETERS - OUT
Using Application




                    Using Invoker
CUSTOM ACTIVITIES
•   Set of Reusable Activities
•   Apply Same Workflow Rules
•   Can have design interface
•   Can have validation
    •   Override Metadata Cache
Introduction To Windows Workflow Foundation 4.0
Introduction To Windows Workflow Foundation 4.0

More Related Content

PPT
Workflow Foundation (Wf) Presentation
PPTX
Windows Workflow
PPTX
Windows Workflow Foundation
PPT
Windows Workflow Foundation
PPTX
Workflow Manager 1.0 SharePoint 2013 Workflows
PPTX
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
PPT
Windows Workflow Foundation Introduction
PDF
Workflow Manager for Software License Optimization
Workflow Foundation (Wf) Presentation
Windows Workflow
Windows Workflow Foundation
Windows Workflow Foundation
Workflow Manager 1.0 SharePoint 2013 Workflows
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
Windows Workflow Foundation Introduction
Workflow Manager for Software License Optimization

What's hot (20)

PDF
Windows Workflow Foundation in the Real World
PPTX
Introduction to Windows Workflow Foundation
PDF
C# Advanced L10-Workflow Foundation
PDF
[Struyf] Automate Your Tasks With Azure Functions
PPTX
20140211 BTUG.be - Workflow Manager
PPTX
ECS19 - Ingo Gegenwarth - Running Exchange in large environment
PPTX
Application Lifecycle Management for Office 365 development
PPTX
SPS calgary 2017 introduction to azure functions microsoft flow
PDF
Using Chat Automation - ChatOps
PDF
O365Con18 - Automate your Tasks through Azure Functions - Elio Struyf
PPTX
ASP.NET MVC 5 and SignalR 2
PPTX
SPS vancouver is it possible to do devops with SharePoint Framework
PDF
O365Con18 - Implementing Automated UI Testing for SharePoint Solutions - Elio...
PPTX
Chris O'Brien - Comparing SharePoint add-ins (apps) with Office 365 apps
PPTX
Techorama migrate to sharepoint framework
PPTX
Build a SharePoint website in 60 minutes
PPTX
Chris OBrien - Pitfalls when developing with the SharePoint Framework (SPFx)
PPTX
#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow
PPTX
Building high scale, highly available websites in SharePoint 2010
PDF
Workshop automating with microsoft flow
Windows Workflow Foundation in the Real World
Introduction to Windows Workflow Foundation
C# Advanced L10-Workflow Foundation
[Struyf] Automate Your Tasks With Azure Functions
20140211 BTUG.be - Workflow Manager
ECS19 - Ingo Gegenwarth - Running Exchange in large environment
Application Lifecycle Management for Office 365 development
SPS calgary 2017 introduction to azure functions microsoft flow
Using Chat Automation - ChatOps
O365Con18 - Automate your Tasks through Azure Functions - Elio Struyf
ASP.NET MVC 5 and SignalR 2
SPS vancouver is it possible to do devops with SharePoint Framework
O365Con18 - Implementing Automated UI Testing for SharePoint Solutions - Elio...
Chris O'Brien - Comparing SharePoint add-ins (apps) with Office 365 apps
Techorama migrate to sharepoint framework
Build a SharePoint website in 60 minutes
Chris OBrien - Pitfalls when developing with the SharePoint Framework (SPFx)
#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow
Building high scale, highly available websites in SharePoint 2010
Workshop automating with microsoft flow
Ad

Similar to Introduction To Windows Workflow Foundation 4.0 (20)

PPTX
Workflow All the Things with Azure Logic Apps
PPTX
Process Orchestration with Flowable and Spring Boot
PPTX
Advantages of Rails Framework
PPTX
Build, Test and Extend Integrated Workflows 3.7
PPT
The cornerstones of SAP workflow
PPTX
Building a document e-signing workflow with Azure Durable Functions
PPTX
UWP apps development - Part 2
PPTX
Build SharePoint Online Workflows and Customize Forms Using Nintex for Office...
PPTX
PresentationPatterns_v2
PDF
Introducing Apache Airflow and how we are using it
PDF
Oracle Fusion Middleware on Exalogic Best Practises
PPTX
AngularJS One Day Workshop
PPTX
Azure serverless architectures
PPTX
What is an Automation Framework ?
PDF
Patterns and practices for building enterprise-scale HTML5 apps
PPTX
Angular js 1.0-fundamentals
PPTX
#speakgeek - Pragmatic Batch Process Management & Developer Testing
DOC
Best Data stage online training institute
PDF
Working With Concurrency In Java 8
PPTX
WORKFLOW OF THE PROCESS IN SPM
Workflow All the Things with Azure Logic Apps
Process Orchestration with Flowable and Spring Boot
Advantages of Rails Framework
Build, Test and Extend Integrated Workflows 3.7
The cornerstones of SAP workflow
Building a document e-signing workflow with Azure Durable Functions
UWP apps development - Part 2
Build SharePoint Online Workflows and Customize Forms Using Nintex for Office...
PresentationPatterns_v2
Introducing Apache Airflow and how we are using it
Oracle Fusion Middleware on Exalogic Best Practises
AngularJS One Day Workshop
Azure serverless architectures
What is an Automation Framework ?
Patterns and practices for building enterprise-scale HTML5 apps
Angular js 1.0-fundamentals
#speakgeek - Pragmatic Batch Process Management & Developer Testing
Best Data stage online training institute
Working With Concurrency In Java 8
WORKFLOW OF THE PROCESS IN SPM
Ad

More from Melick Baranasooriya (18)

PPTX
App deployment
PPTX
Share point developement Introduction for students
PPTX
SharePoint 2013 variations feature
PPTX
JSOM and java script practices
PPTX
Apps for SharePoint 2013
PPTX
Apps for SharePoint
PPTX
Introduction to asp.net
PPTX
Oop concepts
PPTX
Serialization
PPTX
PPTX
PPTX
Lambda expressions
PPTX
Info path advanced development @ Sri Lanka SharePoint Forum
PPTX
Conventions & Best Practices
PDF
Custom workflow in sharepoint
PDF
Infopath controls
PDF
Beginners SharePoint introduction
PDF
App deployment
Share point developement Introduction for students
SharePoint 2013 variations feature
JSOM and java script practices
Apps for SharePoint 2013
Apps for SharePoint
Introduction to asp.net
Oop concepts
Serialization
Lambda expressions
Info path advanced development @ Sri Lanka SharePoint Forum
Conventions & Best Practices
Custom workflow in sharepoint
Infopath controls
Beginners SharePoint introduction

Recently uploaded (20)

PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Cloud computing and distributed systems.
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Modernizing your data center with Dell and AMD
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Empathic Computing: Creating Shared Understanding
PPTX
A Presentation on Artificial Intelligence
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
The AUB Centre for AI in Media Proposal.docx
Machine learning based COVID-19 study performance prediction
Understanding_Digital_Forensics_Presentation.pptx
Cloud computing and distributed systems.
Dropbox Q2 2025 Financial Results & Investor Presentation
Spectral efficient network and resource selection model in 5G networks
The Rise and Fall of 3GPP – Time for a Sabbatical?
NewMind AI Weekly Chronicles - August'25 Week I
Modernizing your data center with Dell and AMD
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
NewMind AI Monthly Chronicles - July 2025
Digital-Transformation-Roadmap-for-Companies.pptx
Empathic Computing: Creating Shared Understanding
A Presentation on Artificial Intelligence
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
20250228 LYD VKU AI Blended-Learning.pptx

Introduction To Windows Workflow Foundation 4.0

  • 2. WHY WORKFLOWS ? • Programming model • Enabling workflow within line-of-business applications • User-interface page flows • Document-centric workflows • Human workflows • Composite workflows for service-oriented applications • Business rule-driven workflows • Workflows for systems management
  • 3. WHAT IS WORKFLOW ? • A workflow is a set of elemental units • called activities • Activities describes a real-world process • Activity Stores Data using • Variable • Argument • Expression • Describing the order of execution and dependent relationship • Work passes through the model from start to finish
  • 4. WORKFLOW MODELS  Sequential Activity Workflow  start To end  No Go back  One after the other  State machine Activity Workflow  Only States  Transitions  when true
  • 5. ACTIVITY OVERVIEW • Developed as a CLR type • Activity • An abstract base class used to create composite activities • Code Activity • An abstract class for creating a custom activity with imperative behavior defined with the Execute method • Async Code Activity • Abstract Class that manages asynchronous code activity execution from start to completion • Native Activity • An Abstract base class for custom activities that implement execution logic using the Execute method, which has full access to the runtime’s features.
  • 6. ACTIVITY LIFE CYCLE • Activity Context • Classes that represent the execution environment of an activity • Starts with Executing • Closed • The activity has completed its work and exited • Canceled • The activity has gracefully abandoned its work and exited. Work is not explicitly rolled back when this state is entered • Faulted • The activity has encountered an error and has exited without completing its work
  • 7. WORK FLOW RUNTIME • is the environment in which workflows execute • Few methods of executing • WorkflowInvoker • which invokes the workflow like a method. • WorkflowApplication • explicit control over the execution of a single workflow instance. • WorkflowServiceHost • message-based interactions in multi-instance scenarios.
  • 8. WORKFLOW EXECUTION Invoker Method WorkflowApplication • Events • Completed • Aborted • Idle
  • 10. PASSING PARAMETERS - IN Property Method IDictionary Method
  • 11. PASSING PARAMETERS - OUT Using Application Using Invoker
  • 12. CUSTOM ACTIVITIES • Set of Reusable Activities • Apply Same Workflow Rules • Can have design interface • Can have validation • Override Metadata Cache