O'Reilly logo

Microsoft® Windows® Workflow Foundation Step by Step by Kenn Scribner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the Policy Activity

Forward chaining is a situation that arises when more than one rule is to be processed. For Rule Condition situations, this is never the case—there is only one rule. In fact, it’s not even a complete rule but rather a Boolean expression. However, the Policy activity changes all that. With the Policy activity, you do have the opportunity to combine multiple rules and you might (or might not) see the effects of forward chaining.

When you use a Policy activity, rules are aggregated into a collection, and this collection is maintained by the WF RuleSet object. When you drag and drop an instance of the Policy activity into your workflow, you’ll need to create a RuleSet object and insert your rules, applying forward chaining ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required