Download presentation
Presentation is loading. Please wait.
Published byNoah Gordon Modified over 6 years ago
1
Technology in Action! Windows Workflow Foundation Advanced Techniques
Guy Burstein Senior Consultant Advantech Technologies blogs.microsoft.co.il/blogs/bursteg
2
Workflow Runtime Engine
Basic Concepts Visual Studio Designer Host Process Concepts Workflow Activities Host Components Base Activity Library Runtime Engine Runtime Services Visual Designer A Workflow Activity Windows Workflow Foundation Base Activity Library Workflow Runtime Engine Runtime Services
3
Demo Building a Simple Workflow
4
Recruitment Workflow Challenges
“Recruitment may take several weeks and even months…” Long Running & Stateful “Recruiting one applicant may be very different from the other…” Flexible “What is the status of this applicant and what its the next step?” Transparency
5
Long Running Processes
Recruitment Manager Candidate CV Technical Interviewers Manager
6
Windows Workflow Foundation
Persistence Service Database Windows Workflow Foundation Runtime Engine Runtime Services Persistence Service Workflow By Default – Workflows run without persistence Plug in the persistence service using code / configuration. Out of the Box SqlPersistenceService Create your custom persistence services
7
Demo Long-Running Processes
8
Tracking Service Provide consistent and reliable reporting
Past, Present and Future Key Indicators Auditing / Monitoring Specify, capture, store, and query Track workflow, activity, user events and data Use OOTB SqlTrackingService or a custom tracking service
9
Demo Providing Application Transparency
10
Business Rules and Conditions
Added Value Modeling Power, Approachability, Ease of Change Terminology Conditions, Rules, RuleSet Rule-Driven Activities IF-Else, While, Custom Activities. PolicyActivity Can use Rules API outside Workflow Step2 Step1 Rule1 Rule2 Data
11
Apply Policy to Validate CV
Use Conditions to Decide how to Handle Policy to determine CV Routing
12
Demo Workflow Rules!
13
Dynamic Update Respond to unforeseen events, circumstances.
Step1 Step2 Step3 Step5 Step4 Step6 Respond to unforeseen events, circumstances. Apply changes to running instances: Add / Remove activities Change conditions (only if declarative). Workflow Changes must be Valid Must be validated by all activities Dynamic Update Condition on Root Activity
14
Demo Making Changes to Running Workflow Instances
15
Summary More than a Drag & Drop technology
A Picture’s worth more than 1000 words… Lets you focus on the business processes Use Windows Workflow Today!
16
Resources WF Dev. Center WF Community Site WF MSDN Forum My Blog
WF Community Site WF MSDN Forum My Blog
17
Questions? Come to meet me at the Developers Panel or visit my blog: blogs.microsoft.co.il/blogs/bursteg
18
Your Feedback is Important!
19
Thank You! Guy Burstein blogs.microsoft.co.il/blogs/bursteg
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.