Free Newsletters
InfoWorld Daily

InfoWorld
Log-in | Register

Preview: Windows Workflow Foundation

WWF makes client-side workflows accessible

By Oliver Rist
September 29, 2005
 

Microsoft’s BizTalk server may have been the first business process management system for the broad market. Its simple diagrammatic programming model backed by a rich API made it an essential element of a Windows shop’s portfolio of back-end services.

Free IT resource

Open Source Business Conference (OSBC) May 22-23, 2007

Sponsored by OSBC

Free IT resource

TechNet: More ways to know it, share it, and keep it running.

Sponsored by Microsoft

DOWNLOAD PDF

Click here to download InfoWorld's report Microsoft gets moving

>> Return to report


Now Microsoft is taking lessons learned from BizTalk down to the client level with WWF (Windows Workflow Foundation).

WWF is, as its name conveys, a solution for building and executing workflows, which are sets of tasks that Microsoft terms “activities,” in a sequence determined by developers and altered by conditions created during a workflow’s execution. In WWF’s case, as in BizTalk’s, workflow developers can cover the skills gamut from traditional coders hacking in .Net and XML to business-oriented types dragging shapes around a design canvas. In my opinion, however, although WWF rolls when used as a set of services primarily invoked by client users, it only rocks when a good deal of low-level, custom .Net code is encapsulated in the design canvas’ drag-and-drop blocks. WWF is not, as it appears at first glance, a zero-code approach to client-side workflows, but it is a shopping mall full of client-side workflow management routines that developers need not reinvent. More than that, WWF creates a class of application that is rarely seen except when created through extraordinary effort: A distributed user-facing application.

From a developer’s perspective, WWF is a toolbox of abstractions for workflow-related activities such as receiving and sending Web services calls, taking conditional branches from an otherwise sequential workflow during the course of its execution, firing and sinking (receiving) asynchronous events and managing nested workflows. WWF abstracts and extends familiar paradigms in ways that change how developers think. For example, the transaction is vital to database development as a means of committing a group of changes to the data in an atomic fashion to ensure that the database is never seen in an intermediate state, and to allow pending changes to be discarded without the need to scrub persisted data from the database. In WWF, activities are grouped inside a transactional context to ensure that changes are either committed as a whole or reversed in a process that WWF refers to as compensation. In a workflow, however, the concept of finality does not necessarily reflect the state of data. For example, if an expedited order requires multiple levels of approval and late in the process the workflow discovers that the order (and possibly orders sharing its characteristics) cannot be fulfilled, a compensation process can issue notifications to people, to related workflows running in parallel, and to external applications via Web services calls. What’s more, WWF can alter a workflow during its execution so that if an aberrant state requires intervention, detours in the normal workflow can be set in place and later removed, all automatically.

Interaction with WWF requires Visual Studio 2005, but Microsoft has wisely, even brilliantly, set up a license for the redistribution of portions of VS 2005 so that nondevelopers can access design tools. So with WWF, .Net developers can deliver activity sets specific to deployment scenarios or lines of business and leave it to nonprogrammers to weave the pieces together diagrammatically. That task requires a lot of planning on developers’ part, but it’s a small price to pay for Windows Workflow Foundation’s remarkably accessible take on client-side workflows.





 


 
Oliver Rist is a senior contributing editor at InfoWorld.

  More of Oliver Rist's column
  Oliver Rist's Weblog

Newsletter Check out all of our free newsletters!
Enter e-mail address:




 

TOP NEWS:


»  Four quick tips for choosing an IM security product
71 percent of businesses will invest in real-time messaging this year. If you're one of them, be sure to protect your enterprise

»  Forrester analysts ID hot IT jobs
Research group finds 16 IT roles with a promising future

»  Nvidia claims 10 hours of HD video on Tegra chip
The Tegra 600 and 650 can be used with hard disk drives and are designed partly for mobile Internet devices

»  Database vendors add Google's MapReduce
Greenplum and Aster Data Systems will support Google's programming technique, developed for parallel processing of large data sets across commodity hardware

»  Network management: Tips for managing costs
New technologies, changing requirements, and ongoing equipment maintenance and upgrades cost money, but there are ways to manage expenses

