Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Calculation Procedure Version Definition Output
- JSON Response
-
1{ 2 "calculationProcedureId":"0k0xx00000000HlAAI", 3 "code":"200", 4 "constants":{ 5 "details":[ 6 { 7 "apiName":"SENIOR_CITIZEN_AGE", 8 "dataType":"Number", 9 "defaultValue":"60", 10 "isEditable":true, 11 "isUserDefined":true, 12 "name":"SENIOR_CITIZEN_AGE", 13 "precision":2 14 } 15 ] 16 }, 17 "enabled":false, 18 "isSuccess":true, 19 "message":"", 20 "name":"rule3 V1", 21 "rank":1, 22 "root":{ 23 "steps":[ 24 "0mqxx00000000UfAAI" 25 ] 26 }, 27 "startDate":"2021-08-04T08:57:23.000Z", 28 "step":{ 29 "details":{ 30 "0mqxx00000000UfAAI":{ 31 "childStepIds":[ 32 ], 33 "conditionsExpressionText":"age == SENIOR_CITIZEN_AGE", 34 "conditionsUiFormattedText":"{\"bypass\":[]}", 35 "id":"0mqxx00000000UfAAI", 36 "inputVariablesFormatText":"[{\"name\":\"age\",\"dataType\":\"Number\",\"alias\":\"age\"}]", 37 "isResultIncluded":false, 38 "name":"Condition", 39 "outputVariablesFormatText":"{\"name\":\"condition_output__1\",\"dataType\":\"Boolean\",\"alias\":\"condition_output__1\"}", 40 "outputVariablesMappingText":"{\"condition_output__1\":\"condition_output__1\"}", 41 "returnMessageValueSet":"{\"true\":\"\",\"false\":\"\"}", 42 "stage":"Calculation", 43 "stepType":"Condition" 44 } 45 } 46 }, 47 "variables":{ 48 "details":[ 49 { 50 "apiName":"condition_output__1", 51 "dataType":"Boolean", 52 "defaultValue":"False", 53 "id":"0kJxx00000000KzEAI", 54 "isEditable":false, 55 "isUserDefined":false, 56 "name":"condition_output__1" 57 }, 58 { 59 "apiName":"age", 60 "dataType":"Number", 61 "defaultValue":"60", 62 "id":"0kJxx00000000L0EAI", 63 "isEditable":true, 64 "isUserDefined":true, 65 "name":"age", 66 "precision":2 67 } 68 ] 69 }, 70 "versionId":"0k1xx00000000KzAAI", 71 "versionNumber":1 72}
| Property Name | Type | Description | Filter Group and Version | Available Version |
|---|---|---|---|---|
| calculationProcedureId | String | The ID of the expression set record. | Small, 53.0 | 53.0 |
| code | String | The request response code. | Small, 53.0 | 53.0 |
| constants | Resource List Output | The constant definition of the expression set version record. | Small, 53.0 | 53.0 |
| description | String | The description of the expression set version record. | Small, 53.0 | 53.0 |
| enabled | Boolean | Indicates whether the expression set version record is active for execution. The default is false. | Small, 53.0 | 53.0 |
| endDate | String | The date and time until when an active expression set version record is in effect. | Small, 53.0 | 53.0 |
| isSuccess | Boolean | Indicates whether the request is successful. | Small, 53.0 | 53.0 |
| message | String | The request response message. | Small, 53.0 | 53.0 |
| name | String | The name of the expression set version record. | Small, 53.0 | 53.0 |
| rank | Integer | The rank of the expression set version record. When multiple records are in effect, the record that’s ranked higher takes precedence. 1 denotes the highest rank. | Small, 53.0 | 53.0 |
| root | Root Step List Output | The first step defined in the expression set version record. If the first step is a branch, then the first steps in the record. | Small, 53.0 | 53.0 |
| startDate | String | The start date and time from when an active expression set version record is in effect. | Small, 53.0 | 53.0 |
| step | Calculation Procedure Step Map Output | The list of steps defined in the expression set version record. | Small, 53.0 | 53.0 |
| variables | Resource List Output | The variable definition of the expression set version record. | Small, 53.0 | 53.0 |
| versionId | String | The ID of the expression set version record. | Small, 53.0 | 53.0 |
| versionNumber | Integer | The number of the expression set version record. | Small, 53.0 | 53.0 |