Update Underwriting Rule Input Representation
JSON Example
{
"name": "Automatically Approve Quote",
"apiName": "approveQuoteBasedonComprehensiveCoverageDeductibles",
"effectiveFromDate": "2024-05-30T10:30:00",
"effectiveToDate": "2024-11-01T10:30:00",
"productPath": "01tDR000000EMslYAG/11BDR00000000T72AI", // "Auto Gold/Auto Vehicle"
"ruleCriteria": [ // ruleCrieteria will be replaced as a whole. Updating only one condition is not supported
{
"conditions": [
{
"contextTagName": "SalesTransactionItemAttribute",
"operator": "LessThan",
"conditionIndex": 1,
"attributeName": "Annual Milage",
"attributePicklistValueId": null,
"type": "Attribute",
"attributeId": "0tjDR00000000VGYAY",
"dataType": "Number",
"values": [
"50000"
]
}
],
"rootObjectId": "01tDR000000EMslYAG", // Auto Gold.
"productRelatedComponent" : // Need More details on it.
"criteriaIndex": 1,
"sourceContextTagName": "ProductBasedOn",
"sourceOperator": "Equals",
"sourceDataType": "String",
"sourceValues": [
"11BDR00000000T72AI" // Auto Vehicle.
]
},
{
"conditions": [
{
"contextTagName": "SalesTransactionItemAttribute",
"operator": "LessThan",
"conditionIndex": 1,
"attributeName": "Comprehensive Deductible",
"type": "Attribute",
"attributePicklistValueId": null,
"attributeId": "0tjDR00000000UaYAI",
"dataType": "Number",
"values": [
"$5000"
]
}
],
"rootObjectId": "01tDR000000EMslYAG", // Auto Bundle
"productRelatedComponent" : // Need More details on it.
"criteriaIndex": 2,
"sourceContextTagName": "Product",
"sourceOperator": "Equals",
"sourceDataType": "String",
"sourceValues": [
"01tDR000000EMsoYAG" // Comprehensive Product.
]
}
],
// EvaluationSuccessTaskGroup and EvaluationFailureTaskGroup are opitional
// Fulfillment plan design time entities will be created.
"EvaluationSuccessTaskGroup": // Create FulfillmentStepDefinitionGroup records
{
"name": "QuoteApproveSuccessTaskGroup",
"taks": [ // create FulfillmentStepDefinition records
{
"name": "KYC check flow", // FulfillmentStepDefinition API Names
"type": "AutoTask",// FulfillmentStepDefinition type
"flowApiName": "KYC check flow", // Flow API Names
}
]
},
"EvaluationFailureTaskGroup": //Similar to EvaluationSuccessTaskGroup
{
"name": "QuoteApproveFailureTaskGroup",
"taks": [
{
"name": "Vehicle ineligible",
"type": "AutoTask",
"flowApiName": "Mail Notification - Vehicle ineligible",
}
]
}
}
Properties
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
| description | String | Description of the underwriting rule. | Optional | 63.0 |
| effectiveFromDate | String | Date from which the underwriting rule is effective. | Optional | 63.0 |
| effectiveToDate | String | Date until which the underwriting rule is effective. | Optional | 63.0 |
| evaluationFailureTaskGroup | Evaluation Task Group Input[] | Input details for failed evaluation tasks. | Optional | 63.0 |
| evaluationSuccessTaskGroup | Evaluation Task Group Input[] | Input details for successful evaluation tasks. | Optional | 63.0 |
| name | String | Name of the underwriting rule. | Optional | 63.0 |
| productPath | String | Name of the product path. | Optional | 63.0 |
| ruleCriteria | Insurance Rule Criteria Input[] | Rule criteria for the underwriting rule. | Required | 63.0 |
| status | String | Status of the underwriting rule. Possible values are:
|
Optional | 63.0 |