Introduction to Windows Workflow Foundation (WF) Keith Elder Microsoft MVP Blog: Quicken Loans –

Slides:



Advertisements
Similar presentations
The Microsoft Technical Roadshow 2006 Windows Workflow Foundation Mike Taulty Developer & Platform Group Microsoft Ltd
Advertisements

Windows Workflow Foundation
GRADD: Scientific Workflows. Scientific Workflow E. Science laboris Workflows are the new rock and roll of eScience Machinery for coordinating the execution.
Windows Workflow Foundation By Sam Nasr, MCAD October 23,
Designing, Deploying and Managing Workflow in SharePoint Sites Steve Heaney Product Development Manager OBS
 Matt Winkler Program Manager Microsoft corporation TL21.
Zoiner Tejada Hershey Technologies. About Zoiner Tejada.
ARCH-01: Introduction to the OpenEdge™ Reference Architecture Don Sorcinelli Applied Technology Group.
Process (.exe, IIS, …) Activities Activity Library Tooling VS Designer Custom Designer Rehosted Designer Runtime Workflow Activity Programming Model.
Building Enterprise Applications Using Visual Studio ®.NET Enterprise Architect.
Ryan Andrus Staff Engineer, Architecture Team Charles Schwab.
Leveraging Enterprise Library in Your Applications Keith Elder Quicken Loans Manager, Sr. Software Engineer Microsoft MVP Keith a t keithelder dot net.
Mark Rees Microsoft Consulting Services OFC409 Windows Workflow Foundation (WF) Primer Creating WF programs in Visual Studio Creating workflow templates.
Windows Vista for Syndication and Workflow Mike Ormond Developer & Platform Group, Microsoft Ltd
Vakgroep Informatietechnologie – Breedbandcommunicatienetwerken (IBCN) Dynamic and generic workflows in.NET Bart De Smet.
Introducing Windows Workflow Foundation. Understanding Windows Workflow Foundation Janakiram MSV Developer Evangelist Microsoft Corporation Introducing.
SharePoint Collaboration Features & Workflow
Usman Zafar Malik MCTS: MOSS 2007 MBMSS Dynamics CRM 3.0/4.0.
Introduction to Windows Workflow Foundation
Using Microsoft SharePoint to Develop Workflow and Business Process Automation Ted Perrotte National Practice Manager, Quilogy, Microsoft Office SharePoint.
Matt Winkler – Technical Evangelist WF Microsoft Corporation CON312.
SharePoint Workflow Development Using Visual Studio Brian LaSitis February 27, 2008.
Workflows in SharePoint Brian Russo RJB Technical Consulting July 2009.
Reza Alirezaei, MOSS MVP/MCTS
1 Developing Rules Driven Workflows in Windows Workflow Foundation Jurgen Willis COM318 Program Manager Microsoft Corporation.
Introduction to Windows Workflow Foundation Adam Calderon Principal Engineer - Interknowlogy Microsoft MVP – C#
Wrestling with Windows Workflow Foundation Simon Thurman Jeremy Stimson.
TEAM FOUNDATION SERVER (TFS) By Sunny Niranjana Devi. M.
Creating Business Workflow Using SharePoint Designer 2007 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Microsoft SQL Server.
Host (.exe, Dublin-IIS/WAS,.NET Services, …) WF Runtime Extensions Tracking Persistence … … Tooling VS Designer VS Debugger Rehosted Designer Workflow.
ESB Guidance 2.0 Kevin Gock
Microsoft Windows “Longhorn” future version of Windows OS Jan “Honza” Stoklasa janstok at microsoft dot com janstok at microsoft dot com Academic Program.
Introduction to .Net Framework
SQL Server Integration Services (SSIS) Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server (MVP) Microsoft Certified Technology Specialist.
Introduction to “Oslo” Jeremy Boyd Director – Mindscape MSDN Regional Director
 Ed Pinto PM Microsoft Corporation. Host “Dublin”(IIS/WAS + App Server Extensions) Microsoft ®.NET Workflow Service.exe Host “Dublin”(IIS/WAS + App.
WEB 304 An Overview of ASP.NET and Windows Workflow Foundation Kashif Alam Program Manager Developer Division Microsoft Corporation.
Introduction to ASP.NET 1www.tech.findforinfo.com.
Windows Workflow Foundation Mike Taulty Developer & Platform Group Microsoft Ltd
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Workflow Development Overview Architecture Requirements Types of workflows Stages of workflow.
DEV325 Deploying Visual Studio.NET Applications Billy Hollis Author / Consultant.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
VWF310: Encapsulate Custom Business Processes with Custom WF Activities Brian Noyes IDesign Inc (
James Akrigg Microsoft Ltd Integrating InfoPath Forms Into Workflow Solutions And Business Processes.
Office Business Applications Workshop Defining Business Process and Workflows.
Welcome to the Twin Cities BizTalk User Group July 2006.
Copyright ©2004 Virtusa Corporation | CONFIDENTIAL Windows Workflow Foundation Ruwan Wijesinghe.
Under the Hood on Extending the My Namespace Joe Binder TLN414 Program Manager Microsoft Corporation.
Rahul Garg National Technology Specialist Microsoft Australia SOA303.
EBZ303 Building Applications Using BizTalk Human Workflow Services Nagender Vedula Group Program Manager E-Business Server Group Microsoft Corporation.
EBIZ302 Jupiter Business Process Automation and Web Services David Fong Program Manager.
Practical Workflow Services Peter Goodman. Agenda  Why Workflow?  The Workflow Runtime  Workflow Services  Windows Server AppFabric  Demo.
Slide 1. Agenda  Introduction to Windows Workflow What is it? What are activities? Hosting  Out of the box Activities  Custom Activities and Dependency.
Ten Architectural Opportunities for Workflow John Evdemon Architect Microsoft Corporation.
2005 Microsoft PAKISTAN DEVELOPER CONFERENCE June 13-15, 2005.
.NET Framework Enterprise. Agenda WCF Overview WCF Solutions WF Overview WF Solutions Card Spaces Bringit it all together: Dinner Now Scenario.
Workflow in Microsoft Office SharePoint Server Jessica Gruber Consultant Microsoft Corporation.
Windows Workflow Foundation Guy Burstein Senior Consultant Advantech – Microsoft Division
BizTalk Damir Dobric Lead Architect. Agenda Microsoft BizTalk RFID Overview Architecture Application models Implementing Event Handlers Sensors.
Damir Dobric DAENET.NET,Visual Studio & MORE! Radio-Frequency-Identification-Lösungen mit BizTalk RFID.
The best of WF 4.0 and AppFabric Damir Dobric MVP-Connected System Developer Microsoft Connected System Division Advisor Visual Studio Inner Circle member.
9/24/2017 7:27 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Introducing the Microsoft® .NET Framework
COM210 Introduction to Workflow in Windows Applications
Technology in Action! Windows Workflow Foundation Advanced Techniques
Introduction to Windows Workflow Foundation (WF)
Intro to Workflow Services and Windows Server AppFabric
Serverless Architecture in the Cloud
2010 Microsoft BI Conference
Microsoft Office SharePoint 2007 Technical Enablement Tour
Presentation transcript:

Introduction to Windows Workflow Foundation (WF) Keith Elder Microsoft MVP Blog: Quicken Loans –

Agenda Hello World in Workflow What is Workflow? Architecture Understanding the Runtime WF Extensibility Rules Engine Scenarios for WF Versioning Hosting WF in a SOA

DEMO HELLO WORLD

What is Workflow? The workflow framework and tools for Microsoft products and partner/customer ecosystem Single workflow technology for Microsoft ® Windows ® A framework for building workflow, not an application or server Make declarative workflow a mainstream development paradigm At the end of the day workflow is a new namespace and supporting APIs developers can use to declaratively express business logic and long running processes.

Architecture Host Process Windows Workflow Foundation Runtime Engine A Workflow An Activity Runtime Services Base Activity Library Custom Activity Library Visual Designer Key Concepts Visual Designer: Graphical and code- based construction Workflows are a set of Activities Workflows run within a Host Process: any application or server Developers can build their own Custom Activity Libraries Components Base Activity Library: Out-of-box activities and base for custom activities Runtime Engine: Workflow execution and state management Runtime Services: Hosting flexibility and communication

Understanding the Runtime Host Application App Domain SQL Out of Box Services are provided that support SQL Server 2000 & 2005 Common resource services for managing threading, timers and creating transactions PersistenceService stores and retrieves instance state. TrackingService manages profiles and stores tracked information. Runtime Services PersistenceService TrackingService SchedulerService TransactionService Services

Activites: An Extensible Approach OOB activities, workflow types, base types General-purpose Activity libraries define workflow constructs Create/Extend/ Compose activities App-specific building blocks First-class citizens Base Activity Library Custom Activity Libraries Author new activity Extend activity Compose activities Vertical-specific activities and workflows Best-practice intellectual property (IP) and knowledge Domain-Specific Workflow Packages Compliance RosettaNet CRM IT Mgmt Out-of-Box Activities

WF Extensibility Designer Rehosting

DEMO CUSTOM ACTIVITIES

Workflow Rules Conditions on activities If-Else While Replicator Conditioned Activity Group (CAG) Policy activity Contains and executes a RuleSet RuleSet execution provides priority-based, forward-chaining semantics Rules can be used outside workflow

Forward Chaining Amount = $25 Total = $80 Discount = 10% Rule 1 (P0) If Total > $50 & < $100 Then Discount = 10% Rule 2 (P0) If Total >= $100 Then Discount = 15% Rule 3 (P0) If Amount > $0 Then Total = Total + Amount Rule 1 Rule 3 Rule 2 Execution Sequence $105 RuleSet 15%

Policy Overview Policy activity references a RuleSet in the workflow.rules file RuleSet class contains a collection of Rules Rules are If-Then-Else expressions that evaluate and operate on workflow members

CAG - Overview Child activity executes When(Condition1) CAG executes Until(Condition2) Default execution is a parallel When Executes activity once Until “All children quiescent” Executing children complete and all When conditions == false Conceptually, an activity executes: IF When && !(Until) Child activities

DEMO RULES ENGINE

Versioning in WF – Where? Workflow Activity Tracking Profile Rules Host and runtime services Exposed as a web service

Workflow Versioning Compiled Standard.NET versioning story Strong Names, GAC, etc. What I’m not going to dive into the details of Declarative This is what we call XAML-only workflows Versioning here takes place in the host, when deciding what XAML to grab But wait, my workflows are already running! DynamicUpdate API address how to change these

Scaling? Cluster of Workflow Runtimes accessing the same persistence store Workflow Runtime 1 Host* 1 SQL Persistence Service Workflow Runtime 2 Host 2 SQL Persistence Service Workflow Runtime 3 Host 3 SQL Persistence Service Workflow Runtime N Host N SQL Persistence Service * The host could be IIS

WF in a SOA WF As Service Implementation WF Orchestrating Services

DEMO CALLING WORKFLOWS VIA SERVICES

Introduction to Windows Workflow Foundation (WF) Keith Elder Microsoft MVP Blog: Quicken Loans –