Developer Fundamentals 2 Flashcards
Programmatic and Declarative Best Practices | Governor Limits | Formula Fields | Roll-Up Summary Fields (46 cards)
What are the three main options for customizing the Salesforce Platform?
Declarative Tools
Programmatic Tools
Installed Items from AppExchange
Do Governor Limits apply to a Flow or Process?
Yes, Flow and Processes still invoke transactions which are subject to governor Limits.
What should be avoided in Flow Loops to avoid hitting Governor Limits?
DML Statements
Complex Formulas in Flow should be avoided. True or False?
True, it can affect the performance of the Flow.
How many Processes should be used per Object?
When a single master process is used for an object, actions are consolidated, more organized, and results in fewer actions. This design helps avoid hitting governor limits.
Should you Combine Actions?
Yes, More actions lead to higher number of DML statements or total CPU time spent, for example. If a single action can complete the job, using multiple actions should be avoided.
What happens when a process creates a record, which triggers another process, and this triggered process updates a record that triggers the original process?
We have an Infinite Loop which can hit governor Limits.
What is a Formula Field?
Formula fields are read-only fields that automatically calculate a value based on other fields, expressions, or values.
When do Formula Fields Update?
Formula fields are automatically updated when one of the fields referred in the formula changes.
Is a Formula Fields Data Current?
Yes, A formula field calculates the latest data when it is viewed, and it can be used in reports and SOQL queries.
What are the Function Categories available in a Formula Field?
Different formula function categories are Date & Time, Logical, Math, Text, and Advanced.
What are the Valid Return Types of Formula Fields?
Checkbox, Currency, Date, Date/Time, Number, Percent, Text, or Time.
What are the two different types of Formulas that a Formula field can be based on?
Simple Formula and Advanced Formula
What are the Capabilities of Simple Formulas?
Simple formulas allow selection of one or more fields and operators such as Add / Subtract / Concatenate.
What are the Capabilities of Advanced Formulas?
Advanced formulas allow selection of one or more fields, operators and advanced functions.
How do you create a Formula Field?
When creating a new field, you select the Formula data type and then click next.
What is a cross object formula?
Cross Objects Formulas are formulas that are used to reference data from parent objects.
How many relationships away can a cross object formula reach?
A cross-object formula can reference fields from master/parent objects are up to 10 relationships away.
Cross-object formulas support referencing fields from objects that are related via either lookup or master-detail relationships. True or False?
True
A cross-object formula used in a formula field on a child object can reference merge fields from a parent object. True or False?
True
What is a Merge Field?
A merge field is a field that can be used in a cross-object formula to incorporate values from the current record or a related record.
What are the Math Operators available in Formula Fields?
Add
Subtract
Multiply
Divide
Exponent
Parentheses
What are the Logical Operators available in Formula Fields?
Equal
Not Equal
Less Than
Greater Than
Less Than or Equal
Greater Than or Equal
AND
OR
What are the text Operators available in Formula Fields?
Concatenate