Manage variables for business rules
The Variables tab of the Business Rules page displays all defined variables
An identifier with a value that can be changed during normal execution of the software. (Contrast with "constant.") . From this tab, you can create, edit, and delete variables to use in business rules.
To open this tab, navigate to Administration > Program Management > Business Rules, and click the Variables tab.
| Column Name | Description |
|---|---|
| Name | Variable name. |
| Short Name | Short name for a variable. |
| Type | A variable type listed below, in Variable types. |
| Resource Type |
A resource type. The following resource types are supported by default:
Note: You can create a custom resource type in XML, in the Source tab of the Business Rules page. This is described in Manage business rules in XML. |
| GUI-editable |
Indicates whether this variable is editable in the user interface.
|
| Default Value | Default value for the variable, if one is defined. |
Add a variable
-
Click New and then select the variable type, which are listed below, in Variable types.
-
In the Create Variable page, complete the fields, which depend on the variable type you selected. These are listed below, in Variable types.
- Click Save.
Edit a variable
-
Double-click a row in the table.
-
In the Edit Variable page, update the fields, which depend on the variable type you selected. These are listed below, in Variable types.
- Click Save.
Delete a variable
-
Click a row in the table to highlight a variable.
- Click Delete.
A warning message confirms that you want to delete the variable. - Click Confirm.
Variable types
| Setting | Description |
|---|---|
| Type | Boolean. Read-only. Specified when creating the variable. |
| Resource Type |
A resource type. The following resource types are supported by default:
Note: You can create a custom resource type in XML, in the Source tab of the Business Rules page. This is described in Manage business rules in XML. |
| Name | Variable name. |
| Short Name | Short name for the variable. |
| Default Value |
Default value for the variable. Select one of the following from the drop-down list:
|
| Setting | Description |
|---|---|
| Type | Date. Read-only. Specified when creating the variable. |
| Resource Type |
A resource type. The following resource types are supported by default:
Note: You can create a custom resource type in XML, in the Source tab of the Business Rules page. This is described in Manage business rules in XML. |
| Name | Variable name. |
| Short Name | Short name for the variable. |
| Default Value |
Default value for the variable. Select one of the following radio buttons:
|
| Setting | Description |
|---|---|
| Type | Date List. Read-only. Specified when creating the variable. |
| Resource Type |
A resource type. The following resource types are supported by default:
Note: You can create a custom resource type in XML, in the Source tab of the Business Rules page. This is described in Manage business rules in XML. |
| Name | Variable name. |
| Short Name | Short name for the variable. |
| Default Value |
Default values for the variable.
|
| Setting | Description |
|---|---|
| Type | Map. Read-only. Specified when creating the variable. |
| Resource Type |
A resource type. The following resource types are supported by default:
Note: You can create a custom resource type in XML, in the Source tab of the Business Rules page. This is described in Manage business rules in XML. |
| Name | Variable name. |
| Short Name | Short name for the variable. |
| Setting | Description |
|---|---|
| Type | Number. Read-only. Specified when creating the variable. |
| Resource Type |
A resource type. The following resource types are supported by default:
Note: You can create a custom resource type in XML, in the Source tab of the Business Rules page. This is described in Manage business rules in XML. |
| Name | Variable name. |
| Short Name | Short name for the variable. |
| Random | Select this check box to set a random number as the value for this variable. You can set minimum and maximum values for this number in the following fields. |
| Min. Value | Minimum value for a random number. Available only with the Random check box, describe above, is selected. |
| Random | Maximum value for a random number. Available only with the Random check box, describe above, is selected. |
| Default Value | Default value for the variable. Available only with the Random check box, describe above, is cleared. |
| Setting | Description |
|---|---|
| Type | Number List. Read-only. Specified when creating the variable. |
| Resource Type |
A resource type. The following resource types are supported by default:
Note: You can create a custom resource type in XML, in the Source tab of the Business Rules page. This is described in Manage business rules in XML. |
| Name | Variable name. |
| Short Name | Short name for the variable. |
| Max Size | Maximum number of bytes. This cannot exceed 4096 bytes. |
| Default Value |
Default values for the variable.
|
This is a data structure containing at least one key-value pair.
| Setting | Description |
|---|---|
| Type | Object. Read-only. Specified when creating the variable. |
| Resource Type |
A resource type. The following resource types are supported by default:
Note: You can create a custom resource type in XML, in the Source tab of the Business Rules page. This is described in Manage business rules in XML. |
| Name | Variable name. |
| Short Name | Short name for the variable. |
| Setting | Description |
|---|---|
| Type | String. Read-only. Specified when creating the variable. |
| Resource Type |
A resource type. The following resource types are supported by default:
Note: You can create a custom resource type in XML, in the Source tab of the Business Rules page. This is described in Manage business rules in XML. |
| Name | Variable name. |
| Max Size | Maximum number of bytes. This cannot exceed 4096 bytes. |
| Short Name | Short name for the variable. |
| Default Value | Default value for the variable. |
| Setting | Description |
|---|---|
| Type | String List. Read-only. Specified when creating the variable. |
| Resource Type |
A resource type. The following resource types are supported by default:
Note: You can create a custom resource type in XML, in the Source tab of the Business Rules page. This is described in Manage business rules in XML. |
| Name | Variable name. |
| Short Name | Short name for the variable. |
| Max Size | Maximum number of bytes. This cannot exceed 4096 bytes. |
| Default Value |
Default values for the variable.
|