Loading
시스템 관리자에 대한 피싱 방지 MFA 및 전 직원사용자 MFA 적용 안내 더 많이 읽기
Business Rules Engine
Object Variables in Expression Sets

Object Variables in Expression Sets

Use fields from objects as variables in an expression set. To use object fields as variables in expression sets, the fields must have field aliases defined. You can either use the field aliases available in your org, or have your admins create aliases for the objects fields that you plan to use in an expression set. Aliases are relevant and user-friendly names that are created for underlying source object fields. Field aliases are grouped under an object alias. Object and field aliases are created in Setup and are categorized by a usage type and usage subtype. When you create or modify an expression set, the field aliases related to the expression set’s usage type and usage subtype are available to you as variables in the expression set.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Unlimited, and Developer Editions for clouds that have Business Rules Engine enabled

With object field aliases, the hierarchy of the underlying source field in the object is separated from the object's alias. This separation makes the creation of aliases that are relevant to your industry’s requirement easy.

Example
Example An expression set finds the nearest emergency service for a patient. To calculate the distance from the patient's address to the closest emergency service, the expression set uses the PostalCode field from the Account object. The admin creates the alias, Patient, for the Account object, and another alias, ZipCode, for the PostalCode field in the Account object. The ZipCode alias maps to the Account.Contact.Address.PostalCode field. With this mapping, when you build an expression set, you avoid scanning through the hierarchy of the fields in the Account object to get to the PostalCode field. You select Patient as the object alias, and all its field aliases are available to you. You then select the field alias Patient.ZipCode. When the expression set runs, the underlying PostalCode field from the Account object is considered.
  • Object and Field Alias Considerations
    Let’s look at some points to consider when you create, modify, or delete object and field aliases.
  • Create Source Field Aliases
    You can use only object fields that have field aliases as variables in expression sets. Create field aliases from Setup. When you create a field alias, you can group the alias under an existing object alias, or create an object alias and then add the field alias.
  • Use Source Field Aliases in Expression Sets
    Use field aliases to use object fields as variables in expression set conditions.
 
로드 중
Salesforce Help | Article