26.04.2015 Views

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

This creates a transition that has no source. There should only be one such<br />

transition on the diagram; if one already exists, you need to delete it.<br />

e. To see a summary of the attributes of each state or transition, click the<br />

expand/collapse icon at the top right of the shape. In the list of fields in the<br />

summary, “+” marks a field that has a required rule; “-” marks a field that has<br />

an empty rule; and “*” marks a field that has other rules.<br />

f. To edit the attributes of each state or transition, right-click the state heading,<br />

and then click Open Details or double-click the heading.<br />

Note: If the WITDesigner toolbox is not visible, click Toolbox on the <strong>Visual</strong><br />

<strong>Studio</strong> View menu.<br />

2. Edit the rules governing a state as follows:<br />

a. Right-click the state heading and then click Open Details, or double-click the<br />

heading.<br />

This opens the Workflow State Field Rules dialog box. Each item in the list<br />

refers to a field of the work item type, and represents a set of rules governing<br />

that field while the work item is in this state.<br />

b. On the Field Reference tab, set the RefName to indicate the field you want to<br />

constrain while the work item is in this state. The drop-down list of available<br />

fields that you can set is located on the Fields tab of the work item type.<br />

c. On the Rules tab, click New to create a new rule, or click Open to edit an<br />

existing rule.<br />

The details provided in the dialog box on opening a rule vary depending on<br />

the type of rule.<br />

d. Click OK to complete your changes.<br />

3. Edit a transition as follows:<br />

a. Right-click the transition heading and then click Open Details to open the<br />

Workflow Transition dialog box.<br />

• The Transaction Detail tab defines the From and To states of the<br />

transition. If this transition marks the initial state in which a new work<br />

item of this type is created, the From state is empty. These fields<br />

correspond to the links on the workflow diagram. The For and Not fields<br />

can contain the name of a user or group who can or cannot make the<br />

transition.<br />

• The Reasons tab defines the content allowed in the Reason field when the<br />

transition occurs. There should be at least one reason for every transition.<br />

• The Actions tab defines the state transition actions necessary to automate<br />

transitions of work items at various points in their workflow. For example,<br />

a TFS version control system needs to support automatic transitions of<br />

work items at check-in time.<br />

• The Fields tab defines rules constraining fields when the transition occurs.<br />

b. Click OK to complete your changes.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!