Newer Version Available
Decision Matrix
Performs a lookup on decision matrix rows based on the input values
provided, and returns the row’s output.
- Resource
-
1/connect/business-rules/decision-matrices/${matrixName} - Resource Example
-
1https://yourInstance.salesforce.com/services/data/vXX.X/connect 2/business-rules/decision-matrices/$InsurancePremium - Available version
- 55.0
- Requires Chatter
- No
- HTTP methods
- POST
- Request body for POST
-
- JSON example
-
1{ 2 "inputs": [ 3 { 4 "input": [ 5 { 6 "name": "premium", 7 "value": "2400" 8 }, 9 { 10 "name": "tax", 11 "value": "300" 12 } 13 ] 14 }, 15 { 16 "input": [ 17 { 18 "name": "age", 19 "value": "23" 20 }, 21 { 22 "name": "state", 23 "value": "NY" 24 } 25 ] 26 }, 27 { 28 "input": [ 29 { 30 "name": "age", 31 "value": "35" 32 }, 33 { 34 "name": "state", 35 "value": "WA" 36 } 37 ] 38 } 39 ], 40 "options": { 41 "effectiveDate": "2022-12-03T10:15:30Z" 42 } 43} - Properties
-
Name Type Description Required or Optional Available Version inputs Decision Matrix Input List of inputs passed to a decision matrix. An input may contain multiple variables. Required 55.0 options Decision Matrix Options Input The lookup options for a decision matrix. Optional 55.0
- Response body for POST
- Decision Matrix Lookup Result