Expression Set Invocation
POST {{_endpoint}}/services/data/v{{version}}/connect/business-rules/expressionset/:expressionSetAPIName
WATCH OUT: path expressionSet has no dash gjeffcock@salesforce.com Invokes expression sets in Business Rule Engine.Resource Resource Example Available version 55.0 Requires Chatter No HTTP methods POST Request body for POST JSON example 1 JSON example 2 Note You can use more than one actionContextCode for multiple sets of inputs, passed in a single API call. Properties Response body for POSTExpression Set Invocation (POST)
/connect/business-rules/expressionSet/${expressionSetName}
https://yourInstance.salesforce.com/services/data/vXX.X/connect
/business-rules/expressionSet/${expressionSetName}
{
"inputs": [
{
"age": "25",
"state": "CA"
"PatientId":"001xx000003GYjnAAG"
}
],
"options": {
"effectiveDate": "2022-12-03T10:15:30Z",
"useDatesOnly": "true"
}
}
{
"inputs": [
{
"age": "25",
"state": "CA"
"PatientId":"001xx000003GYjnAAG"
"__actionContextCode":"001xx000003GYjnAAG" }
],
"options": {
"effectiveDate": "2022-12-03T10:15:30Z",
"useDatesOnly": "true"
}
}
Name
Type
Description
Required or Optional
Available Version
inputs
Map[]
List of inputs passed to an expression set. An input may contain multiple variables.
Note
If the expression set uses a field alias as a variable, append Id to the object alias to which the field alias belongs, and pass the ID of the source object linked to the object alias.Required
55.0
options
Expression Set Options Input
The options for executing an expression set.
Optional
55.0
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status Created
{
"aggregationResults": {
"results": {}
},
"executionId": "33045b23-8970-4fbe-a80c-8f4302592566",
"outputs": [
{
"results": {
"output": 1
}
}
]
} |
ENDPOINTS