Salesforce Flow Flashcards

1
Q

What tool do you use to see the scheduled paths that run in the future, such as the path that runs 5 days after an Opportunity closes?

A. Flow Trigger Explorer
B. Orchestration Runs List
C. Time-based workflow page
D. Flow Builder

A

C. Time-based workflow page

With Flow Trigger Explorer, you can select an object to see all of the associated flows that run when a record is created, updated, or deleted, and change the order in which those flows run. But how do you see individually scheduled instances of a path that runs in the future (such as a path that runs five days after an Opportunity closes)? For that, you use the Time-Based Workflow page

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

You can activate a flow from the Flow Details pane

A. TRUE
B. FALSE
A

A. TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which use case requires an Autolaunched flow?

A. Launching interactive automations automatically when a page loads
B. Launching automation automatically when a trigger happens in Salesforce
C. Launching noninteractive automation from a button
D. Running interactive automation from an action button

A

C. Launching noninteractive automation from a button

An Autolaunched flow has no trigger defined within the flow. It runs when it’s initiated by something else (action button, Einstein Conversation AI, another Flow, Other automation). You have much more control over when it runs because it’s not limited to a schedule, record change, or platform event.
It runs without any user interaction.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

In a flow list view, which field helps to differentiate a true Autolaunched flow from other autolaunched flows?

A. Process Type
B. Flow Type
C. Process Trigger
D. Trigger

A

D. Trigger

You need to know what triggers each flow to run, so add the Trigger field to the list view. Together, the process type and trigger differentiate the four types of autolaunched flow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What types of screen components receive input from users?

A. Display Components
B. Input Fields
C. Record components
D. Input components and records fields

A

D. Record components and input fields

There is no such things as Input fields and record components

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In screen flows, how do you save the data that users enter to a Salesforce record?

A. Add a save element
B. Add a data element
C. Set the destination record in the Screen element
D. Assign the data to a record variable

A

B. Add a data element

You need a Create or Update Record element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What’s the difference between the Run and Debug buttons in Flow Builder?

A. Only the Run button uses the latest version of the flow
B. The Debug button displays details for debugging the flow
C. The Debug button automatically fixes issues in the flow
D. The Run button is available only for active flows

A

B. The Debug button displays details for debugging the flow

When you click “Run”, the last saved version of your flow will be executed. When clicking on “Debug”, you can specify values for input variables as well as view debug logs at each flow step to check if each step is being executed as expected.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What’s true of a flow interview?

A. It’s an instance of a flow
B. It takes the same path through the flow
C. It’s how you get certified to build flows
D. It’s a special connector between two elements

A

A. It’s an instance of a flow

Based on the data provided for that interview, either by input variables or input components on a screen, each interview can take a different path through the flow and result in different actions being performed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the advantage of running a flow in user context during testing?

A

Running a flow in user context allows you to test the flow with the same permissions and settings as a specific user, ensuring that it works correctly for different roles and profiles.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the three main ways to test a flow in Salesforce?

A

The three main ways to test a flow in Salesforce are:

  1. Debugging the flow
  2. Running the flow in user context
  3. Testing with actual data in a sandbox environment
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What allows admin to debug flows to check if the flows works for different users?

A

The checkbox setting “Let admin users debug the flow as other users” in Setup -> Process Automation Settings

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does a flow connector do?

A. It tells Salesforce which flow to start next
B. It tells the flow which resource to create next
C. It tells the flow which element to execute next
D. It tells the flow which external database to connect to

A

C. It tells the flow which element to execute next

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which flow element can send an email?

A. Send Email
B. Action
C. Subflow
D. Screen

A

B. Action

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What do you use to access custom metadata types in Flow Builder?

A. The $Metadata global action
B. The Custom Metadata resource type
C. The Get Metadata action
D. The Get Records element

A

D. The Get Records element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

In an Assignment element, which field holds the new variable value?

A. New Value
B. Variable
C. New Variable
D. Value

A

D. Value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

In an Assignment element, which field holds the variable whose value is being changed?

A. Changed Value
B. Variable
C. Held Variable
D. Value

A

B. Variable

17
Q

What value does a Running User’s Permission global variable return if the running user has the specified custom permission?

A. The custom permission’s API name
B. The custom permission’s Value field
C. True
D. False

A

C. True

18
Q

What menu option do you select to create a nonlinear connection between elements?

A. Connect to element
B. Nonlinear connect
C. Connect elsewhere
D. Go to element

A

