Questions tagged [screen-flow]

Use this tag as a reference to questions that are related to screen flows in Salesforce.

Filter by
Sorted by
Tagged with
0 votes
1 answer
14 views

How to redirect to start of the flow using LWC embedded in the same flow

I wanted to redirect the user from LWC. LWC is embedded in the same flow, I tried the following, import { FlowNavigationStartEvent } from 'lightning/flowSupport'; handleGoToStart() { const event = ...
0 votes
1 answer
19 views

Dynamically provide values to getRecords wire adapter

I'm working on a record table to display in a flow, I've had a look at the free ones available on the app exchange but none seem to include all of the features I want so I'm trying to build my own. ...
0 votes
1 answer
31 views

Usage LWC in flow returns error when package creation

I used the LWC component which works on orgs of all types (sandboxes, scratches, etc) and used in screen flow. There were no errors when I've ever deployed to these orgs. BUT When I've tried to create ...
0 votes
1 answer
33 views

Conditional Rendering of a picklist

I need help to perform a conditional rendering where if a user selects a value from income type based on the selection, the income source picklist value should change, and I tried to achieve this ...
0 votes
1 answer
38 views

Salesforce Flow Button on a Record Page to automatically fetch record info

I am trying to create a Custom button on an Opp Record Page to trigger a flow. I placed the flow Button on Campaign__c Record page. This Object, Campaign__c, has a Masterdetail relationship with Opps ...
0 votes
0 answers
16 views

Lightning out App error in callback function when launch flow in aura application in visualforce page

I want to launch a flow in lightning runtime from visualforce page. And here's the document I'm referring to https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/...
0 votes
0 answers
48 views

Compare and merge duplicate records within a screen flow

I am building a flow to merge duplicate records. I am looking for a way to invoke the "Compare and Merge" button on the "Duplicate Record Set" object without having to send the ...
-1 votes
0 answers
23 views

Subscribe to a platform event via LWC from a list button url custom button

The LWC that I have subscribes to a Platform Event. This works well on a screen flow action (pop-up) or when it is just on a flexipage. However the same LWC doesn't seem to subscribe to this event ...
0 votes
0 answers
29 views

How to access all Screen flow variables in Omni-channel flow?

I am building an omni-channel flow that calls a screen-pop that I created. My screen-pop is meant to collect a bunch of custom variables that I will then use to auto-create a task in the omnichannel ...
0 votes
1 answer
29 views

Why is my screen flow not contextualizing to the current record?

I'm working on a very simple screen flow and I need your help... I have a contract object that has a tutor field, which refers to a contact record. On my contact page, I want my screen flow to include ...
  • 11
0 votes
1 answer
18 views

Lightning Component Override for NewCase button is not working

I would like to launch a Flow instead of the standard "NewCase" button to create a Case. I have followed some instructions to create a Lightning Aura Component to launch the Flow in a modal, ...
  • 351
0 votes
1 answer
59 views

Flow is going back to first screen after clicking FINISH button on screen component

I have a screen flow that checks for a decision and based on the decision it shows the respective screen. When I select an option, it properly navigates to the next screen. However when I click on ...
0 votes
1 answer
65 views

Script Error Closing LWC Modal Window when Flow Interview Finishes

I'm trying to use the new LWC modal component. Embedded in the LWC modal is a screenflow. The issue I'm facing is the finish behavior. How can I get the modal window to close when the flow interview ...
  • 1
0 votes
0 answers
32 views

Headless Quick Action

I am calling a lwc into screen Flow to show toast and then using that flow in a quick action but I don't want modal of quick action to pop up. This is my xml configuration <?xml version="1.0&...
0 votes
1 answer
50 views

Screen Flow - Configure Each Choice to get related Values

I am creating the Screen Flow with Resource type as Record Choice set. IN the Choice Label I need the Parent object value. Getting Invalid error. Created Record Choice set for contact object in the ...
0 votes
1 answer
41 views

Screen flow display sObjects and show them in a screen flow picklist

Iam trying to get the list of sObject(Account, Case etc.,) and display in the screen flow picklist field. For this i wrote the below method to get the List of Sobject. @InvocableMethod(label='Get ...
0 votes
1 answer
48 views

How to listen to value changes of a separate Flow screen component inside an LWC component

I have a screen flow with a custom LWC component and a Date field like so: The AG Grid Datatable v2 is my custom component and the Quote Expiry Date is the Date component. What I want to do is, every ...
0 votes
1 answer
32 views

How to get community baseURL using flow not apex in salesforce?

I want to get a community baseURL using flow in salesforce.
0 votes
0 answers
29 views

Passing propert type into lightning web component

I'm having some trouble building a custom Lightning Web Component for my screen flow. I want to pass in a generic sObject collection variable into the component, but I also need to know what type of ...
-1 votes
1 answer
80 views

Guest User unable to upload file from flow

I have a flow where the guest user can upload a file and attach it to a case. The flow works in our development environment, but not in testing or production. As a guest user if the file is uploaded I ...
-2 votes
1 answer
81 views

Contact lookup shows not result on screen flow on Community

I have created a screen flow to be used on the community website but the contact lookup field is not working. I tried all available suggestions on google and still no luck.
  • 5
-1 votes
1 answer
66 views

Before Save Record Triggered Flow Along with Screen Flow Not Working Together as Expected

Context So I've put together 2 flows: Flow 1: Screen Flow - Takes input from a User and creates an Account record Flow 2: Record Triggered Flow - is Triggered upon Account record creation, has some ...
  • 160
0 votes
0 answers
46 views

Search for record(s) in screen flow with autocomplete without context object

I'm looking to create a screenflow that would allow a user to search for a Custom "Employee" object based on some field on that object (could be name, could be another field on the object). ...
0 votes
1 answer
57 views

How to reload screen flow (hosted on a record page) when the record is updated?

Our screen flow, that lives on the record detail lightning page, contains an aura component that displays a progress indicator. This flow needs to be reloaded (must start from the first element) when ...
  • 302
0 votes
1 answer
18 views

Go to a salesforce page(related list or record page) from Flow using Radio button

I'd want to have two radio button on a screen flow. If I select one of these, I want to open a salesforce page(a record page or a related list of that record). Instead if a select the other, I want to ...
0 votes
1 answer
63 views

How to Increase the AURA Component Width while referred in a screen flow

I have a aura component which was being used as a Quick Action, but now am trying to use the same component in a screen flow by implementing lightning:availableForFlowScreens interface. In the flow ...
  • 1,521
-1 votes
1 answer
30 views

My accounts in drop down

How do we enable my accounts to be a pick list in accounts in lighting? I am assuming we need to add the option behind the scenes. Right now the account defaults on everyones to ALL ACCOUNTS.
0 votes
0 answers
358 views

Error when send email from Flow?

I create the screenflow that calling Send Email Action this flow will triggered from Action Button that I put on record page. when I activate this flow and test to sent an email from record page I got ...
  • 109
1 vote
1 answer
85 views

Override Related List's New button to open Screen Flow in a modal

I want to create a button on the related list which could open up a Screen flow as a modal.
  • 4,681
0 votes
0 answers
30 views

How to get Field Data of Selected Object From Field Definition Object In Screen Flow and Display Field Data?

I have Tried this SELECT DurableId,ValueTypeId,DeveloperName, EntityDefinitionId,QualifiedApiName,Label,DataType FROM FieldDefinition WHERE EntityDefinition.QualifiedApiName = 'Contact'
0 votes
0 answers
61 views

Need to Show Names of Related Files as Checkbox Group in Flow

I am creating a flow in which end users can select files to copy from one record to the other. I have been able to do this using ContentDocumentLink as the object for the record choice set, but I need ...
0 votes
0 answers
72 views

An unhandled fault has occurred in this flow - how "handle" getting a null record?

I have a screen flow where the user selects a pair of records, then the flow attempts to get a related record that may or may not exist and branches based on null/not null. I'm using "Choose ...
  • 326
3 votes
2 answers
71 views

Flows won't take a formula correctly

hope someone can help me understand what am I missing here. I have a pretty simple requierement. We have a flow that, among other things, creates a record for a custom object type ("Provider ...
0 votes
0 answers
53 views

Override 'New' Button with a flow for MOBILE APP

I want to launch a screen flow to create new records by overriding the standard 'New' button in Listview page. Launching the flow by its URL works wonderfully in PC, but unfortunately button doesn't ...
0 votes
1 answer
46 views

Screen flow for leads with no company field

I created a Screen flow to capture basic lead information (first name, last name, email). When I run the Debug, I get this error: Error Occurred: This error occurred when the flow tried to create ...
1 vote
0 answers
104 views

The footer of the screen flow has spaces around window

Why The footer of the screen flow has spaces around window? the screen flow runs from the button and does not wrapped to any lightning component when I investigated it through Dev tool, I noticed ...
0 votes
1 answer
271 views

How can i launch the Add Products pop-up from a flow after creating an Opportunity?

I've built a screen flow to create new opportunities and after saving i would like to be redirected to the Opportunity that i just created and the Add Products pop-up should also open. I was able to ...
  • 1
0 votes
1 answer
44 views

Lightning Universal Lookup Component doesn't work with healthcloud standart objects

I'm using Lightning Universal Lookup Component in a screen flow. It works with objects like Account, Contact etc. but doesn't work with ClinicalEncounter or other health cloud standart objects. Is ...
  • 45
0 votes
0 answers
17 views

How can use a custom label inside a Display Text component in visual screen for URL? [duplicate]

Within 1 visual flow, screen element, I want to display the following text: click here for the latest brochure The link will send the user to read a pdf file. However, this link is changing often, ...
  • 5,471
0 votes
1 answer
517 views

Override Screen flow's button actions

I'd like to know if we can override screen flow's buttons (Pause, Previous, Finish) to do something else, not what they are originally meant to do. I basically want to fire an apex method via those ...
0 votes
1 answer
118 views

Display List<String> from Apex class to Flow Screen Component [duplicate]

I have written a code which performs one particular automation. My objective is to display the output of type List string in the screen component of flow. When I try to create a new single record ...
0 votes
1 answer
42 views

Opportunity Quick Action is unable to display Opportnity Line Items using Screen Flow

I have an issue where I create a screen flow for the Opportunity object that would create one of 3 types Refund records base on a button click: a) Direct, b) Credit, and c) Duplicate. Direct Refund ...
1 vote
1 answer
164 views

