Eligibility Rule Input

Input representation details of eligibility rule associated with the decision table.

JSON Example 

1{
2  "sourceObjectName": "ProductQualification",
3  "sourceObjectRecordId": "1234",
4  "decisionTableId": "456",
5  "conditionCriteria": "1 AND 2 AND 3 AND 4 AND 5 AND 6 AND 7 AND 8",
6  "conditionType": "All",
7  "ruleValue": [
8    {
9      "fieldName": "Country",
10      "fieldValue": "USA",
11      "operator": "Equals",
12      "domainEntity": "Account",
13      "domainEntityId": "xyz"
14    },
15    {
16      "fieldName": "ProductId",
17      "fieldValue": "123",
18      "operator": "Equals",
19      "domainEntity": "Account",
20      "domainEntityId": "xyz"
21    },
22    {
23      "fieldName": "ParentProductId",
24      "fieldValue": "123",
25      "operator": "Equals",
26      "domainEntity": "Account",
27      "domainEntityId": "xyz"
28    }
29  ]
30}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
condition​CriteriaStringCustom logic that’s used to decide how the input fields are processed.Required66.0
conditionTypeStringCondition logic that’s used for input fields.Required66.0
decisionTableIdStringThe unique identifier of the decision table that’s associated with the eligibility rule.Required66.0
ruleValueEligibility Rule Value Input[]Details of the rule value.Required66.0
source​ObjectNameStringName of the source object associated with the decision table.Required66.0
sourceObject​RecordIdStringThe unique identifier of the source object record.Required66.0