A. Connect to element

19
Q

The VP of sales at Dreamscape wants an account record’s Industry and SIC Code field set to blank when an account’s Type field is updated. Which type of flow should the admin use to automatically update fields on a record based on changes to that record?

A. Record-Triggered flow with Fast Field Updates
B. Record-Triggered flow with Actions and Related Records
C. Autolaunched Flow
D. Scheduled-Triggered Flow

A

D. Scheduled-Triggered Flow

20
Q

The VP of sales at Dreamscape wants lead owners to review any leads without any update for more than a week. Which of the following options is the best way the Salesforce admin can configure a flow to automatically notify the lead owner of such records?

A. Record-Triggered flow with Fast Field Updates
B. Record-Triggered flow with Actions and Related Records
C. Autolaunched Flow
D. Scheduled-Triggered Flow

A

B. Record-Triggered flow with Actions and Related Records

21
Q

How do you adjust a flow so that any user can create new case records, without making any changes to the existing record security or record access settings?

A. User of System Context
B. System Context with Sharing
C. System Context without Sharing

A

C. System Context without Sharing

Settings-> Show Advanced -> How to Run the Flow

22
Q

What is true when working with loops within a flow?

A. Create separate collection variables for use in a loop rather than reusing a variable
B. A maximum of 1000 new records can be created within the loop
C. Individual records are edited within the loop after turning governor limits off
D. The collection variable is populated with Get Records as the first element within the loop

A

A. Create separate collection variables for use in a loop rather than reusing a variable

Reusing variables can lead to unexpected results or errors, especially in complex flows where variables might retain unintended values. Using separate collection variables helps maintain clarity and reduces the risk of overwriting data

B is false because while there is no explicit limit on the number of new records you can create within a loop, you must be aware of the total transaction limit, which includes limits like DML operations. Exceeding these limits will cause your flow to fail

C is false because governor limits in Salesforce are enforced to ensure efficient use of resources in a multi-tenant environment and cannot be turned off.

D is false because the collection variable should be populated with a Get Records element before the loop starts, not as the first element within the loop

23
Q

What is a benefit of a collection filter element?

A. Collection filters are designed to work with lower processing limits
B. Collection filters can replace loops, resulting in simpler flows
C. Collection filters override a collection passed in a flow
D. Collection filters generate a transitory record variable for single use

A

B. Collection filters can replace loops, resulting in simpler flows

Collection filters can simplify flows by reducing the need for loops when you need to filter out records based on certain criteria. Instead of iterating through each record in a loop, you can use a collection filter to achieve the same result in a more efficient and simpler manner.

24
Q

Which statement about data manipulation language (DML) and loops is true?

A. Use an Update Records element inside For Each elements to avoid issues with DML in loops
B. Use an Update Records loop element to sort through ry large collections of records
C. Use a Create Records data element if you need to use DML actions inside a loop
D. Use any Create, Update, Get or Delete Records elements outside any loops

A

D. Use any Create, Update, Get or Delete Records elements outside any loops

This best practice avoids hitting governor limits

25
Q

What is a consideration regarding flows installed from managed packages?

A. Admins can only activate or deactivate the flows
B. Admins can open and see details of the flow
C. Admins can edit the template flows
D. Admins can see details of template flows but cannot edit them

A

D. Admins can see details of template flows but cannot edit them

B is incorrect. Admins typically cannot see the internal details of flows that are part of a managed package unless the package is an unlocked package or the flow is a template flow.

26
Q

Which statement regarding flows’ trigger order value and application programming interface (API) names relating to flow execution is correct?

A. Multiple flow with the same trigger order value run in alphabetical order based on the flows’ API names
B. An admin can configure trigger order value to prioritize an after-save flow to run before a before-save flow
C. Multiple flows relating to a certain object must have a unique trigger order value
D. Flows without trigger order values run in alphabetical order based on the flows’ API names

A

A. Multiple flow with the same trigger order value run in alphabetical order based on the flows’ API names

D is false. In Salesforce, the concept of “flows without trigger order values” is not entirely accurate. By default, all flows have an implicit trigger order value even if it’s not explicitly set by the admin. When the trigger order is not explicitly defined, Salesforce assigns a default order, and it does not necessarily rely on the alphabetical order of the API names.

27
Q

In Setup, where can the admin find information on currently paused and failed flows?

A. Paused and Failed Flow Settings
B. Paused and Failed Flow Interviews
C. Paused Flow Interviews
D. Process Automation Settings

