Flows with Flow builder Flashcards
How is a Screen Flow launched by ?
Quick action
Lightning page
Experience Cloud site, and more
How is an Autolaunched Flow launched by ?
Another flow
Apex code
REST API
How is a Triggered Flow launched by ?
Time
Data change
Platform event
What is a screen flow ?
Screen Flows provide a UI that guides users through a business process.
What is an autolaunched flow ?
Autolaunched Flows automate business processes that have no UI. They have no trigger and they run in the background.
What is a Triggered flow ?
Triggered Flows are autolaunched by a trigger you specify. They run in the background. There are 4 of them : schedule-triggered, record-triggered, platform event-triggered or record triggered flow.
What is a flow ?
Flow automates business processes by executing logic, interacting with
the Salesforce database, and can collect data directly from users. Flows are built using
the Flow Builder. A flow interview is an instance of an executing flow.
What are faults ?
Faults are exceptions that can happen while processing Data elements in
a flow, displaying either a customized or default error message. It is the declarative
equivalent of exception handling.
Give a definition of global variables ?
Global Variables are system-provided variables that reference
information about the Salesforce org or running user, such as the user’s ID or the API session ID.
How can a user run a flow ?
To run flows, a user needs one of these:
● Run Flow permission
● Manage Flow permission
● Flow User checked on their User record
When to Mark Variable for Output ?
Mark Available for output to make variable accessible to:
● Subflow when sending data from calling flow
When to Mark Variable for Input ?
Mark Available for input to make variable accessible from:
● Custom button or link (record page)
● Lightning App Builder (record page)
● Quick Action (record page)
● Subflow when passing data to calling flow
In which case should we disable the previous button ?
Disable the Previous button for the next
screen after a Create Records, Update
Records, or Delete Records element.
How many active versions of a flow can we have ?
Only one version of the flow can be active at a time.
Where can we let a user pause a flow ?
The Paused Flow Interviews component can be added to:
- Lightning Home pages
- or Experience Builder Site pages,
- or to Mobile App navigation items.
When debugging a flow why would you
choose “Run flow as another user”?
Ensure that Field-Level Security doesn’t
cause run-time issues
We want to launch the Screen Flow from the Account record page. What is the best way to do this?
- Create a custom button or link
- Use standard Flow Component and add it using Lightning App Builder
What is DML ?
DML (Data Manipulation Language) is used to add, modify, or removed data in a database. In Salesforce, DML includes insert, update, delete, undelete, upsert(update+insert), and merge (update+delete).
What is the save order of execution ?
The Save Order of Execution describes the series of events that occur on
the Salesforce Platform when a record is saved.
What is a Record-Triggered Flow ?
A Record-Triggered Flow is defined on a particular Object and launches
when a record is created, updated, or deleted on the corresponding Object. It’s the nocode solution equivalent to the apex trigger.
What are the previous and after triggers used for ?
BEFORE : triggers can update record values prior to the Save step.
AFTER : triggers are used to access field values, such as Ids, that are set by
the system and to effect changes in other records.
Definition of constant
A constant is a value that cannot be altered by the flow or program
during normal execution.
What is a Debug Log ?
A debug log records database operations, system processes, and errors for a specified user every time that user executes a transaction.
What is a platform event ?
- Enable you to deliver secure, scalable, and customizable event notifications within Salesforce or from external sources.
- Rely on a publish-subscribe architecture.