Advanced Windows Workflow Foundation

Code: 50260
Course duration: 5 days

50260: Advanced Windows Workflow Foundation (5 Days)

About this Course

This 5-day Instructor-led course teaches about Windows Workflow 3.0/3.5 and future features of 4.0. Explore how to create and use every type of built-in activity in WF. Learn to use and implement custom workflow services. Explore the various options of hosting workflows including the new 4.0 Dublin host server.

Audience Profile

This course is intended for anyone who has a need to learn to build advanced windows workflows and understand all the various "gotchas" when writing windows workflow applications.

At Course Completion

After completing this course, students will be able to use every workflow activity.

Course Outline

Module 1: Overview

A simple introduction module.

After completing this module, students will be able to:

  • Understand your course, classroom, classmates, facility and instructor.

Module 2: Architecture

In this module we will explore the relatively simple architecture of Windows Workflow (databases, services and hosting environments).


  • WF Architecture
  • Hosting Workflows
  • Introduction

Lab : Installing WWF

  • Install WWF Database

Lab : Workflow Services

  • Setup Sql Tracking Service
  • Setup Sql Persistence Service
  • Setup Workflow Scheduler Service

After completing this module, students will be able to:

  • Understand the past, present and future of WF.
  • Understand the architecture of WF (database, services and hosts).
  • Know how to create the required database, add the various services and do simple hosting of a workflow.

Module 3: Workflows

In this module we explore the types of workflows and how Enterprise Application Integration (EAI) concepts will surely come into play when building them.


  • Workflow Lifecycle
  • Workflows

Lab : Simple Workflows

  • Create a Simple Workflow
  • Debug a Simple Workflow
  • Examine .xoml Files

Lab : Workflow Events

  • Examine Workflow Events and Services

Lab : State Machine Workflows

  • Create a Simple State Machine Workflow
  • Create an Advanced State Machine Workflow

After completing this module, students will be able to:

  • Know when to use a Sequential workflow versus a State Machine workflow.
  • Understand the various states of a workflow.

Module 4: Activities

In this module we are going to take a deep look at every activity that comes out of the box with WF 3.0/3.5.


  • Exceptions
  • Cancellations
  • Conditions
  • Synchronization
  • Communications
  • Roles and Security
  • Transactions
  • Custom Activities
  • Spawned Contexts
  • Policy Activity

Lab : Control Flow

  • Utilize Parameters in Workflows
  • Implement Flow Control

Lab : Policies And Rules

  • Use the Policy Activity
  • Create a Simple Rule Set
  • Explore Priority
  • Explore Dependency
  • Explore Reevaluation
  • Explore Chaining
  • Policy Tracing
  • Programmatic Rule Set Creation
  • Dynamic Updates

Lab : Roles And Security

  • Implement Active Directory Role Security

Lab : Fault Handlers

  • Implement Workflow Level FaultHandlers
  • Implement Scoped FaultHandlers

Lab : Cancellations

  • Explore Workflow CancellationsTechniques

Lab : Synchronization

  • Explore Workflow Synchronization

Lab : Web Services

  • Call Web Services from Workflows
  • Expose Workflow as Web Service

Lab : Communication

  • Implement CallExternalMethod and HandleExternalEvent Shapes

Lab : Correlation

  • Implement Correlation in Your Workflow

Lab : Transactions And Compensation

  • Implement Transactional Scopes
  • Implement Compensation

Lab : Custom Activities

  • Create a Composite Activity
  • Create a Custom Activity
  • Create an Activity Validator
  • Create an Activity Designer

Lab : Serialization

  • Serializable Attribute
  • Serialization Errors
  • Serialization Surrogates

Lab : Spawned Contexts

  • Understand Spawned Contexts

After completing this module, students will be able to:

  • Know how to use every out of the box activity.
  • Understand how to build custom activities.
  • Know what spawned contexts are.

Module 5: Management

In this module we will explore ways to monitor and make runtime modifications to workflows.


  • Modifications
  • Monitoring

Lab : Workflow Management

  • Explore Workflow Runtime Configurations

Lab : Custom Persistence Service

  • Create a Custom Persistence Service

Lab : Custom Tracking Service

  • Create a Custom Tracking Service
  • Explore Tracking Channel Details
  • Explore Tracking Service Details

Lab : Runtime Modifications

  • Modify a Workflow at Runtime (from inside)
  • Modify a Workflow at Runtime (from outside)

Lab : Workflow Versioning

  • Update a Workflow Assembly and Redeploy (different version)

After completing this module, students will be able to:

  • Identity when you need a custom persistence and tracking service.
  • Understand how to create a custom persistence and tracking service.
  • Understands how to make change from both inside and outside your workflow instance.

Module 6: Hosting Workflows

In this module we will explore the various hosting environments for the Windows Workflow Runtime.


  • Hosting Environments

Lab : WCF Hosting

  • Learn to Host Workflows with Windows Communication Foundation (WCF)
  • Start Workflow with WCF Request Message
  • Consume WCF from WF

Lab : SharePoint Hosting

  • Create a Custom Workflow Using Visual Studio

After completing this module, students will be able to:

  • Understand where you can create a workflow runtime.
  • Know what products use or will utilize WF (SharePoint and BizTalk).
  • Understand what the Dublin server will do for your workflows.

Before attending this course, students must have:

  • Basic understanding of workflows, enterprise application integration, and C#.NET Programming.

Guaranteed to Run

2018-03-07 09:00 to 2018-03-09 17:00
Fort Lauderdale, Florida (Virtual Instructor-Led)
2017-12-11 09:00 to 2017-12-15 17:00
Attend Online
2017-12-04 09:00 to 2017-12-08 17:00
Attend Online
2017-12-04 09:00 to 2017-12-08 17:00
Attend Online
2017-11-27 09:00 to 2017-12-01 17:00
Attend Online

Course Reviews

No reviews found for this course.

Be the first to write a review