A

B. Paused and Failed Flow Interviews

28
Q

If an admin has the necessary permissions and system configuration, where would they debug a flow as another user?

A. Within the Debug Flow modal launched from a flow
B. Process Automation Settings in Setup
C. Debug As User on the User record for a particular user
D. From the View Details and Versions dropdown for a flow

A

A. Within the Debug Flow modal launched from a flow

29
Q

What should be considered when testing record-triggered flows?

A. Only record-triggered flows an include record-level tests in the Debug flow window
B. Only selected field values on a triggering record can be used to test specific scenarios
C. When debugging flows, record updates are rolled back and aren’t committed to the database
D. Records updated by tests of scheduled paths in record-triggered flow are committed to the database

A

C. When debugging flows, record updates are rolled back and aren’t committed to the database

Record-triggered flows always run in rollback mode

30
Q

Which key functionality does the Roll Back Records element provide?

A. Allows pending record changes to save to the database even if a flow element fails in the transaction
B. Cancels pending record changes without saving to the database
C. Executes selected elements in a configured fault path
D. Provides a screen interface for users to review information about an error in a transaction

A

B. Cancels pending record changes without saving to the database

31
Q

What is a consideration for using formula fields in Flow Builder?

A. Formulas are unable to update Record elements after save flow triggers
B. Formulas are unable to be used in trigger conditions on before save flow triggers
C. Formulas are unable to trigger record-triggered flows
D. Formulas are unable to be used in Decision elements in record-triggered flows

A

C. Formulas are unable to trigger record-triggered flows.

Formula fields do not trigger record-triggered flows because they do not cause a change to the database itself. They are evaluated at runtime based on other field values. Record-triggered flows are triggered by actual changes to data stored in the database, not by computed values of formula fields.

32
Q

Which element supports Fault Connectors?

A. Create Records
B. Assignment
C. Loop
D. Decision

A

A. Create Records

33
Q

What is an effective way to use Flow Builder to get external data and then create records in Salesforce?

A. Use a Get Records element configured with an Apex action and a Process.Plugin interface
B. Create a Named Credential in Salesforce and then add an Action element which uses an HTTP Callout
C. Configure a REST API element with an Apex action and an apex class with an @InvocableMethod annotation
D. Use a record-triggered flow wit an Apex-defined data type to configure a custom component that displays a value

A

B. Create a Named Credential in Salesforce and then add an Action element which uses an HTTP Callout

C is also correct, but required more custom code.

34
Q

Which trigger context can Apex use, but is not available for flows?

A. After update
B. Before delete
C. Before update
D. After delete

A

B. Before delete

This context is available in Apex triggers but not in Salesforce flows. Apex triggers can be written to execute logic before a record is deleted, which allows for actions like validation or setting related records’ fields before the deletion occurs. Flows, however, do not support the “before delete” context directly.

35
Q

What should be considered when troubleshooting distributing a flow URL?

A. A flow’s URL always references the most recent version of the flow
B. The URL references a flow’s API Name without reference to case sensitivity
C. Value passed into a variable must be compatible with the variable’s data type
D. Any referenced subflows must have at least one element at passes inputs to the flow URL

A

C. Value passed into a variable must be compatible with the variable’s data type

36
Q

A user receives the error message “Error: OwnerId is not a valid lookup field.” What is the cause of this error?

A. The ownerId field does not have a value in the record queried
B. Lookup fields must be configured as record choice sets
C. The Flow Lookup component is unable to reference fields that support other objects
D. The system administrator has not configured Advanced Lookup in the Lookup component

A

C. The Flow Lookup component is unable to reference fields that support other objects

Explanation: In Salesforce Flows, the Lookup component is used to search for and select records from other objects. The OwnerId field is a polymorphic field, meaning it can reference different types of objects (e.g., users, queues). The Flow Lookup component often has limitations when dealing with such polymorphic fields, which is why it cannot reference fields like OwnerId that support multiple object types.

37
Q

Which level of access must a running user have to an object referred to in a lookup component in a screen flow?

A. Read access
B. Create access
C. Edit access
D. Modify all Access

A

B. Create access

To use the Lookup component, the running user of the flow must have the Create permission on the source object.

38
Q

When working with loops, which of the following statements is true about elements?

A. Get Records: Identify the records the loop will process and take initial update actions
B. Loop: Update all records in a collection at the same time
C. Assignment: Enact changes on all records so they update concurrently
D. Update Records: Commit the updated records to the database

A