Introduction to Microsoft Windows Workflow Foundation WF

Workflow Foundation WF is part of the .NET Framework, and allows you the ability to separate business logic from code.
4.2 (26 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
241 students enrolled
Take This Course
  • Lectures 31
  • Length 2 hours
  • Skill Level Beginner Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 6/2015 English

Course Description

New videos added, to cover CodeActivity and NativeActivity.

At the heart of almost all business processes lies some type of workflow. Whether you are the local pizza shop, a worldwide shipping company, a job board, or a video game manufacturer, you have business processes that drive your business in a systematic way, and that way can be expressed as a workflow.

Of course, workflow modelling has been around for decades. With UML, and other modelling languages, almost all developers are familiar with flowcharts, and pseudo-code, and other ways of expressing a program visually without writing lines of code.

Microsoft provides a workflow tool within the .NET platform called Workflow Foundation (WF). Also called Windows Workflow Foundation. (But don't call it WWF - that's taken.)

Workflow Foundation provides a visual workflow designer where you can model your business processes. You can use three different styles of modeling your workflow:

  • State diagram
  • Flowchart / data driven workflow
  • Sequence diagram

Using this workflow designer, you can separate out the business logic from the implementation code. You can see, what steps come in what order. You don't have to be a programmer to see and understand the workflow in the workflow designer view.

Of course, if you are a programmer and love working in the IDE, you can code the Workflow using .NET code. The option is yours!

Thank you for signing up for this course on Udemy. The course will always be up-to-date here and nowhere else. I am also available for questions inside the course discussion board.

Grab this course today, and understand how Microsoft's Windows Workflow Foundation works!

What are the requirements?

  • A basic understanding of C#
  • A basic understanding of the .NET Framework, 3.0 and above

What am I going to get from this course?

  • Understand how Workflow Foundation can be used to save development time
  • Work with the Workflow designer to create Sequence Workflows
  • Work with the Workflow designer to create State Workflows
  • Work with the Workflow designer to create Flowcharts
  • Implement Workflow in .NET code

Who is the target audience?

  • .NET developers
  • People wanting to understand how Workflow can fit into a project

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: What is Windows Workflow
What is Workflow
Downloading and Installing
Section 2: Diving into Visual Studio
Basic Activity
Hello World!
Hello XAML!
Running Hello World
Section 3: Workflow Foundation Types
Workflow - Sequence
Compound Activities and Custom Acitivites
Workflow - Flowchart
Workflow - State Machine
Section 4: Traffic Light State Machine
Setting the Red Light State
Setting the Green Light State
Setting the Yellow Light State
Switching from Red to Green
Switching from Green to Yellow
Switching from Yellow to Red
Testing the Traffic Light
Section 5: Compiled Code Activities and Variables
Creating Workflow in Code Only
Working with Activity Variables
Adding Activities to the Sequence
Testing the Project
BONUS 1 - Calling .NET Classes from Inside Workflow
BONUS 2 - Using Arguments to Pass Data In
Section 6: CodeActivity and NativeActivity
Introducing CodeActivity
Implementing a CodeActivity
Introducing NativeActivity
Creating a NativeActivity
Implementing a NativeActivity
Section 7: Bonus and Wrapup
Useful Resources
Final Source Code
Feedback Request

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Scott Duffy, TOGAF Certified Software Architect, Azure Architect

Hi there, my name is Scott Duffy. And I love making complex technical topics easy to understand.

This has been the basis of my entire career – as a developer, as a development manager, as a software architect – over the past 20 years. I spend half my time in the world of business, explaining complex technical topics to business owners and stakeholders so that they can understand and agree with my approach to solving their business problems with technical solutions. And the other half with developers, explaining the business reasons behind decisions and ensuring that any decisions made on the technical side don't restrict the business in unexpected ways.

And I'm here on Udemy to teach what I know in an approachable way. I started teaching courses on TOGAF 9.1 in 2014, and have taught over 10,000 students on that subject since then. I am a member of the Open Group, and also hold a commercial license to teach TOGAF.

I have been developing with Microsoft technologies for 20 years, starting with Classic ASP, and all the versions of .NET. We now live in the cloud era, with Microsoft Azure being prevalent in most large enterprises. I'm certified as an Azure Architect too.

Please don't hesitate to drop me a message if you have a suggestion for a topic for one of my courses, or need help with something. I may not always be able to help you directly, but I would still love to talk to you.

Ready to start learning?
Take This Course