Filter and Test Expressions
You should use the FilterExpression
function to reduce the number of target shapes (or pages) to be tested. You can then use the TestExpression
function to apply to this reduced set in order to obtain a Boolean result.
A good way to understand how to write these expressions is to review the ones already created by Microsoft for the flowcharts and Business Process Modeling Notation (BPMN) templates. You can use the Rules Tools add-in to review them interactively, or to create a report. For example, create a new Flowchart or Cross-Functional Flowchart diagram and review the 11 rules present in the document in the Flowchart ruleset:
In fact, the same ruleset is applied to the Basic Flowchart and the Six Sigma diagrams too, so there are some rules that do not apply to all of them, such as the ones that involve swimlanes. These particular rules refer to containers, which do not exist unless the user manages to use a swimlane shape from the Cross-Functional Flowchart...