---
schema_version: "1"
id: 6ca5f041bfed698aa99962bd3fc0fa98860f832709d2bea83c4002ef07e70d18
title: Insurance Underwriting Rule Group Input
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/connect_requests_insurance_underwriting_rule_group_input.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_requests_insurance_underwriting_rule_group_input.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: fc2c958c6b5cf55e778c2bdd0f356545633b500598ac5a07ea43e25e6901a3c0
description: Input representation details of the insurance underwriting rule group.
---
# Insurance Underwriting Rule Group Input

Input representation details of the insurance underwriting rule group.

## JSON Example

       "underwritingRuleGroup": {
       "underwritingRuleGroupId": "1KQ000000MKJIK", // Optional,
       // if underwritingRuleGroupId exist, then use it as parent instead of create a new record.
       "stageTransitionId": "0jjDR00000000VGAAA", // State Transition id.
       "stageTransitionName": "Draft to Approved",
       "objectType": "Quote",
       "recordType": "--Master--",
       "fromStage": "Draft",
       "toStage": "Approved",
       "rootProductId": "01tDR000000EMslYAG" // Auto Gold.
       "criteriaExpression": "1" // Exmple "(1 AND 2) OR 3" if more than 1 rules.
       }

## Properties

<table class="featureTable sort_table" summary="">
          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d476903e41">Name</th>
              <th class="featureTableHeader vertical-align-top " id="d476903e43">Type</th>
              <th class="featureTableHeader vertical-align-top " id="d476903e45">Description</th>
              <th class="featureTableHeader vertical-align-top " id="d476903e47">Required or Optional</th>
              <th class="featureTableHeader vertical-align-top " id="d476903e49">Available Version</th>
            </tr>
          </thead>
          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d476903e41" data-title="Name"><samp class="codeph nolang">criteriaExpression</samp></td>

              <td class="entry" headers="d476903e43" data-title="Type">String</td>

              <td class="entry" headers="d476903e45" data-title="Description">Criteria Expression for the underwriting rule group. For example, (1 AND
                2) OR 3.</td>

              <td class="entry" headers="d476903e47" data-title="Required or Optional">Required</td>

              <td class="entry" headers="d476903e49" data-title="Available Version">63.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d476903e41" data-title="Name"><samp class="codeph nolang">fromStage</samp></td>

              <td class="entry" headers="d476903e43" data-title="Type">String</td>

              <td class="entry" headers="d476903e45" data-title="Description">Name of the stage the record is moving from.</td>

              <td class="entry" headers="d476903e47" data-title="Required or Optional">Optional</td>

              <td class="entry" headers="d476903e49" data-title="Available Version">63.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d476903e41" data-title="Name"><samp class="codeph nolang">objectType</samp></td>

              <td class="entry" headers="d476903e43" data-title="Type">String</td>

              <td class="entry" headers="d476903e45" data-title="Description">Object type for which the underwriting rule group is defined. </td>

              <td class="entry" headers="d476903e47" data-title="Required or Optional">Required</td>

              <td class="entry" headers="d476903e49" data-title="Available Version">63.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d476903e41" data-title="Name"><samp class="codeph nolang">recordType</samp></td>

              <td class="entry" headers="d476903e43" data-title="Type">String</td>

              <td class="entry" headers="d476903e45" data-title="Description">Record type associated with the object type for which the underwriting
                rule group is defined.</td>

              <td class="entry" headers="d476903e47" data-title="Required or Optional">Optional</td>

              <td class="entry" headers="d476903e49" data-title="Available Version">63.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d476903e41" data-title="Name"><samp class="codeph nolang">rootProductId</samp></td>

              <td class="entry" headers="d476903e43" data-title="Type">String</td>

              <td class="entry" headers="d476903e45" data-title="Description">ID of the root product.</td>

              <td class="entry" headers="d476903e47" data-title="Required or Optional">Required</td>

              <td class="entry" headers="d476903e49" data-title="Available Version">63.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d476903e41" data-title="Name"><samp class="codeph nolang">ruleEngineType</samp></td>

              <td class="entry" headers="d476903e43" data-title="Type">String</td>

              <td class="entry" headers="d476903e45" data-title="Description">Engine type to use for underwriting rules. Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">BusinessRuleEngine</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">ConstraintEngine</samp>—If set to
                    <samp class="codeph nolang">ConstraintEngine</samp>, the response
                    includes <samp class="codeph nolang">lineItemIds</samp> and <samp class="codeph nolang">lineItemDetails</samp> for which the rule
                    evaluates successfully. If the rule evaluation fails, these fields are
                    shown empty. See, <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.264.0.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_insurance_underwriting_rule_result_output.htm" target="_blank">Insurance Underwriting Rule
                      Result</a>.
                  </li>

                </ul>
                <p class="p">The default value is <samp class="codeph nolang">BusinessRuleEngine</samp>.</p>
              </td>

              <td class="entry" headers="d476903e47" data-title="Required or Optional">Optional</td>

              <td class="entry" headers="d476903e49" data-title="Available Version">67.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d476903e41" data-title="Name"><samp class="codeph nolang">rulesetStatus</samp></td>

              <td class="entry" headers="d476903e43" data-title="Type">String</td>

              <td class="entry" headers="d476903e45" data-title="Description">Status of the dynamic ruleset. Possible values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Active</samp></li>

                  <li class="li"><samp class="codeph nolang">Inactive</samp></li>

                  <li class="li"><samp class="codeph nolang">Draft</samp></li>

                </ul>
              </td>

              <td class="entry" headers="d476903e47" data-title="Required or Optional">Required</td>

              <td class="entry" headers="d476903e49" data-title="Available Version">63.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d476903e41" data-title="Name"><samp class="codeph nolang">stageTransitionId</samp></td>

              <td class="entry" headers="d476903e43" data-title="Type">String</td>

              <td class="entry" headers="d476903e45" data-title="Description">ID of the stage transition.</td>

              <td class="entry" headers="d476903e47" data-title="Required or Optional">Required</td>

              <td class="entry" headers="d476903e49" data-title="Available Version">63.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d476903e41" data-title="Name"><samp class="codeph nolang">stageTransitionName</samp></td>

              <td class="entry" headers="d476903e43" data-title="Type">String</td>

              <td class="entry" headers="d476903e45" data-title="Description">Name of the source stage transition.</td>

              <td class="entry" headers="d476903e47" data-title="Required or Optional">Optional</td>

              <td class="entry" headers="d476903e49" data-title="Available Version">63.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d476903e41" data-title="Name"><samp class="codeph nolang">toStage</samp></td>

              <td class="entry" headers="d476903e43" data-title="Type">String</td>

              <td class="entry" headers="d476903e45" data-title="Description">Name of the stage the record is moving to.</td>

              <td class="entry" headers="d476903e47" data-title="Required or Optional">Optional</td>

              <td class="entry" headers="d476903e49" data-title="Available Version">63.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d476903e41" data-title="Name"><samp class="codeph nolang">underwritingRuleGroupId</samp></td>

              <td class="entry" headers="d476903e43" data-title="Type">String</td>

              <td class="entry" headers="d476903e45" data-title="Description">ID of the underwriting rule group.</td>

              <td class="entry" headers="d476903e47" data-title="Required or Optional">Optional</td>

              <td class="entry" headers="d476903e49" data-title="Available Version">63.0</td>

            </tr>

          </tbody>
        </table>