"Workflow" is a declarative way of implementing
result oriented business process in software. WWF is a programming model that helps
in defining, building, executing, debugging and managing work flow related
applications that are in sync with business processes. It consists of a
Microsoft NET Framework version 3.0 namespace, an in-process workflow engine,
and designers for Visual Studio 2005.
We can build as many work flow styles as we need based on
the requirement.
Graphical designer and debugger are provided to implement
work flow related software. We can make use of imperative code along with
declarative modeling. It enables us to build workflow software that is more
flexible and transparent.
Core Components
WF core components include:
1.
Base Activity Library: This provides functionality for control flow,
conditions, event handling, state management and invoking web service. One can
build his or her own custom domain specific activities using the base activity.
2.
Runtime Engine: This is responsible for Workflow execution and state
management.
3.
Runtime Services: This provides hosting flexibility and communication.
4.
Visual Designer: It is responsible for graphical and code-based
construction.
Once a workflow model is compiled, it can be executed inside
any windows process including console applications, WinForms applications, Windows
Services, ASP.NET Web sites, and Web services. Extensible Object Modeling
Language [XOML] based on XAML is the language that is used for declaring the
structure of workflow, business logic for the workflow.
In order to create workflow, activities using WWF are:
1. VS 2005 (comes by installing Visual Studio 2005 add-ins to
design and program workflow)
2. SharePoint designer that permits building workflows for
Share Point 2007