GLOBALMODEL
Defines a global model that is shared across modules or execution contexts. A GLOBAL MODEL behaves like a standard model but is declared at module scope and may be referenced, reused, or inherited by other models.
Properties of GLOBALMODEL
| Name | Type | Description |
| Title | STRING | The unique name |
| Enabled | BOOLEAN | Controls whether the rule participates in evaluation. Rules are enabled by default; |
| MaxResults | INT32 | Specifies the maximum number of results that may be emitted. This is a hard cap enforced after ranking and filtering. |
| RankingMode | enumRankingMode | Determines how evaluated candidates are ranked before selection. Confidence ranks by confidence score, Proximity ranks by feature closeness, and Priority ranks by declared priority. |
| MinConfidence | NULLABLE`1 | Optional minimum confidence required for a candidate to be considered. If not specified, all confidence levels are allowed. |
| RequireTruth | BOOLEAN | Indicates whether a candidate must evaluate to true in order to be considered eligible for output. |
| TieBreakerApproach | enumTieBreakerApproach | Specifies the approach used to resolve ties when multiple candidates have equal ranking values. |
Syntax
GLOBAL MODEL <ModelName>
Examples
MODULE
GLOBALMODEL 'CustomerRiskModel - Global'
RULES
RULE DefaultRisk
WHEN
RiskScore > 0
THEN
Action = Review
MODEL 'CustomerRiskModel'
RULES
RULE Risk
WHEN
RiskScore > 1000
THEN
Action = Call MANAGER