Chapter 7. Creating Validation Rules
In the last chapter, we finished creating a tool to allow us to manipulate rules in Microsoft Visio 2010 Premium in the following ways:
Review rules
Edit rules
Create rules
Test rules
Import rules
Export rules
In this chapter, we will use this tool to create rules for structured diagramming. We will look at common ShapeSheet functions that will be useful for rules, and the new Validation functions.
We will also go through different scenarios for creating rules, especially with regard to Filter and Test Expressions.
Overview of the document validation process
The user can initiate the validation process by clicking the Check Diagram button on the Process tab. The process will clear any existing issues for any changed pages in the document before looping through any rule sets . A changed page, sometimes referred to as dirty, is one that has shapes on it that have been altered in some way since the last validation. After validation, the process will re-mark as ignored...