Takeaways (Week 3) Flashcards
What is a Workflow Rules?
A workflow rule performs automated action when certain condition(s) are met.
Can be Immediate or Scheduled.
When can Workflow Rules be invoked?
Three ways it can be invoked
- when a record is created,
- created and every time it’s edited,
- when a record is created and subsequently edited to meet criteria.
What actions can the Workflow Rules take?
Create a task - unlike Process builder, Workflow can only create objects of the “Task” object
Update Records - limited to updating the record that invoked them OR the parent record, but only if that parent record is the master in a master-detail
Send email
Send Outbound Message
What is the definition of approval process?
Approval Process is a combination of steps for a record to be approved/rejected. An approval process also specifies the actions to take when a record is approved, rejected, recalled, or first submitted for approval.
What actions can an Approval Process take?
Task
Email Alert
Field Update
Outbound Message
What are the types of actions in the Approval Process?
Initial Submission Action - what happens when a record is submitted for approval?
Step Definition - who should records be routed to?
Final Rejection Actions - what happens when a record is rejected?
Final Approval Actions - what happens when a record is approved?
Final Recall - What happens if a record is recalled from the process?
Who can edit a record that’s locked by an approval process?
Asides from the Salesforce admin, depending on your settings, an assigned approver can also edit locked records.
What is a Process Builder?
A Process Builder is a tool provided by Salesforce to help you automate your process by updating or creating a record.
What are the three actions that can invoke a process?
Process can be invoked by:
- Record changes,
- platform event,
- invoked by another process
Examples of actions that a process can take
- Create a Record
- Update Record
- Email Alerts
- Post to Chatter
- Quick Actions
- Submit for Approval
- Flows
- Processes
- Quip
- Apex
- Send Custom Notification
What are duplicate rules, matching rules, and fuzzy matching?
Duplicate Rules: warn or stop creation of duplicates
Matching Rules: determine if a record will be a duplicate. Matches fields through exact or fuzzy matching
Fuzzy Matching - similar, but not exact matches
What is a formula field?
A formula field is a field that derives its value from other fields, expressions, or values.
NOTE: a formula field is calculated each time a user views a record or report but runs in system context. It is never saved to the database.
What is a Cross-Object Formula?
Formula that involves at least one field from a parent object.
You can create a cross-object formula on a child object up to 10 relationships away.
What is a Roll-Up Summary Field?
Roll up summary field is a field on a master record that summarizes date or numerical data from detail records.
It is recalculated whenever any referenced detail record is saved or deleted. (and is saved in the database)
What are Validation Rules? And what do we use them for?
Validation Rules verifies that the data a user enters in a record meets the standards you specify before the user can save the record.
We use to them to:
- improve data integrity
- make a field conditionally required
- prevent the entry of invalid data values directly by users or by other systems
- enforce role-specific, profile-specific, or user-specific constraints
What are the different types of flows?
Screen Flow,
Autolaunched Flow
Platform Event-Triggered Flow
Scheduled-Triggered Flow
Record-Triggered Flow
What is Screen Flow (“Wizard”)?
With Screen Flow, we can create a “Wizard” that walks a user through a process by breaking it down into a series of steps, each with their own screen.
It is the only flow that can use the screen element. The screen element is used to receive inputs from the users.
What is Autolaunched Flow (No Trigger)?
Autolaunched Flow are flows that can be launched automatically based on certain conditions or situations. (i.e. can be invoked by custom actions, process, another flow).
It’s unique in that it does not require user interaction during execution.