Project element properties
A property provides additional information about a project element.
Most properties are useful to help you manage your business rules. For example, the query mechanism searches for project elements that match given criteria based on properties. You can also select which properties you want to display in your tables: click Options in the top banner and then select Edit Display Options.
The properties of a project element appear on the Details page. You can edit some properties in the Properties step of the Compose wizard (see Compose: Create project elements). You cannot edit properties that Decision Center automatically generates, such as the Created By property.
Although rule projects all contain certain properties, you can customize (extend) rule projects to capture information specific to the business domain of your company. The tables in the following sections describe properties marked as extended properties. These extended properties might not appear in your specific rule projects.
Management properties
The following table describes properties that are useful for managing and authoring your project elements. You can normally edit them.
| Property | Used to... |
|---|---|
| Categories | Choose the categories of business terms that the rule displays in its drop-down lists when editing their content in the rule editor. By default, rules belong to the Any category, which means that they have all the available business terms of the project available in the drop-down lists. You can replace the Any category with another one to limit the number of entries in the drop-down lists. For example, you can limit the list to include only those entries that concern the Sales department. In this case, the Sales category must already be available next to the Categories property. |
| Effective Date (extended property) | Specify the date on which the rule comes into effect. This property is normally used by a smart folder or a query to identify rules that come into effect. Note:
This is an extended property that might not be implemented in your application. Contact your development team for more information. |
| Expiration Date (extended property) | Specify the date on which the rule expires. This property is normally used by a smart folder or a query to identify rules that become out of date. Note:
This is an extended property that might not be implemented in your application. Contact your development team for more information. |
| Folder (Location) | Set the location of the project element. Decision Center proposes separate folder hierarchies for business rules, resources, and templates (see Folders). Note:
Folders correspond to rule packages in the developer environments. |
| Group | Associate the rule with the user’s group. If the user belongs to more than one group, this property will be set to the first group of the user unless you specify otherwise. The Group property is used by the Administrator to set permissions (see Groups). |
| Name | Give a name to the project element. |
| Locale | Specify the language of the text displayed in the rules. The default language, en_US, corresponds to English. |
| Status (extended property) | Set the status of a rule, for example:
|
The following table describes properties that are defined by Decision Center. You can display them but you cannot edit them.
| Property | Used to... |
|---|---|
| Created By | See who created the project element. |
| Created On | See when the project element was created. |
| Last Changed By | See who last modified the project element. |
| Last Changed On | See when the project element was last modified. |
| Project | See to which project the element belongs. This property is useful when dealing with dependent projects. |
| Template | See from which template the rule was created. (Templates are deprecated.) |
| Type | See the type of project element: for example, folder, action rule, decision table. |
Execution properties
The following table describes the properties related to executing rules.
| Property | Used to... |
|---|---|
| Active (extended property) | Set whether or not the rule is active. You can deactivate a rule by deselecting this property. CAUTION: When using this property, make sure that the extractor being used to generate the ruleset has been set up to extract active rules. |
| Main Subflow Task | Identify the main ruleflow of the project. A project can contain many ruleflows but only one main ruleflow. You identify a main ruleflow by setting its Main Subflow Task property to true. |
| Priority (extended property) | Set the priority of the rule. You use the Priority property to establish precedence between different rules. By default, the Priority property is set to 0. If you want a rule to be considered before another, set the priority of the first rule to a higher number than the second. To allow for any future rules that may be created, leave a gap between entries. For example: -100, 0, 100, 200. Rules with the same priority are processed according to the order in which they are added to the rule engine agenda. Rules more recently inserted into the agenda are chosen before those less recently inserted. For rules inserted at the same time, the order in which the rules appear in the agenda corresponds to the order in which the rules appear in the ruleset source file. Attention:
To enable accurate synchronization with Rule Designer, enter the priority value as an integer. If you do not, synchronization sets the priority to the default priority value of 0. |
Technical properties
The following table describes the properties specific to technical rules, functions, and ruleflows:
| Property | Used in... |
|---|---|
| Imports | Functions, technical rules, and ruleflows. Imports correspond to the classes used in the rule. |
| Return Type | Functions. |
| Initial Actions | Ruleflows. |
| Final Actions | Ruleflows. |