Loading
Salesforce now sends email only from verified domains. Read More
Get Started with Communications, Media, and Energy & Utilities (CME)...
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Configure a Lookup Field

          Configure a Lookup Field

          Most State Model base objects are related to other objects such as Accounts or Contacts. If you are using Asset, Contract, Quote, InsuranceClaim__c, or Application__c, lookup fields for these related objects, such as AccountId__c or ContactId__c, already exist. If the lookup field you need doesn't exist in your base object, you can create it.

          Note
          Note When creating a new record from the lookup field, please be aware that the option to select a record type is only available in Lightning UI. This feature is not accessible in Classic UI.

          State Rules are often based on field values in related objects. For example, an InsuranceClaim__c record might follow a different path through a State Model depending on the age of a Contact.

          To create the Graded Contact field for the Report_Card__c object:

          1. In Setup, in the Object Manager, in the Report_Card__c object, in the Fields & Relationships tab, click New.
          2. Click Lookup Relationship, then click Next.
          3. In the Related To drop-down list, select Contact, then click Next.
          4. Specify the following settings. Leave other settings at their defaults.

            Setting

            Value

            Field Label

            Graded Contact

            Field Name

            ContactId

            Always require a value in this field in order to save a record

            (checked)

          5. Click Next three times, then click Save.

          The needs of your state model determine your next task:

          Then either Add State Model Components to an Existing Record Page or Add State Model Components to a New Record Page.

           
          Loading
          Salesforce Help | Article