- In the header of Dev Studio, click .
- On the Circumstance Template Record Configuration form, enter
values in the fields to define the context of the template:
- In the Label field, enter text that describes the purpose of the circumstance template.
- Optional: To change the default identifier for the circumstance template, click Edit, and then provide a unique value in the Identifier field.
- In the Context section, select the application to store the template.
- In the Apply to field, press the Down arrow key and select the class that defines the scope of the circumstance template.
- In the Add to ruleset field, select the name and version of a ruleset that stores the circumstance template.
- Optional: To override the default work item that your application associates with this
development change, in the Work item to associate field, press
the Down arrow key, and then select a work item.For more information about your default work item, see Setting your current work item.
- Click Create and open.
- On the Template tab, in the Property field, press the Down arrow key, and then select the name of a property that you want to evaluate at run time.
- In the Label field, enter the name that corresponds with the
property in a circumstance definition.When you create a circumstance definition, which has a table layout, each row header displays a property label.
- Optional: To add more properties, click Add a row, and then repeat steps 4 through 5.
- Click Save.
- Circumstance templates
Use a circumstance template rule to identify properties for multivariate circumstanced rules. A circumstance template rule contains an array of properties such as .State, .Channel, and .ClaimAmount that reference property values in one or more circumstance definition rules. These rules define the value combinations for each of the properties defined in the circumstance template rule.