Skip to main content

Questions tagged [visual-flows]

Commonly referred as visual workflows.

Filter by
Sorted by
Tagged with
1 vote
2 answers
657 views

Custom Labels Translations not working in Lightning Flows

I am using a flow to send custom notifications to the end user. I invoke a subflow that I created for Custom Notifications from Record Triggered flow and pass Notification Title and Body as a Custom ...
0 votes
1 answer
834 views

Flow finish behavior - flow called by custom URL button

I have a Visual Flow that is triggered by a Button on a record. The flow sends an email notification and posts to chatter (without requiring any user input). When the flow is finished I just want ...
0 votes
1 answer
2k views

How to navigate to URL in LWC embedded in Flows Salesforce

i am trying to navigate to a URl from LWC component , which is embedded in FLOWS. I have tried each and every possible to navigate to that URL, but i am not able to, although i have debug and there ...
4 votes
0 answers
3k views

visual flow - how to get existing field values of record and fill it on flow screen fields

Working on visual flow and created one flow for insert and working fine. Again added one flow for update the records and that also working fine but the problem I am facing is that at time of updating ...
0 votes
1 answer
2k views

Fail to pass Value from Lightning Component to Flow

I am passing the values from lightning component to flow using Design Attribute. On Loading Flow 1 Screen, I am not getting the values of that attribute passed from lightning component to flow , ...
0 votes
0 answers
83 views

How to Open an Newly Created Record from flow in a subtab

I am invoking the flow on quickaction button.I am inserting an record through the flow and navigating to record detail page by using lwc.Currently the newly created record is opening in new tab.How ...
-1 votes
1 answer
38 views

Options to calling Autolaunched flow from apex batch job

I am trying to call autolaunched flow from Apex batch job but getting CPU time limit exceeded as i have few get records inside the loop. Is there any way to create or pass map to Salesforce flow so as ...
1 vote
1 answer
204 views

UserRecordAccess query not returning any results

I am calling a apex method from lightning flow. Inside method, I am trying to query UserRecordAccess as below : SELECT RecordId, HasReadAccess FROM UserRecordAccess WHERE UserId=:'005xxxxxxxxxxxxxx' ...
0 votes
2 answers
947 views

FSL Mobile Flow How to Get Content Document ID

Im trying to get Content Document ID in FSL Mobile flow. But there is limitation about this, like the documentation says below. When uploading images in flows, the content document IDs parameter isn’t ...
0 votes
1 answer
1k views

Callout failed for invocable action

I'm trying to set up a FLOW with an HTTP Callout "GET" request and I'm getting the below exception. Info Error Occurred: Callout failed for invocable action GetProspectLinkedinSearchTest....
2 votes
1 answer
4k views

How to capture duplicate rules in flows?

one of the steps of my flow is to create a contact. The users enter in the interface all the details and click next, my flow then tries to save the contact; however, if salesforce detects a duplicate ...
0 votes
1 answer
1k views

Displaying created case numbers on screen flow?

I have a screen flow used to create cases to the trading department. The flow functions as it should, however on the final screen, I want to give a reference to the case numbers that were created. I'...
0 votes
1 answer
534 views

" the field is not available to the running user" error when updating from a Transform record collection

I have a simple flow that looks at the VIN number on a customer Trailer record, and looks up info from that VIN via the NHTSA API. Immediately after the HTTP call I have a Transform element that maps ...
0 votes
1 answer
1k views

Handling errors in the Flows

I have a simple flow which just updates the record. But when updating the record, if it fails the users were getting an unhandled error exception. Like below: An unhandled fault has occurred in this ...
7 votes
2 answers
4k views

Flow "Refresh inputs to incorporate changes elsewhere in the flow" problem going back to the first element

I have several LWCs linked in a flow where each flow element is configured like this to share the current state of a Contact record: i.e.: "Manually assign variables" is checked "...
3 votes
4 answers
12k views

BR() not returning a line break in flows

As per Use the BR() Function in Flows and Processes Correctly (Critical Update), I am expecting BR() should return a line break. Through flow loop element, I am populating text area field. After each ...
6 votes
4 answers
3k views

LWR and flows - they don't go together right?

