Business Rules Results

Output representation of executing an expression set.

JSON Example 

1{
2  "outputs": [
3    {
4      "result": {
5        "Premium": "1200",
6        "Tax": "100"
7      },
8      "variables": {
9        "age": "25",
10        "state": "CA"
11      },
12      "error": {
13        "stepId": "<stepId>",
14        "errorMessage": "The rule is missing inputs: ['var1', 'var2'] and 3 more steps have 5 error"
15      }
16    },
17    {
18      "result": {
19        "Premium": "2400",
20        "Tax": "300"
21      }
22    },
23    {
24      "result": {
25        "Premium": "500",
26        "Tax": "25"
27      }
28    }
29  ],
30  "aggregationResults": {
31    "result": {
32      "TotalPremium": "4100",
33      "TotalTax": "425"
34    },
35    "error": {
36      "stepId": "<stepId>",
37      "errorMessage": "The rule is missing inputs: ['var1', 'var2'] and 3 more steps have 5 error"
38    }
39  }
40}

Properties 

Property NameTypeDescriptionFilter Group and VersionAvailable Version
aggregationResultsBusiness Rule Aggregation Results OutputThe result of the aggregation step in an expression set.Small, 55.055.0
outputsRule Result[]List of outputs returned by an expression set.Small, 55.055.0