Business Logic and Process Automation Flashcards
(211 cards)
What is a Record Type?
Defines the:
- page layout (i.e. fields)
- picklist values
- business process
for assigned records
What are some limitations of record types?
- Picklist fields that are used for business processes cannot be used for record types.
- A record type that is referenced in Apex cannot be edited/deleted
- Orgs may have difficulty managing over 200 record types
Can a user view several different page layouts for a single object?
Yes, but only can view one if no record types are defined
How are record types assigned?
- Profile or permission set
- gives access to create or edit
- all users can view record and assigned page layout, even if a given record type is not assigned to them.
What is the difference between a Master and a Custom record type?
- Each object has a Master record type that is system created
- All other manually created record types are custom
If a Master record type is selected in a profile, can custom record types be included? What about if a Custom record type is selected, would Master still be available?
No, no custom types would be available
No, only the other custom record types
Can a permission set grant access to Master record types?
No
What do record type access in profiles and permission sets control?
the creation and editing of specific record types
Is it true that users can view records of any record type? (as long as they have access to the object)
Yes
What is the high level purpose of record types?
Meant to improve data quality by avoiding unnecessary creation of multiple custom objects that serve very similar purposes
What determines whether the default record type will get used automatically?
The default record type preference setting in the User Settings
How do you specify the picklist values for a record type?
By choosing a subset of picklist values for each one
Do values added to a master picklist for an object automatically get added to each custom record type?
No, if you add a new value to the master, you must add it to each applicable custom record type.
What happens when you remove a value from a master picklist for an object –> For New and Existing records?
New: the value will no longer be an option
Existing: a selection is made to either replace the value or set it to blank
What is the impact of deactivating a value on a master picklist?
The old values on existing records can still be maintained.
Can one page layout be assigned to every record type? (even if profiles don’t have that record type assigned to them?)
Yes, this is because users who have access to the object are able to read records of any type, so one can configure and assign a page layout with specific fields to each record type.
Can page layouts be assigned through permission sets (for record types)?
No, when access to a record type is granted through a permission set, the user gets the page layout that is assigned to that record type through their profile, which cannot be modified.
What are the 4 business processes and the picklist fields that drive them?
Lead –> Lead Status
Opportunity –> Opportunity Stage
Case –> Case Status
Solution –> Solution Status
Is it true that if you are creating a custom record types for Leads, Opps, Cases, or Solutions that you must first predefine it?
Yes, and then associate to its record type
(Not all objects that support different record types need business process, but every business process needs a record type associated with it)
Scenario: How would you ensure that an account record is not edited by users once it has external ID associated?
- Create a “read only” record type and read only page layout (all fields marked as read only).
- Have a workflow rule update the record type field to the read only record type when the external id value has been populated
- You would not assign it to any profiles but activate it. This will ensure that users cannot pick it.
- The account name field is a standard field that would remain editable in this scenario but you could use a validation rule that prevents edits on “read only” record types.
What field types can have formulas?
- Checkbox
- Currency
- Date
- Date/Time
- Time
- Number
- Percent
* all numbers and boolean
How many relationships away can a cross object formula reference?
up to 10
What are formula fields and when do they calculate?
They are read only and calculate when one of the fields it is referencing is changed.
What type of field and relationship of the object is a roll-up summary used?
It is a custom field and can only exist on the master record in a master-detail relationship