»  EMC targets SMBs, branch offices with new low-end storage
Celerra NX4 highlights include thin provisioning, snapshot technology for data recovery and backups, and Web-based console for management of storage volumes




FIVE WAYS TO REDUCE IT COSTS IN 2009
The demands on IT have never been greater, particularly in light of lower revenue and uncertain demand for the goods and services. There are many ways that IT can help organizations adjust to this new economic environment. Learn about five key technology trends that can immediately impact your organization's bottom line, and how to build a strategy to implement these technologies within your current budget. Sponsored by: Riverbed

»  Click here to view this Webcast
  Enterprise Data Security Solutions Guide
Data security used to be about outside threats. These days the biggest challenge for data-driven organizations is the management of secure information from the inside out. Data is available on laptops, your network and even USB devices, but not always secure. Read this Solutions Guide to learn the best ways to keep it safe. Sponsored by ISC2

»  Click here to download now

- Special Advertising Partners -
WHITE PAPERS
 

» Technology White Papers Library

Technology White Papers by Topic

Technology White Papers E-mail Alert

Find out when the latest white paper is available:
 
 
INFOWORLD MARKETPLACE
 
» BUY A LINK NOW
 
SEE ALSO
• Microsoft’s back office blitz
• Interview: Bill Gates looks at Vista


FIND PRODUCTS AND COMPANIES
» COMPLETE PRODUCT GUIDE



TECHNOLOGY INDEX
• Applications
• Application Development
• Security
• Networking
• Wireless
• Platforms
• Hardware
• Data Management
• Storage
• Web Services
• Business
• Telecom
• Professional Services
• Standards

TECH WATCH 


What's the 411 on GOOG-411?
Just as Google has become synonymous with "performing a Web search," 411 is understood to mean "information" -- as in "what's the 411?" I was thus surprised to discover, from a billboard, no less, that the king of search is taking on the ...

Apple HTML source reveals 'iPhone Extreme'
"This one's a stretch..." reports AppleInsider. Um, yeah. Reporting on HTML code sightings of product names could be called a stretch, but iPhone Extreme has a ring to it. Now, that sounds like the product Apple should have released first, rather ...

COLUMNISTS

Unified under law
Ephraim Schwartz's Column and Blog (InfoWorld) - In the litigious world we live in, deploying a unified communications platform in your enterprise could...
» MORE COLUMNISTS

MORE INFOWORLD BLOGS


Open Sources 
Product Management
When I joined MySQL four years ago, there was quite a lot of debate about product management. We didn't actually have ...

Zero Day 
Botnet herders tending smaller flocks
New research backs up the theory that botnet operators are keeping their networks smaller in a continued effort to keep ...



• Advice Line
• Database Underground
• The Deep End
• Enterprise Mac
• Geeks in Paradise
• Grid Meter
• The Gripe Line
• InfoWorld Daily
• Inside IT
• IT Troubleshooter
• ITXtreme
• Open Sources
• ProdBlog
• Real World SOA
• Reality Check
• Security Adviser
• SMB IT
• The Storage Network
• Tech Watch
• Virtualization Report
• Zero Day

ADVERTISEMENT


RESOURCE CENTERadvertisement 

GOVERNMENT IT & POLICY
'If you don't go after the network, you're never going to stop these guys. Never.'
From the State Department, All the News for Inquiring Minds
TechPresident, the Internet Citizenry's New Consensus Taker



Sponsored Technology Links

 
 
 HOME  NEWS  BLOGS  PODCASTS  VIDEOS  TECHNOLOGIES  TEST CENTER  EVENTS   About | Advertise | Awards | RSS | Contact Us 

Copyright © 2009, Reprints, Permissions, Licensing, IDG Network, Privacy Policy, Terms of Service.
All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses,
phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

CIO :: ComputerWorld :: CSO :: Demo :: GamePro :: Games.net :: IDG Connect :: IDG World Expo
Industry Standard :: IT World :: JavaWorld :: LinuxWorld :: MacUser :: Macworld :: Network World :: PC World :: Playlist
TecChannel :: TecCommunity