---
schema_version: "1"
id: a67ebbcb0cbf0b191d78b64ff8c79106343685dbecf8e9ce2c5f558ee4b15a11
title: Referral Assignment Rule Input
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/financial_services_cloud_object_reference/connect_requests_referral_assignment_rule_input.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/connect_requests_referral_assignment_rule_input.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 05fde77d27b5a40c3b4b93cbd4dcab2f957dce39546811e69a7403231136e9ca
description: The request payload used to create a draft referral assignment rule.
---
# Referral Assignment Rule Input

The request payload used to create a draft referral assignment rule.

## JSON Example

{
  "name": "Assign big home loans to User B",
  "description": "High-value home-loan referrals routed to the senior loan officer.",
  "sortOrder": 10,
  "ruleLogicalExpression": "1 AND 2",
  "conditions": \[
    {
      "fieldApiName": "Referral\_Product\_\_c",
      "operator": "Equals",
      "values": \["homeloan"\]
    },
    {
      "fieldApiName": "Referral\_Value\_\_c",
      "operator": "GreaterThan",
      "values": \["500000"\]
    }
  \],
  "assignee": {
    "type": "USER",
    "id": "005xx0000002BBBBB2"
  }
}

## Properties

| Property Name | Type | Description | Required |
| --- | --- | --- | --- |
| name | String | Display name for the referral assignment rule. The maximum supported length is up to 80 characters. | Required |
| description | String | Description of the business purpose of the rule. The maximum supported length is up to 255 characters. | Optional |
| sortOrder | Integer | Order in which this rule is evaluated. Lower values are evaluated first. | Optional |
| ruleLogicalExpression | String | Logical expression that determines how conditions are evaluated when a rule has more than one condition. For example, use 1 AND 2 AND 3 when the referral must match every condition, 1 OR 2 OR 3 when it must match at least one, or a custom expression such as 1 AND (2 OR 3) for a specific combination. | Optional |
| conditions | Referral Assignment Condition Input\[\] | Criteria that a referral must satisfy for this assignment rule to match. See [Referral Assignment Condition Input](https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/connect_requests_referral_assignment_condition_input.htm "A single field-operator-value condition used in a referral assignment rule."). | Required |
| assignee | Referral Assignment Assignee Input | User or queue that receives referrals matching this rule. See [Referral Assignment Assignee Input](https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/connect_requests_referral_assignment_assignee_input.htm "The user or queue that receives referrals matching an assignment rule."). | Required |