PLAT-ADMN-202 practice question 4 of 35

Which two features can be used to allow users to access Flows? Choose 2 answers

Full set: 311 questions

Domain Object Manager and Lightning App Builder

Answer options
A: Quick Action Correct answer
B: Approval Process
C: Flow Launcher
D: Apex Correct answer
Correct Answer:
A. Quick Action; D. Apex
Explanation

Salesforce provides multiple ways for users to access or launch a Flow. A Quick Action can be configured on an object's page layout to launch a screen flow, providing a direct, user-initiated way to start an automated process. Additionally, Apex can be used to programmatically launch a flow using the Flow.Interview class. This allows developers to embed flow execution within more complex business logic, such as from a custom Lightning Web Component controller or a trigger, which is then exposed to the user through a custom UI element.

Why Incorrect

B. Approval Process: An approval process cannot directly launch a flow. Its standard automated actions are limited to creating tasks, sending email alerts, updating fields, and sending outbound messages.
C. Flow Launcher: "Flow Launcher" is not a standard, officially named Salesforce feature for flow distribution. While flows can be launched from various UI elements like the "Flow" Lightning component or custom buttons, "Flow Launcher" is an ambiguous and imprecise term.

References

1. Salesforce Help - Distribute Flows: This official documentation outlines the various methods to make a flow available to users. It explicitly lists "Quick Actions" and "Apex" as valid distribution methods.

Reference: Salesforce Help > Docs > Salesforce Flow > Distribute Flows. The page details, "You can distribute flows in a few ways, depending on who the flow is for... For example, add a flow to a Lightning page, Experience Cloud site, or quick action." It also states, "A developer can invoke a flow from Apex."

2. Salesforce Help - Create a Flow Quick Action for a Specific Object: This document provides a step-by-step guide on how to configure a Quick Action to launch a flow.

Reference: Salesforce Help > Docs > Salesforce Flow > Distribute Flows > Launch a Flow from a Quick Action.

3. Apex Developer Guide - Flow.Interview Class: This guide details how to start, resume, and manage flow interviews using Apex code.

Reference: Apex Developer Guide > Apex Reference > System Classes > Flow Class. The documentation states, "The Flow.Interview class contains methods for executing a flow interview."

4. Salesforce Help - Approval Actions: This document lists the available actions within an approval process, confirming the absence of a "Launch Flow" action.

Reference: Salesforce Help > Docs > Process Automation > Approvals > Set Up an Approval Process > Approval Actions. The page lists the four available action types: Task, Email Alert, Field Update, and Outbound Message.

Scroll to Top