Decision table
A decision table is a systematic and structured representation of complex business logic or decision-making processes.
Get a decision table instance using getDecisionTable
from app’s interface.
Parameters
Parameters | Type | Description |
---|---|---|
payload | Object | An object with keys as condition field id and its respective values |
Syntax
From the instance you can evaluate the decision table using evaluate
method.
Example
To evaluate if a loan request can be approved or not using a decision table (ID: Loan_decision_table), specify the relevant condition IDs (conditionField1, conditionField2, etc.) along with their corresponding input values (Age_conditionID, 18).