Newer Version Available

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

Decision Table Refresh Action

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.

Supported REST HTTP Methods

URI
/services/data/vXX.X/actions/standard/refreshDecisionTable
Formats
JSON
HTTP Methods
GET, POST
Authentication
Authorization: Bearer token

Inputs

Input Details
decisionTableApiName
Type
string
Description
Required. API name of an active decision table that you want to refresh.

Outputs

Output Details
errorMessage
Type
string
Description
Error message to indicate why the request wasn't successful.
status
Type
string
Description
Indicates whether the decision table is queued for refresh. Valid values are Queued or Failed.

Usage

Sample Request

1{
2  "inputs": [
3    {
4      "decisionTableApiName": "Points_to_Redeem_Based_on_Product_and_Order_Channel"
5    }
6  ]
7}

Sample Response

1{
2   "status":"Queued",//Queued or Failed
3   "errorMessage":"" //in case any failure
4}