Just looking at this Experience Cloud documentation for the first time LWR - Differences in Behavior and it looks appealing where you want to build all of the UI yourself to have fine grained control, ...
0 votes
1 answer
512 views

Check if user has a custom permission group assigned in Salesforce Flow

I have a flow on the Salesforce Case object, and I want to assign the case record to a queue based on the following conditions: If the user's assigned permission set group contains 'x' in the name, ...
1 vote
4 answers
12k views

Check if text field is empty in flow builder

I have a requirement to override the default validation message shown in Flow-Builder for required form fields (text fields to be specific) that are left empty by the user. I'm trying to achieve this ...
0 votes
2 answers
698 views

Lead Lookup in a simple Screen Flow

I'm totally new to Flows. I'm trying to design a simple screen flow, that allows me to select a Lead and then delete it, along with associated Custom Object records in one go. As of now, I need to ...
-1 votes
1 answer
346 views

AURA component with implements="lightning:availableForFlowScreens" not showing up on flow screens

I have an aura component that has implements="lightning:availableForFlowScreens", but won't show up in the flow builder, other AURA components show up, but not this new one. Here is my AURA ...
5 votes
2 answers
13k views

Flow calling Apex, can't pass Collection Variable

I have an invokable apex method that I need to call from a Flow. Invokable methods are strict in the data type of their parameters -- I can't simply pass a string, instead, I have to pass a list<...
0 votes
1 answer
383 views

Custom Settings - Unable to access or see custom setting in Flows

I created a Custom Setting with Visibility - Public & Type - List to reference in Flows. But I don't know why I can't find the value. I noticed other Custom Settings with Type - Hierarchy are ...
1 vote
1 answer
3k views

Screen Flow Variables are not updating when re-visiting the Screen

I have a screen flow with 2 screens, on screen 2 based on the value provided in Screen 1 I am defining a formula variable and using it as a default value in Screen 2 text field, this is working well ...
0 votes
0 answers
229 views

Using flow to create X new records, based on user input X, of a custom object

Here's the use case: User creates a course (custom object) that has X sessions. The goal is to create a screen flow that is launched from the course and asks the user, how many sessions do you want ...
1 vote
1 answer
447 views

How to default the value of a conditionally rendered checkbox in a screen in a flow to false?

I have a flow where there are four checkboxes in a screen but one of them is conditionally rendered. That checkbox has its "Default Value" set to {!$GlobalConstant.False}, but that ...
-1 votes
1 answer
46 views

Approach to know the record belongs to specific record types (Apex,Flows,Validation rules)

We have around 50 record types on case. Soon we are going to merge our code with another instance where 20 more record types are present. What will be the best approach to run my apex code, validation ...
1 vote
1 answer
6k views

How to use display image in Salesforce flow?

I could not figure it out. How can we display image in the screen flow?
0 votes
1 answer
625 views

FieldSet accessible in Lightning Flows?

I want to create Custom Contact screen with selected fields on Account record. Since record type selection is not available on quick action I was trying to create a lightning flows where I want to ...
0 votes
0 answers
184 views

How do I use flows to update a custom picklist/text field everytime a topic is added to a contact or lead?

