Podcast
Questions and Answers
What is the primary function of Workflow Rules in Salesforce?
What is the primary function of Workflow Rules in Salesforce?
- To trigger actions based on criteria evaluated on a single record (correct)
- To automate the entire Salesforce interface
- To create comprehensive applications without any coding
- To trigger actions based on criteria evaluated on multiple records
Which action is NOT associated with Workflow Rules?
Which action is NOT associated with Workflow Rules?
- Sending email alerts
- Creating a task
- Updating fields
- Creating a new record type (correct)
What distinguishes Approval Processes from Workflow Rules?
What distinguishes Approval Processes from Workflow Rules?
- Approval Processes cannot lock records during the process
- Approval Processes require a sequence of steps for approval (correct)
- Approval Processes can only create email alerts
- Approval Processes are restricted to immediate actions
As of the Winter '23 update, what key change affects Workflow Rules?
As of the Winter '23 update, what key change affects Workflow Rules?
Which component is NOT part of the lifecycle of an Approval Process?
Which component is NOT part of the lifecycle of an Approval Process?
Which of the following statements about the capabilities of Flow is TRUE?
Which of the following statements about the capabilities of Flow is TRUE?
What type of actions can be performed by both Workflow Rules and Approval Processes?
What type of actions can be performed by both Workflow Rules and Approval Processes?
Why are Workflow Rules still considered relevant despite being phased out?
Why are Workflow Rules still considered relevant despite being phased out?
What is the purpose of the Fault Path in a Flow?
What is the purpose of the Fault Path in a Flow?
Which statement best describes the Rollback Records element in Screen Flows?
Which statement best describes the Rollback Records element in Screen Flows?
What triggers Record-Triggered Flows?
What triggers Record-Triggered Flows?
What is the function of the $Record_Prior global variable in Flows?
What is the function of the $Record_Prior global variable in Flows?
Which action is NOT commonly automated in an Approval Process?
Which action is NOT commonly automated in an Approval Process?
What distinguishes an Autolaunched Flow from other types of Flows?
What distinguishes an Autolaunched Flow from other types of Flows?
In which scenario would a Before-Save Record-Triggered Flow be used?
In which scenario would a Before-Save Record-Triggered Flow be used?
What is the main purpose of using Subflows within Flows?
What is the main purpose of using Subflows within Flows?
What must be done for users to launch an Approval Process manually?
What must be done for users to launch an Approval Process manually?
Which type of Flow is executed at a predetermined time and frequency?
Which type of Flow is executed at a predetermined time and frequency?
What is the maximum number of approval steps allowed in a multi-step approval process?
What is the maximum number of approval steps allowed in a multi-step approval process?
Which feature is NOT supported by Process Builder?
Which feature is NOT supported by Process Builder?
What does the acronym RAPSS stand for in relation to Flow types?
What does the acronym RAPSS stand for in relation to Flow types?
What is a key feature of Before-Save Record-Triggered Flows?
What is a key feature of Before-Save Record-Triggered Flows?
How can Screen Flows be deployed?
How can Screen Flows be deployed?
Which type of Flow allows execution when a specific Platform Event is published?
Which type of Flow allows execution when a specific Platform Event is published?
What is the main role of the Flow Trigger Explorer?
What is the main role of the Flow Trigger Explorer?
What is a unique feature of Login Flows?
What is a unique feature of Login Flows?
Which is a best practice for using Process Builder?
Which is a best practice for using Process Builder?
What distinguishes After-Save Record-Triggered Flows from Before-Save?
What distinguishes After-Save Record-Triggered Flows from Before-Save?
Which element is considered part of the building blocks of a Flow?
Which element is considered part of the building blocks of a Flow?
What happens during the approval process concerning record editing?
What happens during the approval process concerning record editing?
Which aspect of Process Builder is slated for retirement?
Which aspect of Process Builder is slated for retirement?
Which type of Flow can specify immediate or scheduled actions based on multiple criteria?
Which type of Flow can specify immediate or scheduled actions based on multiple criteria?
What is the primary use case for Autolaunched Flows?
What is the primary use case for Autolaunched Flows?
Which element is NOT typically available in Schedule-Triggered Flows?
Which element is NOT typically available in Schedule-Triggered Flows?
What model does Platform Events follow?
What model does Platform Events follow?
What is a key characteristic of Flow Debugging?
What is a key characteristic of Flow Debugging?
What limitation should be considered when using database elements in Flows?
What limitation should be considered when using database elements in Flows?
What is the primary purpose of Fault Paths in Flows?
What is the primary purpose of Fault Paths in Flows?
What is the significance of the Save Order of Execution in Salesforce?
What is the significance of the Save Order of Execution in Salesforce?
What can Schedule-Triggered Flows be configured to do?
What can Schedule-Triggered Flows be configured to do?
Which tool should be chosen when needing to update records efficiently?
Which tool should be chosen when needing to update records efficiently?
What is meant by Input/Output Resources in the context of Subflows?
What is meant by Input/Output Resources in the context of Subflows?
How many records can be involved in a Flow runtime operation?
How many records can be involved in a Flow runtime operation?
What is the main goal of creating a Fault Path?
What is the main goal of creating a Fault Path?
What is a critical aspect of the Salesforce Flow development process?
What is a critical aspect of the Salesforce Flow development process?
Which statement regarding Platform Events is true?
Which statement regarding Platform Events is true?
What can be achieved by using the Process Builder compared to Workflow Rules?
What can be achieved by using the Process Builder compared to Workflow Rules?
Which of the following is true about Screen Flows?
Which of the following is true about Screen Flows?
What distinguishes Before-Save Flows from After-Save Flows?
What distinguishes Before-Save Flows from After-Save Flows?
How do Platform Event Triggered Flows function?
How do Platform Event Triggered Flows function?
What role does the 'Submit for Approval' button play in Approval Processes?
What role does the 'Submit for Approval' button play in Approval Processes?
What are the five core types of Flows?
What are the five core types of Flows?
What is the purpose of the $Record global variable in Record-Triggered Flows?
What is the purpose of the $Record global variable in Record-Triggered Flows?
What unique feature does the Process Builder offer compared to Workflow Rules?
What unique feature does the Process Builder offer compared to Workflow Rules?
Which statement is true regarding the use of Flows in Salesforce?
Which statement is true regarding the use of Flows in Salesforce?
What is the main distinction between Auto-launched Flows and Screen Flows?
What is the main distinction between Auto-launched Flows and Screen Flows?
What feature allows for customizing the user experience in Screen Flows?
What feature allows for customizing the user experience in Screen Flows?
Which of these elements is NOT part of Flows?
Which of these elements is NOT part of Flows?
What is one common best practice when creating processes in the Process Builder?
What is one common best practice when creating processes in the Process Builder?
What is the purpose of Fault Paths in Flows?
What is the purpose of Fault Paths in Flows?
Flashcards
Workflow Rule
Workflow Rule
Automated process triggered when specific criteria are met on a single record, executing immediate or time-dependent actions.
Workflow Action
Workflow Action
Actions triggered by a Workflow Rule, occurring immediately or after a specified time.
Approval Process
Approval Process
A process automation tool used to define the steps required to approve a record.
Entry Criteria (Approval Process)
Entry Criteria (Approval Process)
Signup and view all the flashcards
Initial Submission Actions (Approval Process)
Initial Submission Actions (Approval Process)
Signup and view all the flashcards
Approval Steps (Approval Process)
Approval Steps (Approval Process)
Signup and view all the flashcards
Final Approval/Rejection Actions (Approval Process)
Final Approval/Rejection Actions (Approval Process)
Signup and view all the flashcards
Record Locking (Approval Process)
Record Locking (Approval Process)
Signup and view all the flashcards
Screen Flow
Screen Flow
Signup and view all the flashcards
Fault Path
Fault Path
Signup and view all the flashcards
Rollback Records
Rollback Records
Signup and view all the flashcards
Process
Process
Signup and view all the flashcards
Record-Triggered Flow
Record-Triggered Flow
Signup and view all the flashcards
Global Variables
Global Variables
Signup and view all the flashcards
Subflow
Subflow
Signup and view all the flashcards
Save Order of Execution (SOOE)
Save Order of Execution (SOOE)
Signup and view all the flashcards
Multi-Step Approvals
Multi-Step Approvals
Signup and view all the flashcards
Editing During Approval Process
Editing During Approval Process
Signup and view all the flashcards
Process Builder
Process Builder
Signup and view all the flashcards
Process Types
Process Types
Signup and view all the flashcards
Process Builder Actions
Process Builder Actions
Signup and view all the flashcards
Flow Types
Flow Types
Signup and view all the flashcards
Flow Resources
Flow Resources
Signup and view all the flashcards
Flow Elements
Flow Elements
Signup and view all the flashcards
Screen Components
Screen Components
Signup and view all the flashcards
Direct Assignment
Direct Assignment
Signup and view all the flashcards
Platform Event Triggered Flows
Platform Event Triggered Flows
Signup and view all the flashcards
What is a Workflow Rule?
What is a Workflow Rule?
Signup and view all the flashcards
What is a Platform Event Triggered Flow?
What is a Platform Event Triggered Flow?
Signup and view all the flashcards
What are Platform Events?
What are Platform Events?
Signup and view all the flashcards
What are Autolaunched Flows?
What are Autolaunched Flows?
Signup and view all the flashcards
What are Schedule-Triggered Flows?
What are Schedule-Triggered Flows?
Signup and view all the flashcards
What are Flow Debugging tools?
What are Flow Debugging tools?
Signup and view all the flashcards
What is a Fault Path?
What is a Fault Path?
Signup and view all the flashcards
Why are Flow Naming Conventions important?
Why are Flow Naming Conventions important?
Signup and view all the flashcards
What is a best practice for using Flow elements in loops?
What is a best practice for using Flow elements in loops?
Signup and view all the flashcards
What is a best practice for handling large data in Flows?
What is a best practice for handling large data in Flows?
Signup and view all the flashcards
What is the key shift happening in Salesforce automation?
What is the key shift happening in Salesforce automation?
Signup and view all the flashcards
What are the key advantages of using Flows for automation?
What are the key advantages of using Flows for automation?
Signup and view all the flashcards
Why is it important to consider context when working with Flows?
Why is it important to consider context when working with Flows?
Signup and view all the flashcards
What is the importance of debugging and best practices when creating Flows?
What is the importance of debugging and best practices when creating Flows?
Signup and view all the flashcards
Why is it important to understand the Save Order of Execution (SOOE) in Salesforce?
Why is it important to understand the Save Order of Execution (SOOE) in Salesforce?
Signup and view all the flashcards
Three actions a Workflow Rule can perform
Three actions a Workflow Rule can perform
Signup and view all the flashcards
Created, and any time it's edited to subsequently meet criteria
Created, and any time it's edited to subsequently meet criteria
Signup and view all the flashcards
Flows
Flows
Signup and view all the flashcards
Auto-Launched Flows
Auto-Launched Flows
Signup and view all the flashcards
Platform Event
Platform Event
Signup and view all the flashcards
Rollback Records element
Rollback Records element
Signup and view all the flashcards
Submit for Approval button
Submit for Approval button
Signup and view all the flashcards
Actions within an approval process
Actions within an approval process
Signup and view all the flashcards
Difference between Record-Triggered Flows and Platform Event Triggered Flows
Difference between Record-Triggered Flows and Platform Event Triggered Flows
Signup and view all the flashcards
Global variables in Record Triggered Flows
Global variables in Record Triggered Flows
Signup and view all the flashcards
Study Notes
Salesforce Process Automation Tools
- Workflow Rules: A tool to automate actions based on single-record criteria. Actions can be immediate or time-dependent, involving tasks, email alerts, field updates, or outbound messages. Evaluation criteria include record creation, creation/edit, or creation/edit based on subsequent criteria. Workflow rules are deprecated, with no new rules allowed as of Winter '23. Existing rules can still be edited.
- Approval Processes: Automate approval steps for a record. The process involves entry criteria, initial submission actions, approval steps (with actions), and final approval/rejection actions. Records are locked. Configurable actions are similar to Workflow Rules. Processes can have up to 30 approval steps with up to 25 approvers per step. Automatic approvers (e.g., using manager hierarchical fields) are possible. Editing can be allowed during the process. Records can be viewed in various locations such as email and mobile devices. Launched via submit button or flow.
- Process Builder: A point-and-click tool for more sophisticated automated processes than Workflow Rules. Actions include running Apex, creating/updating records, sending emails, launching Flows, posting to Chatter, etc. Multiple criteria can be evaluated to trigger corresponding actions. Processes include record change, platform event, and invocable types; can execute immediate or scheduled actions. The Process Builder is being retired and new processes cannot be created. Existing processes are likely editable for some time. Best practice is one Process per object, using
ISNEW()
in filters. Migration to flows is possible via the Migration Tool. - Flows: A collection of actions guided by graphical logic in the Flow Builder. Includes various types: Record-triggered, Autolaunched, Platform Event triggered, Scheduled, and Screen Flows (RAPSS acronym). Flows utilize resources (variables, constants, formulas) and elements (Screens, Actions, Subflows, Assignments, Decisions, Loops, etc.). Contain system-provided global variables ($Flow, $UserRole). Versioned with a single active version.
Flow Types
- Record-Triggered Flows: Execute on record creation, update, or deletion. Two types: Before-Save (for quick, single-record updates - access to record ID unavailable before record is saved) and After-Save (for actions on other records, utilizing system fields and $Record/$Record__Prior). Scheduled paths can be created to execute actions after the record is saved.
- Platform Event Triggered Flows: Triggered by a specified platform event's publication. These events, using a publisher/subscriber model, can be triggered inside or outside Salesforce. The $Record variable holds the Platform Event message's fields.
- Autolaunched Flows: Execute without a trigger; often used as reusable Subflows. Launched by various means (Processes, Apex, REST API, Flow Orchestration, or Subflows).
- Schedule-Triggered Flows: Execute at a specific time and frequency (once, daily, weekly). Records can optionally be selected for action.
- Screen Flows: Provide a user interface (UI) for data gathering or display. Elements include screen components (input/output elements). Can be deployed via Lightning App Builder, Quick Actions, or Custom Buttons, offering both User Context and System Context. Can perform data assignments directly and include record fields. Navigation control elements (Next, Back, Pause). Login Flows are a special type.
Debugging and Best Practices
- Utilize Flow debugging tools including testing as another user, viewing detailed logs, and rolling back changes.
- Implement error handling using Fault Paths to manage errors & Rollback Elements to reverse actions in Screen flows.
- Practice naming conventions for flow organization.
- Avoid putting database elements (create, update, get) inside loops within a flow.
- Use collections when handling multiple records, and operate on the whole collection instead of individual records. Avoid placing database changes within loops. Use collections instead and act on the whole collection to avoid bottlenecks. Choose the appropriate flow type (e.g., Record-Triggered Flow instead of Screen Flow) for efficient execution.
Key Takeaways
- Salesforce is migrating towards Flows as the primary automation tool.
- Flows are versatile and encompass several automation options.
- Context consideration in Flows (user vs. system context) and record-lifecycle (before vs. after save).
- Thorough testing and robust best practices are essential for stable and efficient flow design.
- A solid understanding of Save Order of Execution (SOOE) is critical for complex flows, particularly record-triggered flows.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.