(for the selected specification, rule type and task name). On this form:
- The Process Identifiers panel is where the names of the specification, rule type and task name for the new tree are defined. The Specification Name input is read-only - for new rule sets it is the specification chosen via the Specification Location dialog (Figure 8.24); for existing rule sets it is the specification for the rule set currently loaded into the Rules Editor. The Rule Type drop-down list contains all of the available rule types (i.e. all the rule types for which no or incomplete tree sets exist). For new rule
8.5. WORKLET RULE SETS AND THE RULES EDITOR 209
sets, all rule types are available. The Task Name drop-down list contains all the available tasks for the selected rule type (i.e. tasks for which no tree exists in the tree set for this rule type). The Task Name list is disabled for case-level rule types.
- The New Rule Node panel is identical to the panel on the Add New Rule form. Here a condition and optional description can be entered, and the conclusion for the new rule created or selected from the list (depending on the rule type - see below).
- The Cornerstone Case Data panel allows a set of cornerstone data for the new rule to be defined. Add a variable name to the Attribute input, and give it a value in the Value input, then click the Add button to add it to the set of Cornerstone Case data. Usual naming rules apply to the data attributes: the attribute name must begin with an alpha character or underscore and contain no spaces or special characters.
- The Effective Composite Rule panel displays a properly indented text equivalent of the composite con- dition comprising the conditions of the selected node and all ancestor nodes back to the root node - in other words, the entire composite condition that must evaluate to true for the conclusion of the selected node to be returned.
- The RDR Tree panel dynamically displays graphically the new rule tree as it is being created.
New rule nodes can be added wherever there is a node on the tree that does not have a child node on both its true and false branches (except the root node which can have a true branch only). To identify possible locations to add a rule node, special ‘potential nodes can be seen in the RDR Tree panel, called “New True Node” or “New False Node”. These potential nodes are coloured yellow for easy identification.
To add a new rule, select the yellow new rule node where you would like the rule to be added. When you select a new rule node, the various inputs for the new rule become enabled. Refer to the Adding a New Rule section above for details of the types of operands and operators you can add as the condition of the new rule.
To add a conclusion to the new rule, click the New... button. If the currently selected rule type is Selection , a worklet can be added as a conclusion in the way described in the Adding a New Rule section. If it is one of the exception rule types, the New... button will display the graphical Draw Conclusion dialog, allowing you to build a sequence of tasks (or primitives) in an exception handling process (explained in detail below). When
- Spring '17
- The School, yawl