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.
This topic describes how to create a policy activity rule set using the legacy Windows Workflow Designer that targets the .NET Framework version 3.5 or the .NET Framework 3.0.
After you have dragged a Policy activity item from the Toolbox to the workflow design surface, you will want to select an existing rule or create a new rule set for the PolicyActivity activity. You select an existing rule set by using the Select Rule Set Dialog Box (Legacy) and you create rule sets by using the Rule Set Editor Dialog Box (Legacy).
Note
You can open the Rule Set Editor Dialog Box (Legacy) dialog box directly by double-clicking on a PolicyActivity activity that is on the workflow design surface.
To select or create a rule set for a PolicyActivity activity
Right-click the PolicyActivity, and then click Properties to open the Properties window.
Click the RuleSetReference property.
Do one of the following:
Click the RuleSetReference ellipses […], and then select an existing rule set in the Select Rule Set Dialog Box (Legacy). Then go to step 10.
-or-
Type a name for a rule set. Click the RuleSetReference ellipses […], and then select Edit in the Select Rule Set Dialog Box (Legacy).
-or-
Type a name for a rule set. Expand the RuleSetReference property and select the ellipses […] in the RuleSet Definition property.
The Rule Set Editor Dialog Box (Legacy) opens.
In the Rule Set Editor Dialog Box (Legacy), click Add Rule to add a new rule to the rule set.
Enter the Name, Priority, and Reevaluation properties, or keep the default values.
Enter the text for the Condition.
Enter the text for the Then Actions and the Else Actions.
Click Add Rule again to add another rule.
When you are finished, click OK.
See Also
Reference
Select Rule Set Dialog Box (Legacy)
Rule Set Editor Dialog Box (Legacy)