Decision Table Metadata API
Decision Table Actions
Decision Table Refresh Action
IndustriesSettings
Industries Object Access by Community License
Access Industries Features Deployed Using Managed Packages
Previous Versions
Refresh business rules for an active decision table.
For more information about refreshing an active decision table, see Refresh Decision Tables in Flows in Salesforce Help. This object is available in API version 51.0 and later.
URI: /services/data/vXX.X/actions/standard/refreshDecisionTable
Where XX.X is the latest API version.
Formats: JSON
HTTP Methods: GET, POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a variable.
| Input | Type | Description |
|---|---|---|
decisionTableApiName | string | Required. API name of an active decision table that you want to refresh. |
isDecisionTableIncremental | boolean | Specifies whether to trigger an incremental refresh (true) or not (false). If set to true, this field triggers an update only on changes made to the recent sObject data instead of performing a full refresh. The default value is false.This feature requires a full refresh to be performed initially. After a full refresh is done, you can proceed with incremental refreshes. However, if the changes exceed 2,000 records, the incremental refresh fails. In such cases, a full refresh is necessary to update the Decision Table with the latest sObject data. An incremental refresh updates LastIncrementalSyncDate only. A full refresh updates LastRefreshedDate and LastSyncDate. |
| Output | Type | Description |
|---|---|---|
errorMessage | string | Error message to indicate why the request wasn’t successful. |
status | string | Indicates whether the decision table is queued for refresh. Valid values are Queued or Failed. |
Sample Request
1{
2 "inputs": [
3 {
4 "decisionTableApiName": "Points_to_Redeem_Based_on_Product_and_Order_Channel",
5 "isDecisionTableIncremental": true
6 }
7 ]
8}Sample Response
1{
2 "status":"Queued",//Queued or Failed
3 "errorMessage":"" //in case any failure
4}