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

Rule Conditions

The WF activities that evaluate conditional expressions include the IfElse activity, While activity, Replicator activity, and ConditionedActivityGroup activity. Each of these activities requires you to make a true/false decision. In Chapter 9, we used the Code Condition property setting, which caused Visual Studio to inject an event handler into our workflow code. The event arguments, which are of type ConditionalEventArgs, contained a Result property that we set to true or false, depending on our decision.

However, for each of these conditional decisions, we could have used a Rule Condition instead. Rule Conditions are rules that evaluate to true or false. "The number of purchased items exceeds the free shipping threshold," for ...

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