Trouble accessing flow input values from LWC

I have an LWC in a screen flow whose purpose is to call out to an external api for address validation. It's simply a button that the user will click to initiate the validation callout. This LWC is ...
  • 13
-1 votes
2 answers
77 views

Screen flow to capture second element

Hi all I am new to screen flows. I have a requirement where I have to get the account of a contact of the logged in user and perform field update on the account object. I can get the current user in ...
  • 13
0 votes
1 answer
102 views

Lookup component having search and create ability in flow

Is there any way we can utilize the lookup component available inside the record page, where we have the ability to either search for a record or create a new record altogether, be available in a flow?...
0 votes
1 answer
33 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 ...
0 votes
0 answers
220 views

Single Flow Interview Sending Duplicate Email Alert

I have a screen flow on a custom Lightning Page that checks the status of a process and displays the next step. Importantly, it runs automatically when the screen is loaded (with no 'start' screen), ...
0 votes
1 answer
88 views

Variable not changing in screen component

I am trying to create a lwc button which changes a variable when clicked and it works but the problem is that the variable does not change while the screen is opened and it just changes whenever i ...
2 votes
1 answer
88 views

Lightning Web Component Address Input code

I would like to know if there is a way to get the full code of the Basic Input Address Web Lightning Component (without picklist, I just need to get the style template and use the text input fields ...
  • 35
0 votes
1 answer
545 views

How pass input variable from Flow to LWC [duplicate]

I have a input in a Flow. I need pass this variable to Flow (this flow will do some calculations according to the value of that input). I have tried to pass the recordId, and it works, but not the ...
  • 186