Database – Rule Applied Entity (rule_applied_entity)
Rule Applied Entity
Column | Data Type | Column Info | Value Note |
id | int(11) | The id for the rule | unsigned not null |
name | varchar(100) | The name of the rule | default null |
rule | text | The rule itself (a formula written in Clojure). | not null |
enroll_new_loans | tinyint(1) | Whether new loans will be enrolled with the rule | Yes - 1; No - 0 (default) |
enroll_existing_loans | tinyint(1) | Whether existing loans will be enrolled with the rule | Yes - 1; No - 0 (default) |
enabled | tinyint(1) | Whether the rule is enabled | Yes - 1 (default); No - 0 |
eval_in_daily_maint | tinyint(1) | Whether the rule will be evaluated in daily maintenance | Yes - 1; No - 0 (default) |
eval_real_time | tinyint(1) | Whether the rule should be evaluated in real time. | Yes - 1; No - 0 (default) |
exec_pre_activation | tinyint(1) | Whether the rule should evaluate on loans before they are activated | Yes - 1; No - 0 (default) |
forcing | tinyint(1) | Whether the rule can be forced on a loan | Yes - 1; No - 0 |
deleted | tinyint(1) | Whether the rule has been deleted | Yes - 1; No - 0 (default) |
global_order | int(11) | The rule's place in the tenant's evaluation order | default '0' |
lastUpdated | timestamp | A timestamp of when the rule was last updated | not null |
origin | varchar(100) | default null | |
product_type | nvarchar(50) | This field specifies which product type that rule will be available for. | Default: rulesApplied.productType.loan |