Ideal outcome: When we select an interest tag for a contact or lead record, the flows automations would automatically populate the corresponding interest tags values on a custom field (whether it be a ...
2 votes
3 answers
20k views

Split the values by a comma and pass it to a collection variable

I have a screen element where I input the opportunity Ids split by comma. I am wondering if there is a way to split the values by comma and add it to a collection variable so that I can loop through ...
0 votes
1 answer
1k views

Account Currency field in Screen Flow only rendering as text field, how to show picklist options?

I am currently working with a multi-currency Salesforce org and have been trying to add the "Account Currency" field on a Screen Flow. However, the field only renders as a text field and ...
3 votes
2 answers
2k views

Screen Flow Time Component

Is there a time only input component for screen flows? I could only find a Date and Date & Time components. Is there a way to add to a Flow screen an input field with only time selection?
7 votes
1 answer
11k views

Embed a Flow in a lightning web Component

Is there a way in LWC, to call flow from web components. I have a task where I need to add flow into Global action traditionally its not possible with salesforce out-of-box functionality. I'm able to ...
0 votes
1 answer
48 views

Facing issue while creating a dependency flow

requirement : if my picklist and subpicklist has values and my flow is dependent on checkboxes to trigger email alerts let say picklist : value1 subPicklist: Value1 checkbox1 : true checkbox2: true ...
1 vote
3 answers
2k views

How to trigger time dependent actions on Flows within an "if else if" logic?

I have had searching the way to build with flows an user requirement that was built with the process builder but I have not been able to migrate it. I notice that the difference between scheduled ...
0 votes
1 answer
499 views

Does Fast Update Flow consume a SOQL when we use the dot-notation to populate fields?

My question is, I have a Record-triggered fast flow on Opportunity. This is essentially a before-insert trigger context logic. Now in my flow, I am using the provided traversal from Opportunity to ...
1 vote
0 answers
472 views

Lightning Runtime Flow URL retURL to any page on salesforce is broken because of CORS

CORS Error: CORS: No 'Access-Control-Allow-Origin' header is present on the requested resource. Access at XMLHttpRequest at 'https://domain-dev-ed--c.na94.visual.force.com' from origin 'https://...
0 votes
2 answers
590 views

LiveChatTranscript get record from flow: Error: sObject type 'LiveChatTranscript' is not supported

I have Autolaunched Flow, I am launching flow from the Einstien chatbot. This issue started since last 5 days. Earlier it was working as expected. And there are no changes in OWD, Profile. OWD is ...
0 votes
0 answers
1k views

Screen inside Loop in Salesforce Lightning Flow

I'm trying to create a survey form using screen flow and for that I'm fetching the Question records from Question custom object and trying to show Questions as text along with their options as radio ...
1 vote
0 answers
4k views

List View Button to Launch Salesforce Flow?

I need to create a custom List view button that launches a Flow to update records. Is it possible to distribute a Flow via Custom List View button?
0 votes
0 answers
265 views

Scheduled Trigger flow not worked with Pause element

I need the clarification on creating a flow for the below scenario. I hope this flow needs to create with "Pause" element. That's the reason I tried with Scheduled triggered flow. But am not ...
0 votes
1 answer
4k views

Why is the error "Cannot read properties of undefined (reading 'setProperty')" occurring in my LWC FSC when using section components on flow screen?

I'm building a LWC to be used as a flow screen component. In the LWC, I allow the border color of the component to be customised using a custom property. To set the color of the element, I'm using ...
0 votes
1 answer
1k views

Picklist choice for flow

I have a field that stores comma separated values. We ask users in a free form text (string field) to add fruits they like, for example: Apple, Banana, Pineapple, Mango, etc. On the flow screen, we ...
4 votes
3 answers
5k views

Flow not recognizing enter key/line breaks in long text area field

I hav a flow that fetches data from a custom long text area field and populates its values in the contentnote. I have used HTMLEncode() in my flowformula so that it includes any spl characters in the ...
2 votes
2 answers
2k views

How to set the requestBody parameter as an input variable for a flow tied to external services?

I am exploring options of moving from code based apex to 'flows' using 'external services'. The service basically takes 3 parameters: SSN, account number and VIN (optional) and gives back a boolean ...
0 votes
0 answers
161 views

Automation regarding Flow Tests

Flow tests are not enforced and neither is coverage. As functionality across the org is migrated to flows, what is the best way to build automation around Flow tests. How do we ensure quality across ...
1 vote
1 answer
582 views

Is it possible to subscribe to events in a LWC flow screen component?

I have an LWC FSC (flow screen component). I am trying to subscribe to a CDC event, but the subscription never seems to execute. The same LWC when displayed on a lightning record page does subscribe ...
0 votes
3 answers
1k views

Flow Logic to Search/Loop Down Tree of Children Accounts

I want to thank anyone in advance for anything they can contribute to this issue I've run into. My goal is to dispatch email's when an Opportunity stage changes. The email's need to dispatch to the ...
0 votes
1 answer
215 views

Decision is not being evaluated in Flow resulting it in passing every time

I am new to flows and have a record triggered flow whereby when a ServiceAppointment Record is updated or created that it sends the record ID to an Apex action. This works just fine. I have to modify ...

1
2 3 4 5