Newer Version Available

This content describes an older version of this product. View Latest

Decision Table

Performs a lookup on a decision table.
Resource
1/connect/business-rules/decision-table/${decisionTableId}
Resource Example
1https://yourInstance.salesforce.com/services/data/v55.0/connect
2/decision-table/$DecideDiscountPercentageforOrders
Available version
55.0
Requires Chatter
No
HTTP methods
POST
Request body for POST
JSON example
1{
2   "datasetLinkName" : "Product_Mapping",
3   "conditions" : {
4      "conditionsList" : [
5         {
6            "fieldName": "ProductName__c",
7            "value": "Cloud Kicks"
8         },
9         {
10            "fieldName": "Price__c",
11            "value": 1000
12         }
13      ]
14   }
15}
Properties
Name Type Description Required or Optional Available Version
conditions Decision Table Condition[] The list of decision table conditions on which the decision table executes and provides outcomes. Required 55.0
datasetLinkName String The API name of the dataset link provided as an input for the decision table execution. Optional 55.0
Response body for POST
Decision Table Outcome