Logo
CAR REVIEW
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
PREGNANCY
 
 
Windows 7

Microsoft Visio 2010 : Creating and Validating Process Diagrams - Understanding Visio Rules , Validating Flowcharts

1/18/2014 8:24:19 PM

Understanding Visio Rules

The diagram validation capabilities of Visio 2010 are built around collections of rules. A Visio rule can check a diagram for a very simple or a very complex condition. For example, a rule developer might create a rule to answer any of the following questions:

  • Are there any shapes on the page that have one connection but not two?

  • Are there any unconnected shapes on the page?

  • Does every 2-D shape contain text?

  • Are there more than three blue shapes on any one page or more than five red shapes in the entire diagram?

  • Are there any containers with fewer than three or more than seven shapes?

  • Are there any shapes of type X, containing a field named Y with a value of Z?

These are just representative questions. Visio rules are sufficiently flexible that the real question becomes: “What problem do you need to solve?”

Validation rules are packaged into rule sets. Four Visio 2010 templates include predefined business rules:

  • Basic Flowchart

  • Cross-functional Flowchart

  • Business Process Modeling Notation

  • SharePoint Workflow

It’s also possible to create your own custom rule sets for validating process diagrams, or, for that matter, for validating any kind of Visio diagram.

Validating Flowcharts

In this exercise, you will use flowchart validation rules to discover and correct errors in a flowchart.

Set Up

image with no caption

Check Diagram

  1. On the Process tab, in the Diagram Validation group, click the Check Diagram button to run the default set of flowchart validation rules.

    Visio opens an Issues window to display the problems it found in the diagram. In addition to displaying the rule and rule category for each validation error, the bottom of the Issues window shows the date and time of the most recent validation.

    Set Up

    Tip

    You can re-sort the list of issues by clicking the Rule or Category column headings. You can also right-click anywhere in the Issues window, click Arrange By, and select Rule, Category, or Original Order.

  2. In the Issues window, click once on Connector is not glued at both ends. The unlinked connector is highlighted.

    Set Up

    This error is an excellent example of the value of diagram validation. When you look at the flowchart image in Step 1, it’s not at all obvious that there is an unlinked connector.

  3. In the Issues window, click once on Decision shape should have more than one outgoing connector.

    The Candidate accepts? shape is highlighted, demonstrating yet another valuable reason to use validation: as you’re creating a flowchart, it’s easy to forget a path. This rule ensures that decisions always have at least two outcomes.

  4. In the Issues window, click once on Flowchart does not end with a Start/End shape.

    Because this rule is about a missing shape, there is nothing highlighted in the drawing, but it’s easy to see that the message is correct—there is no end shape.

  5. In the Issues window, click once on the first instance of Flowchart shape has no outgoing connectors and is not a Start/End shape.

    The Prepare job description and screening questions shape is highlighted because of the unlinked connector described in Step 2.

    Set Up
  6. In the Issues window, click once on the second instance of Flowchart shape has no outgoing connectors and is not a Start/End shape.

    The Hire candidate shape is highlighted because there is no end shape.

  7. In the Issues window, click once on the third instance of Flowchart shape has no outgoing connectors and is not a Start/End shape. The document shape is highlighted.

    Set Up

    The error message is correct. The document shape does not have any outgoing connectors. For this shape, however, that is acceptable because a document isn’t a process step but is a representation of a process artifact. Consequently, you will tell Visio to ignore this rule for this shape.

  8. Right-click the already-selected issue description, and then click Ignore This Issue.

    Important

    When you right-click, be careful of the distinction between Ignore This Issue and Ignore Rule. The former ignores a single issue; the latter ignores all issues created by a rule. Use Ignore Rule very carefully or you may inadvertently hide important issues.

    Important

    Notice that the third occurrence of the Flowchart shape has no outgoing connectors and is not a Start/End shape issue has disappeared from the Issues window. Also, the status bar at the bottom of the window now indicates that there is one ignored issue.

  9. In the Issues window, click once on Flowchart shape has no text label.

    This issue also applies to the document shape. If you don’t want to put text on this shape, you can ignore the issue as you did in the preceding step. However, for this exercise, you will add text to the shape.

  10. Double-click the document shape, type HR Policy Manual, and then press Esc.

    In the remaining steps of this exercise, you will resolve more of the diagram issues you reviewed in the previous steps.

  11. Click once on the connector between the Prepare job description and screening questions shape and the Advertise open job shape, and then glue its ends to the adjacent shapes.

    Tip

    You can click the Check Diagram button at any time to refresh the Issues window.

  12. Draw a connector from the Candidate accepts? shape to the Select a candidate shape. While the connector is still selected, type No, and then press Esc.

  13. Add a Start/End shape after the Hire Candidate shape, and then draw a connector from the Hire Candidate shape to the start/end shape.

  14. On the Process tab, in the Diagram Validation group, click the Check Diagram button. There is one remaining issue, which you can choose to resolve by adding text to the end shape or you can ignore it.

    Important

