Validation functions

The syntax for the FilterExpression and TestExpression formulae are the same as for the ShapeSheet formulae. However, Visio 2013 includes some extra validation functions such as the ShapeSheet functions, but these functions cannot be used in the ShapeSheet formulae, with the exception of those marked with an asterisk.

The following table is an extract from The Diagram Validation API blog:

http://blogs.msdn.com/visio/archive/2010/01/07/the-diagram-validation-api.aspx

It lists the special quasi-ShapeSheet functions that can be used in the FilterExpression and TestExpression formulae, and has been extended to include the new functions added in Visio 2013 (marked with *).

Function

Description

HasCategory(categoryName)*

Returns ...

Get Microsoft Visio 2013 Business Process Diagramming and Validation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.