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
0answers
23 views

Unable to create notes for task object in Community, Invalid Cross Reference Key

I have a screen flow that takes some input from the users on case screen and creates a task on case and then creates a note on the task created in previous step. Issue is, when i am trying to do this ...
0
votes
1answer
16 views

Send Failure Email From ScreenFlow

I have been troubleshooting this for awhile. Not sure what I'm doing wrong. Pretty sure it's simple issue. Below is the screen shot. I'm just trying to send an Email from a Salesforce Screen Flow when ...
0
votes
0answers
41 views

Assign values to a screen variable from a flow variable

I have a flow where it has: Screen flow consisting of some inputs (text, picklist, etc...) Assignment to a new lead record variable (All input values are assigned to the respective fields of the ...
0
votes
0answers
44 views

Screen Flow error: INVALID_CROSS_REFERENCE_KEY when the Id is not null and correct

I have a screen flow to attach a file to a Account record and update few fields on the Account as shown below: The flow gives the below error when executing : "The flow tried to update these ...
0
votes
1answer
60 views

Cannot deploy flow, Getting error 'Screen component 'ComponentName' is missing a type mapping 'T'

I have created a flow screen component that work for multiple object. In the flow, I have created a collection variable. I have created an LWC component that uses the collection variable. When I try ...
0
votes
0answers
60 views

Skip the Wait element message “The flow interview is now waiting” in Flow

I used the wait element in my flow, it follows the screen where user adds some inputs including date/time and thats basically until when the flow is paused. My problem is that when I reach the wait ...
0
votes
0answers
15 views

Is it possible to create a search field in Flow Screen?

Is it possible to create a search field in Flow Screen where user can enter a value and get all the records pulled similar to that value in the same screen? I want to create something like this using ...
0
votes
0answers
28 views

Screen Flow launched via a Lightning Page

I have a screen flow launched from a lightning page and I need it to run the flow without sharing. This is available in Summer'20 Upgrade. I have set the settings as mentioned in this URL https://...
0
votes
0answers
41 views

Build flow for FSL

I am trying implement screen flow with Appointment Scheduling component. but can not find any information how to do it right except https://help.salesforce.com/articleView?id=ls_set_up_screens.htm&...
0
votes
0answers
108 views

issue in Previous Button Navigation in ScreenFlow

<template> <lightning-card> <lightning-input type="text" label="field1" name="field1" onchange={handleChange}></...
0
votes
0answers
8 views

class java.lang.String cannot be cast to class java.lang.Boolean error in ScreenFlow [duplicate]

We are getting below error in screen flow when we added picklists in lwc and added in screenflow. class java.lang.String cannot be cast to class java.lang.Boolean (java.lang.String and java.lang....
0
votes
0answers
36 views

NavigationMixin is not working in Screen Flow

We added below lwc component added on screen flow. and same component is added on record detail page . on screen flow it is not working. do we have limitation on screen flows? html <lightning-...
0
votes
0answers
12 views

Unable to display a custom screen flow inside a component

I have a screen flow with Record Detail Flow Component which I have emebedded into my component which doesn't display. In my cmp, I have: <aura:handler name="init" value="{!this}&...
2
votes
1answer
123 views

Launch Screenflow from Custom button on Home Page

Is there anyway to launch the screenflow from button on Home Page(lightning experience). We can directly add the flows on Home Page but our requirement is launch from a button which opens new window ...
1
vote
0answers
19 views

Flow Component Number Input Doesn't Display

I have a screen flow that has a number input field that simply does not display when I debug. There is no visual display logic around it (I have removed it) It's label is Quantity and it's API name ...
1
vote
0answers
20 views

Lightning Screen Flow: Can you control what happens when a user “Closes” the screen flow?

We have project that requires us to call an API in the middle of a screen flow and then call the same api at the end of the flow. The issue I'm concerned with is if a user closes the flow in the ...
0
votes
1answer
380 views

How to pass custom parameters to screen flow in public community?

Thanks for the help in advance. I'm passing a URL in an email. The URL sends the user to a public community flow page where a screen flow starts. This all works. I have a custom parameter in the ...
0
votes
1answer
81 views

Labels not showing on radio button inside a Flow (called by lightning component)

I encountered a most wierd behavior and can't explain it. I have a screen flow which I call from a lightning component, and on the screen of the flow the radio buttons labels are not displayed. the ...
0
votes
0answers
38 views

How to trigger 'tab press' key event on page load in flow inside visualforce page

I have a flow embedded inside visualforce page. On my flow, I want for each and every screen, the tab button should be autopressed on page load.To run the flow in lightning runtime, I have created a ...
0
votes
0answers
31 views

Issues with Spinner modal box size

I have created lightning component which calls to screen flow and added this component to my record page. Everything works just fine, but I have one issue: Inside the screen flow, when you click on '...
0
votes
0answers
26 views

Page rendrering with lightning component and flow

Iv'e built lightning component which calls a screen flow and put this component on my record page. Everything works as expected, but there's an issue - when i'm clicking 'Next' (on the screen flow), ...
0
votes
0answers
40 views

How to set the screen focus in flow in lightnign component

I have a screen flow that has some text fields. I would like the screen focus to be on the first field, so that user could start typing as soon as user lands on the page, instead of user bringing the ...
1
vote
0answers
26 views

Translation workbench and Screen Flow version

I'm working on translating the screen components of version 1 of my flow using translation workbench. When I save the flow as a new version the translations don't make it to the new one i.e. it ...
0
votes
1answer
326 views

Use Checkbox-Group to update multiple records?

I'm trying to figure out flows work with multi-select checkboxes. At this point I can only select 1 id from the list, despite the flow debug logs showing that I have selected 2. I'm aware of the ...
0
votes
1answer
43 views

Can you use Regular Expression to Conditionally display an Image Element in a Screen Flow?

I'm working on a screen flow for collecting payment information. I am currently validating card info based on the digits using REGEX, and would like to use the same formula to conditionally display a ...
0
votes
1answer
64 views

How to dynamically set multiple choices to a picklist of a Flow Screen using a resource of type 'Choice'

Is there any way of dynamically setting multiple choices to a picklist of a Flow Screen using a resource of type Choice? It seems a collection variable of type Choice cannot be created nor can it be ...
0
votes
1answer
80 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'...
1
vote
1answer
675 views

Limit field's pick list options on screen component in a flow

I am creating a flow to Submit a form in HR for processing and it has 14 required fields and 8 of those are picklists. One picklist has to only show 4 out of many options due to Record type ...
-2
votes
1answer
42 views

Lightning flows

How to call a screen flow from a button(quick action) in a lightning record page? I need to have screens in the flow and need the flow to be executed on the click of a button.But screen flows are not ...
1
vote
1answer
93 views

Can I reference a flow variable in a custom lighting component placed on a flow screen?

Is it possible to reference flow data in a custom lightning component placed on a flow screen? Basically I have a component that is executing methods that require data that is gathered earlier in the ...
0
votes
0answers
242 views

Custom Flow Navigation - Retaining previously entered data

I am trying to implement a custom navigation for my flow. I have three screens in the flow and each screen calls a separate Lightning component. Now I am using the navigateFlow("NEXT") in each ...
0
votes
2answers
107 views

Trigger a Flow from Quick Action SAVE

I need a Flow triggered when a new 'Placement__c' record is created using a Quick Action. We use Person Accounts and a custom object called 'Placements'. It's a one to many relationships, so one ...
1
vote
3answers
336 views

“lightning__RecordPage is not a flow related target” while saving a LWC that is used in a flow?

I'm trying to embed a LWC into a screen flow, but when I save the following meta-xml file, I get the "lightning__RecordPage is not a flow related target" error: <?xml version="1.0" encoding="UTF-8"...