Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In this exercise, you add workflow member variables to support a binary search algorithm, and then you use a PolicyActivity activity to create a RuleSet that implements the binary search. This binary search algorithm is used by the workflow to detect the randomly generated number from the previous exercise.
In This Section
- Task 1: Add and Initialize the Workflow Members
Adds a PolicyActivity activity and creates a RuleSet that implements a binary search algorithm that is used to detect the random number generated by the workflow.
- Task 2: Use Forward Chaining of Rules
Inserts a PolicyActivity activity into the workflow and creates the RuleSet that implements the binary search.
Related Sections
How to: Use Conditions Through Code
Exercise 1: Create the Workflow Application
See Also
Concepts
Using the PolicyActivity Activity
Using RuleSets in Workflows
Forward Chaining of Rules
Copyright © 2007 by Microsoft Corporation. All rights reserved.
Last Published: 2010-03-04