Manage constants for business rules
The Constants tab of the Business Rules page displays all defined constants
A value that cannot be altered during normal execution of the software. (Contrast with "variable."). From this tab, you can create, edit, and delete constants to use in business rules.
To open this tab, navigate to Administration > Program Management > Business Rules, and click the Constants tab.
| Column Name | Description |
|---|---|
| Name | Name of the constant. |
| Type | A constant type listed below, in Constant types. |
| GUI-editable |
Indicates whether this constant is editable in the user interface.
|
| Value |
Value of the constant. |
Add a constant
-
Click New and then select the constant type, which are listed below, in Constant types.
-
In the Create Constant page, complete the fields, which depend on the constant type you selected. These are listed below, in Constant types.
- Click Save.
Edit a constant
-
Double-click a row in the table.
-
In the Edit Constant page, update the fields, which depend on the constant type you selected. These are listed below, in Constant types.
- Click Save.
Delete a constant
-
Click a row in the table to highlight a constant.
- Click Delete.
A warning message confirms that you want to delete the constant. - Click Confirm.
Constant types
| Field | Description |
|---|---|
| Type |
Boolean. Read-only. Specified when creating the constant. |
| Override an existing Program Rules constant | Select this check box to override an existing Program Rules constant. |
| Name | Name of the constant. |
| Value |
Select one of the following from the drop-down list:
|
| Field | Description |
|---|---|
| Type |
Date. Read-only. Specified when creating the constant. |
| Override an existing Program Rules constant | Select this check box to override an existing Program Rules constant. |
| Name | Name of the constant. |
| Value | The date that is the constant value. |
| Field | Description |
|---|---|
| Type |
Duration. Read-only. Specified when creating the constant. |
| Override an existing Program Rules constant | Select this check box to override an existing Program Rules constant. |
| Name | Name of the constant. |
| Value |
The duration that is the constant value, in the following fields:
|
| Field | Description |
|---|---|
| Type |
Number. Read-only. Specified when creating the constant. |
| Override an existing Program Rules constant | Select this check box to override an existing Program Rules constant. |
| Name | Name of the constant. |
| Value | The number that is the constant value. |
| Field | Description |
|---|---|
| Type |
String. Read-only. Specified when creating the constant. |
| Override an existing Program Rules constant | Select this check box to override an existing Program Rules constant. |
| Name | Name of the constant. |
| Value | Enter a string as the constant value. |