Clean Up

Save your changes to the HR Recruiting Flowchart Validation drawing, and then close it.

Tip

You can close the Issues window at any time by clicking the X in the lower-left corner or by clearing the Issues Window check box in the Diagram Validation group on the Process tab.

Other -----------------
- Microsoft Project 2010 : Tracking Progress on Tasks (part 4) - Entering Actual Values for Tasks
- Microsoft Project 2010 : Tracking Progress on Tasks (part 3) - Entering a Task’s Completion Percentage
- Microsoft Project 2010 : Tracking Progress on Tasks (part 2) - Tracking a Project as Scheduled
- Microsoft Project 2010 : Tracking Progress on Tasks (part 1) - Saving a Project Baseline
- Microsoft Excel 2010 : Calculating the Median
- Microsoft Excel 2010 : Calculating the Mean (part 3) - Minimizing the Spread - Setting Up the Worksheet for Solver
- Microsoft Excel 2010 : Calculating the Mean (part 2) - Minimizing the Spread - About Solver, Finding and Installing Solver
- Microsoft Excel 2010 : Calculating the Mean (part 1) - Understanding Functions, Arguments, and Results
- Microsoft Visio 2010 : Visualizing Your Data - Creating Data Graphic Legends
- Microsoft Visio 2010 : Visualizing Your Data - Creating New Data Graphics
- Microsoft Visio 2010 : Visualizing Your Data - Editing Data Graphics
- Microsoft Word 2010 : Creating Desktop Publishing Documents - Arranging Text in Columns
- Microsoft Word 2010 : Creating Desktop Publishing Documents - Adding Page Backgrounds (part 2) - Add or Remove a Page Border , Add Page Color
- Microsoft Word 2010 : Creating Desktop Publishing Documents - Adding Page Backgrounds (part 1) - Add Borders and Shading
- Managing Windows 7 : Helping Each Other - Start the Session, Solve The Problem
- Managing Windows 7 : Troubleshooting Problems - Find a Troubleshooter, Run a Troubleshooter
- Managing Windows 7 : Maintaining Your Hard Disk
- Managing Windows 7 : Checking the Performance Status of Windows
- Managing Windows 7 : Managing Touch Settings
- Microsoft Excel 2010 : Inserting Blank Rows (part 2) - Separating Subtotaled Rows for Distributed Files
 
 
Most view of day
- Microsoft Content Management Server : The ASP.NET Stager Application (part 1) - The DotNetSiteStager Project, Recording Messages to a Log File
- Using Microsoft SharePoint with Microsoft Dynamics CRM Functions (part 2) - Displaying Data Using BDC in Microsoft Office SharePoint Server
- Microsoft Dynamics AX 2009 : Form Customization (part 2) - Displaying an Image
- Microsoft Dynamics AX 2009 : Integration with Microsoft Office - Creating Excel files
- Microsoft Excel 2010 : Calculating the Mode (part 4) - Getting the Mode of Categories with a Formula - Using Formula Evaluation
- What's new and improved in SharePoint 2013 : Using the Office Store
- Windows Server 2012 Administration : Managing Printers with the Print Management Console (part 2) - Adding New Printers as Network Shared Resources
- Managing SharePoint 2010 with Windows PowerShell : Managing SharePoint 2010 Sites (part 1)
- Windows Server 2012 : Enhancements for Flexible Identity and Security (part 2) - Active Directory Unification for Various Directory Services
- Windows Server 2012 : Managing Users with Local Security and Group Policies (part 2) - Configuring and Optimizing Group Policy
Top 10
- Windows Phone 8 : Scheduled Tasks - Scheduled Task API Limitations
- Windows Phone 8 : Scheduled Tasks - Updating Tiles Using a Scheduled Task Agent
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 5) - Editing an Existing To-Do Item
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 4) - Creating the To-Do Item Shell Tile, Saving a To-Do Item
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 3) - Debugging Scheduled Tasks
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 2) - TodoService, TodoItemViewModel
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 1) - TodoItem,TodoDataContext
- Windows Phone 8 : Scheduled Tasks - Using Scheduled Tasks
- Windows Phone 8 : Scheduled Tasks - Background Agent Types
- Windows Phone 8 : Windows Phone Toolkit Animated Page Transitions - Reusing the Transition Attached Properties
 
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro