Various technologies for integrating workflow services are described. In
accordance with one described embodiment, an integrated workflow services
system includes a host process, such as a Windows.RTM. application
program. The host process hosts a workflow foundation runtime engine for
executing workflows and a workflow foundation library. A workflow
executable by the workflow foundation runtime engine may include an
activity (e.g., a policy activity) that defines a ruleset that includes a
number of rules (e.g., business rules). At least one rule of the ruleset
is defined directly against the workflow. Furthermore, the activity has
access to a rules engine capable of evaluating rules in the ruleset.