Creating a circumstance template

In the Dev Studio header, click Create > Technical > Circumstance Template.

  1. On the Create form, enter values in the fields to define the context of the flow.

    1. In the Label field, enter text that describes the purpose of the circumstance template.

    2. To change the default identifier for the circumstance template, click Edit, and then provide a unique value in the Identifier field.
    3. In the Apply to field, press the Down Arrow key and select the class that defines the scope of the circumstance template.

    4. In the Add to ruleset field, select the name and version of a ruleset that stores the circumstance template.

  2. Click Create and open.

  3. On the Template tab, list the properties that circumstance definitions can evaluate.

    1. Click the Add a row icon.

    2. In the Property field, press the Down Arrow key, and then select the name of a property in your application.

  4. Click Save.

  5. Control the order in which the circumstance definitions for this template run.
    1. On the Definitions tab, ensure that there are at least two circumstance definitions listed in the All Definitions section.

      You may need to wait for your development team to create circumstance definitions that are associated with your circumstance template.

    2. In the Priority Definitions section, click the Add a row icon.

    3. In the field that is displayed, press the Down Arrow key, and then select the name of a circumstance definition.

    4. Drag a field to a different position in the list to change its run-time priority.

    5. Click Save.